Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head><title>admin finder shell</title>
- <link rel="shortcut icon" href='http://www.gmkfreelogos.com/logos/A/img/Ali_The_Movie.gif' />
- </head>
- <body bgcolor="#34282C">
- <center>
- <p><font color="#4CC417" size="5">Mass Admin Page Checker</font></p>
- <p><img src="http://images2.wikia.nocookie.net/__cb20120204201432/plazmabursttwo/images/0/0e/Admin_logo_by_lucifercho-d39lpuk.png" height="80" width="110"></p>
- <p></p>
- <p><font color="#4CC417"> enter domains here </font></p>
- <form method="post" action="">
- <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>
- <p></p>
- <p><font color="#4CC417"> C0d3d by Ali Ahmady</font></p>
- <p></p>
- <input type="submit" name="submit" value="Go!"/>
- </form>
- <?php
- if(isset($_POST['submit'])){
- // getting target list
- $target = explode("\n",$_POST['domain']);
- echo "<table border=\"1\" align=\"center\" bgcolor=\"#FFA500\">";
- foreach($target as $uri)
- {
- //remove space from the eol
- //$uri1=substr($uri,0,-1);
- $admins = file_get_contents("admins.txt");
- $admin = explode("\n",$admins);
- foreach ($admin as $ad)
- {
- $url = "http://".trim($uri)."/".$ad;
- $ch = curl_init($url);
- curl_setopt($ch, CURLOPT_TIMEOUT, 5);
- curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
- $data = curl_exec($ch);
- $httpcode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
- ini_set('max_execution_time', 81123548969412);
- curl_close($ch);
- if($httpcode >= 200 && $httpcode <= 302)
- {
- echo "<tr>";
- echo "</p><font size=\"3\" color=\"#E5E4E2\">";
- echo "<td align=\"left\"><a href=$url style=\"color: #CC0000\">$url</a></td>";
- echo "</font></p>";
- echo "</tr>";
- flush();ob_flush();
- }else
- {
- echo "";
- flush();ob_flush();
- }
- }
- }
- echo "</table>";
- }
- ?>
- </center>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement