Advertisement
Moslem1337

Mass Notify Zone-H

Feb 15th, 2020
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. <?php
  2.  
  3. error_reporting(0);
  4. if(!file_exists($argv[1])){
  5. die('
  6. File Not Found
  7. usage: php zone-h.php sites.txt
  8.  
  9. ');
  10. }
  11.  
  12. $a=file_get_contents($argv[1]);
  13. $ex=explode("\n",$a);
  14. $c=file($argv[1]);
  15. echo"Total target : ".count($c)."\n\n";
  16. $crot=fopen("zone-h.html","a");
  17. foreach($c as $sites){
  18. echo "-> Zone-h: $sites";
  19. $zh = "Moslem";
  20. $ch8 = curl_init ("http://www.zone-h.com/notify/single");
  21. curl_setopt ($ch8, CURLOPT_RETURNTRANSFER, 1);
  22. curl_setopt ($ch8, CURLOPT_POST, 1);
  23. curl_setopt ($ch8, CURLOPT_POSTFIELDS, "defacer=$zh&domain1=$sites&hackmode=1&reason=1&submit=Send");
  24.  
  25. if (preg_match ("/color=\"red\">OK<\/font><\/li>/i", curl_exec ($ch8))){
  26. echo " Ok \n\n";
  27. fwrite($crot,"$sites<br>");
  28. }else{
  29. echo " No\n\n";
  30.  
  31. }
  32. }
  33. print "
  34. zone-h saved in zone-h.html
  35. ";
  36. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement