Advertisement
MouseSec

Zone-H Mass Poster

Apr 2nd, 2019
322
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.97 KB | None | 0 0
  1. <?php
  2. ########################################
  3. # usage php file.php list.txt name     #
  4. # Web: terabithia.me | Skype: itmos001 #
  5. ########################################
  6. error_reporting(0);
  7. function curl($post) {
  8.     $ch = curl_init();
  9.     curl_setopt($ch, CURLOPT_URL, "http://zone-h.org/notify/single");
  10.     curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36");
  11.     curl_setopt($ch, CURLOPT_POST, 1);
  12.     curl_setopt($ch, CURLOPT_POSTFIELDS, $post);
  13.     curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  14.     $exec = curl_exec($ch);
  15.     return $exec;
  16. }
  17.  
  18. $os = strtolower(substr(PHP_OS,0, 5));
  19. if($os == "linux") {
  20.     $cl = "\e[0m";
  21.     $light_cyan = "\e[1;36m";
  22.     $light_green = "\e[1;32m";
  23.     $light_red = "\e[1;31m";
  24.     $light_purple = "\e[1;35m";
  25.     $yellow = "\e[1;33m";
  26.     $green = "\e[0;32m";
  27.     $red = "\e[0;31m";
  28.     $blue = "\e[0;34m";
  29. }
  30.  
  31. print "$light_green __  __                      ____            
  32. |  \/  | ___  _   _ ___  ___/ ___|  ___  ___
  33. | |\/| |/ _ \| | | / __|/ _ \___ \ / _ \/ __|
  34. | |  | | (_) | |_| \__ \  __/___) |  __/ (__
  35. |_|  |_|\___/ \__,_|___/\___|____/ \___|\___|
  36.  
  37.            Zone-H Mass Poster $cl
  38.  
  39. ";
  40.  
  41. if(is_file($argv[1])) {
  42.     $file = file($argv[1]);
  43.     $notifier = $argv[2];
  44.     $angka = 1;
  45.     if(!empty($argv[2])) {
  46.         foreach ($file as $list) {
  47.             $domain = trim($list);
  48.             $post = array("defacer" => $notifier, "domain1" => $domain, "hackmode" => 17, "reason" => 7);
  49.             $submit = curl($post);
  50.             if(preg_match("/Domain has been defaced/", $submit)) {
  51.                 print $light_red."[+] $domain ERROR!\n".$cl;
  52.             } else {
  53.                 print $light_cyan."[+] $domain SUCCESS!\n".$cl;
  54.                 $total = $angka++;
  55.             }
  56.         }
  57.         print $yellow."\n[~] New mirror: ".$total."\n".$cl;
  58.         print $yellow."[~] Notifier archive: http://zone-h.org/archive/notifier=".$notifier."\n\n".$cl;
  59.     } else {
  60.         print $red."[~] Usage php file.php list.txt name\n\n".$cl;
  61.     }
  62. } else {
  63.     print $red."[~] No list found!\n\n".$cl;
  64. }
  65. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement