Advertisement
mheezand

Zone-H Mass Poster By War0k

Jan 2nd, 2015
227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 1.52 KB | None | 0 0
  1. #!/usr/bin/perl
  2. print "\t\t########################################################\n\n";
  3. print "\t\t#              Zone-H.org Miror iskorpitx              #\n\n";
  4. print "\t\t########################################################\n\n";
  5. if(!@ARGV[1]){
  6. print "\t\t\n";
  7. print "\t\tKullanim Sekli: perl zone.pl <list_site.txt> <defacer>\n\n";
  8. exit;
  9.  
  10. }
  11. $arq = @ARGV[0];
  12. $grupo = @ARGV[1];
  13. chomp $grupo;
  14. open(a,"<$arq");
  15. @site = <a>;
  16. close(a);
  17. $b = scalar(@site);
  18. for($a=0;$a<=$b;$a++)
  19. {chomp $site[$a];
  20. if($site[$a] =~ /http/) { substr($site[$a], 0, 7) =""; }
  21. print "[+] GönderiLdi $site[$a]\n";
  22. use IO::Socket::INET;
  23. $sock = IO::Socket::INET->new(PeerAddr => "www.zone-h.org", PeerPort => 80, Proto => "tcp") or next;
  24. print $sock "POST /component/option,com_notify/Itemid,89/task,single/ HTTP/1.0\r\n";
  25. print $sock "Accept: */*\r\n";
  26. print $sock "Referer: http://www.zone-h.org/component/option,com_notify/Itemid,89/task,single/\r\n";
  27. print $sock "Accept-Language: pt-br\r\n";
  28. print $sock "Content-Type: application/x-www-form-urlencoded\r\n";
  29. print $sock "Connection: Keep-Alive\r\n";
  30. print $sock "User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)\r\n";
  31. print $sock "Host: www.zone-h.org\r\n";
  32. $length=length("defacer=$grupo&domain=http%3A%2F%2F$site[$a]&method=22&reason=5&option=com_notify");
  33. print $sock "Content-Length: $length\r\n";
  34. print $sock "Pragma: no-cache\r\n";
  35. print $sock "\r\n";
  36. print $sock "defacer=$grupo&domain=http%3A%2F%2F$site[$a]&method=22&reason=5&option=com_notify\r\n";
  37. close($sock);
  38. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement