Advertisement
ecchiexploit

Mass Mirror zone-hack.org [CLI]

Nov 27th, 2020 (edited)
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.15 KB | None | 0 0
  1. <?php
  2. define("notfound","\e[31m");
  3. define("success","\e[35m");
  4. define("onhold","\e[32m");
  5. function mirror($nick,$team,$site){
  6.     $ch = curl_init();
  7.     curl_setopt($ch, CURLOPT_URL, "http://zone-hack.org/notify.php");
  8.     curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  9.     curl_setopt($ch, CURLOPT_POSTFIELDS, "defacer=$nick&team=$team&vulntype=0&reason=0&urlb=$site&submit=Notify");
  10.     curl_setopt($ch, CURLOPT_POST, 1);
  11.     $result = curl_exec($ch);
  12.     curl_close($ch);
  13.     return $result;
  14. }
  15. $nick = readline("Hacker Nick : ");
  16. $team = readline("Team : ");
  17. $site = file_get_contents(readline("List Site (list.txt): ")) or die ("File Not Found");
  18. $exp = explode("\n", $site);
  19. foreach ($exp as $key) {
  20.     $mirror = mirror($nick,$team,$key);
  21.     if (preg_match("/<div class=\"error\">(.*)<br>Mirrored onhold/", $mirror)) {
  22.         echo onhold."Success Mirror Onhold : $key\n";
  23.     }
  24.     else if (preg_match("/<div class=\"error\">(.*)<br>Domain Not Active/", $mirror)) {
  25.         echo onhold."Success Mirror Onhold : $key\n";
  26.     }
  27.     else if (preg_match("/<div class=\"success\">(.*)/", $mirror)) {
  28.         echo success."Sucess Mirror : $key\n";
  29.     }
  30.     else {
  31.         echo notfound."Failed Mirror : $key\n";
  32.     }
  33. }
  34. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement