zaksya

Mass WP?

Jun 21st, 2021
669
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. /**
  3. * Leaked Code
  4. */
  5. set_time_limit(0);
  6. function head() {
  7.   echo "\e[1;32;48m╔╦╗┌─┐┌─┐┌─┐  ╔═╗┬┌┐┌┌┬┐
  8. ║║║├─┤└─┐└─┐  ╠╣ ││││ ││
  9. ╩ ╩┴ ┴└─┘└─┘  ╚  ┴┘└┘─┴┘   \e[1;33;48mv.1.0\e[0m
  10. ====================================
  11. Author   : \e[0;33;48mUnknown45\e[0m
  12. Github   : \e[0;33;48mhttps://github/whoami-45\e[0m
  13. Web      : \e[0;33;48mhttps://exploits.site/\e[0m
  14. ====================================\n";
  15. }
  16.  
  17. system("clear");
  18. head();
  19. $url = readline("List Web : ");
  20. if (!file_exists($url)) {
  21.   die("File Not Found !\n");
  22. }
  23. $url = explode("\n", file_get_contents($url));
  24. $wordlist = readline("Path Wordlist : ");
  25. if (!file_exists($wordlist)) {
  26.   die("Wordlist Not Found !\n");
  27. }
  28. $wordlist = explode("\n", file_get_contents($wordlist));
  29. $timeout = readline("Connect Timeout (Default 10) : ");
  30. echo "\nLoading... ( ".count($url)." Sites ) ( ".count($wordlist)." Path )\n\n";
  31. foreach ($url as $web) {
  32.   foreach ($wordlist as $wl) {
  33.     $link = $web."/".$wl;
  34.     $link = str_replace("///", "/", $link);
  35.     $link = str_replace("//", "/", $link);
  36.     $link = str_replace("https:/", "https://", $link);
  37.     $link = str_replace("http:/", "http://", $link);
  38.     $ekse = shell_exec("curl -Lsk --ipv4 -A 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36' -o /dev/null -I -w '%{http_code}' '".$link."' --max-time ".$timeout."");
  39.     if ($ekse == "200") {
  40.       $cek = shell_exec("curl -Lsk --ipv4 -A 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36' '".$link."' --max-time ".$timeout." | grep -e 'login'");
  41.       if (!empty($cek)) {
  42.         echo "[\e[1;32;48mFound Login\e[0m] ".$link."\n";
  43.         file_put_contents("found_login.txt", $link."\n", FILE_APPEND);
  44.       } else {
  45.         echo "[\e[0;32;48mFound\e[0m] ".$link."\n";
  46.         file_put_contents("found.txt", $link."\n", FILE_APPEND);
  47.       }
  48.     } else {
  49.       echo "[\e[0;31;48mNot Found\e[0m] ".$link."\n";
  50.     }
  51.   }
  52. }
  53. ?>
RAW Paste Data