Advertisement
AZZATSSINS_CYBERSERK

Admin Page & Shell Backdoor Finder

Sep 20th, 2016
1,913
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 4.52 KB | None | 0 0
  1. <?php
  2. @session_start();
  3. @error_reporting(0);
  4. @ini_set('error_log',NULL);
  5. @ini_set('log_errors',0);
  6. @ini_set('display_errors', 0);
  7. @set_time_limit(0);
  8. /*
  9. Name app : Admin page & Backdoor Scanner
  10. Author / Editor Script : AZZATSSINS CYBERSERKERS
  11. */
  12. echo'<html>
  13. <title>Backdoor & Admin Page Finder</title>
  14. <body bgcolor=silver><center>
  15. <u><i><b><h1>&copy; AZZATSSINS CYBERSERKERS</h1>
  16. </b></i></u><br>
  17. <form method="POST">
  18. <font size="3" face="Orbitron" color="tan">URL <input type ="text" name="site" />
  19. <font size="3" face="Orbitron" color="tan">Search : <select name="search">
  20.                <option value="xhell">Backdoor</option>
  21.                <option value="php">Admin Page</option>
  22. <input type = "submit" name="submit" value="Find" />
  23. </form><br><br>
  24.  
  25. ';
  26. if(isset($_POST['submit']) && !empty($_POST['site']))
  27. {
  28.    
  29.     $url = $_POST['site'];
  30.     $search = $_POST['search'];
  31.    
  32.             switch($search)
  33.             {
  34.                
  35.                 case 'php':
  36.                     s_php($url);
  37.                     break;
  38.                
  39.                 case 'xhell':
  40.                     s_xhell($url);
  41.                     break;
  42.                
  43.                 default:
  44.                     echo "<br>Please select a item to search ... ";
  45.                     break;
  46.                
  47.                
  48.             }
  49.    
  50.    
  51. }elseif(isset($_POST['submit']) && empty($_POST['site']))
  52. {
  53.   echo "Please enter the URL currently and try again ...";  
  54. }
  55.  
  56.  
  57. function s_php($get_url)
  58. {
  59.        
  60.         $pages = array('/redaktur','/webadmin','/adminweb','/web@admin','/operator','/webmaster','/web@master','/master@web','/administrator','/admin_area','/login_area','/admin','/sign_in','/login','/superuser','/log-in','/bb-admin','/wp-login.php','/admin_login','/moderator','/po-admin','/management','/manage','/phpmyadmin','/phpMyAdmin','/PMA','/phpmysql','/pmadmin','/user');
  61.         find_admin($pages,$get_url);
  62. }
  63.  
  64.  
  65. function s_xhell($get_url)
  66. {
  67.         $pages = array('/symlink','/sym','/dm1sym','/asu.txt','/DecW.txt','/idx_config','/idx_cgi','/wso.php','/idx.php','/dm.php','/DM5.php','/1n73ct10n.php','/shell.php','/r00t.php','/idb.php','/idb.phtml','/sabun.php','/r00t.pl','/z.php','/.php','/sh3ll.php','/xploit.php','/sa.php','/-.php','/_.php','/&.php','/$.php','/indoxploit.php','/indoXploit.php','/jembutmu.php','/jembutku.php','/indo.php','/upload.php?option=upload','/simple.php','/k3ll3d.php','/shellx.php','/kill.php','/whmkiller.php','/tools.php','/indexx.php','/shell.phtml','/shell.php.jpg','/unix.php','/b374k.php','/irdb.php','/mig3r.php','/cp.php','/cpanel.php','/indeshell.php','/cmd.php','/upl.php','/shell.txt','/unknown.txt','/root.txt','/haxor.img','/haxor.ht','/anon.txt','/c99.php','/wp-content/plugins/akismet/akismet.php','/wp-content/plugins/akismet/index.php','/d.php','/hmm.php','/include.php','/up.php','/gaza.php','/dz1.php','/priv8.php','/andela.php','/a.php','/css.php' );
  68.         find_admin($pages,$get_url);
  69. }
  70.  
  71. function find_admin($pages_list,$url)
  72. {
  73.            
  74.               set_time_limit(0);
  75.               $find = false;
  76.              foreach($pages_list as $key => $value)
  77.               {
  78.                        
  79.                         $c_start = curl_init();
  80.                         curl_setopt($c_start,CURLOPT_AUTOREFERER,1);
  81.                         curl_setopt($c_start, CURLOPT_RETURNTRANSFER, 1);
  82.                         curl_setopt($c_start, CURLOPT_HEADER, 1);
  83.                         curl_setopt($c_start, CURLOPT_URL, $url.$value);
  84.                         $result = curl_exec($c_start);
  85.                        
  86.                         curl_close($c_start);
  87.                      
  88.              
  89.                        
  90.                  
  91.                            if (preg_match("/200 OK/", $result))
  92.                              {
  93.                                        echo "<br /> <h3> Found :<a href='".$url.$value."'>".url.$value."</a> </h3> <br />";
  94.                                      $find = true ;
  95.                                        
  96.                              }
  97.                              
  98.                              
  99.  
  100.                              
  101.                              
  102.                  
  103.               }
  104.              
  105.                                         if(!$find)
  106.                                         {
  107.                                          echo "<h3>Sorry i cant find it </h3>";
  108.                                       }
  109.  }                                      
  110. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement