Advertisement
snip3r_ir

Mass Admin Login Page Checker (ali ahmady )

Feb 1st, 2014
2,148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.98 KB | None | 0 0
  1. <html>
  2.     <head><title>admin finder shell</title>
  3.     <link rel="shortcut icon" href='http://www.gmkfreelogos.com/logos/A/img/Ali_The_Movie.gif' />
  4.     </head>
  5.     <body bgcolor="#34282C">
  6.         <center>
  7.         <p><font color="#4CC417" size="5">Mass Admin Page Checker</font></p>
  8.         <p><img src="http://images2.wikia.nocookie.net/__cb20120204201432/plazmabursttwo/images/0/0e/Admin_logo_by_lucifercho-d39lpuk.png" height="80" width="110"></p>
  9.         <p></p>
  10.         <p><font color="#4CC417"> enter domains here </font></p>
  11.         <form method="post" action="">
  12.         <textarea style="resize:none;height:50%;width:30%" value="" name="domain">add ur admins to admins.txt file and put both files into same directory</textarea>
  13.         <p></p>
  14.         <p><font color="#4CC417"> C0d3d by Ali Ahmady</font></p>
  15.         <p></p>
  16.         <input type="submit" name="submit" value="Go!"/>
  17.         </form>
  18.        
  19. <?php
  20. if(isset($_POST['submit'])){
  21.  
  22. // getting target list
  23. $target = explode("\n",$_POST['domain']);
  24. echo "<table border=\"1\" align=\"center\" bgcolor=\"#FFA500\">";
  25. foreach($target as $uri)
  26. {
  27. //remove space from the eol
  28. //$uri1=substr($uri,0,-1);
  29. $admins = file_get_contents("admins.txt");
  30. $admin = explode("\n",$admins);
  31. foreach ($admin as $ad)
  32. {
  33.  
  34. $url = "http://".trim($uri)."/".$ad;
  35.  
  36. $ch = curl_init($url);  
  37.         curl_setopt($ch, CURLOPT_TIMEOUT, 5);  
  38.         curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5);  
  39.         curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);  
  40.         $data = curl_exec($ch);  
  41.         $httpcode = curl_getinfo($ch, CURLINFO_HTTP_CODE);  
  42.     ini_set('max_execution_time', 81123548969412);
  43.         curl_close($ch);
  44.    
  45.        
  46.         if($httpcode >= 200 && $httpcode <= 302)
  47.         {
  48.             echo "<tr>";
  49.             echo "</p><font size=\"3\" color=\"#E5E4E2\">";
  50.             echo "<td align=\"left\"><a href=$url  style=\"color: #CC0000\">$url</a></td>";
  51.             echo "</font></p>";
  52.             echo "</tr>";
  53.             flush();ob_flush();
  54.         }else
  55.         {
  56.             echo "";
  57.             flush();ob_flush();
  58.         }
  59.    
  60.    
  61. }
  62. }
  63. echo "</table>";
  64. }
  65. ?>
  66.        
  67.         </center>
  68.        
  69.     </body>
  70. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement