Advertisement
Muhammad_Bilal

Zone-h.org Mass Deface Poster Perl Script

Feb 6th, 2014
453
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 1.98 KB | None | 0 0
  1. Zone-h.org Mass Deface Poster
  2.  
  3.  
  4. __  __      _       _ _                    ___                  
  5. \ \/ /_ __ | | ___ (_) |_ ___ _ __ ___    / __\ __ _____      __
  6.  \  /| '_ \| |/ _ \| | __/ _ \ '__/ __|  / / | '__/ _ \ \ /\ / /
  7.  /  \| |_) | | (_) | | ||  __/ |  \__ \ / /__| | |  __/\ V  V /
  8. /_/\_\ .__/|_|\___/|_|\__\___|_|  |___/ \____/_|  \___| \_/\_/  
  9.      |_|    
  10.  
  11.  
  12. #!/usr/bin/perl
  13.  
  14. print "\t\t########################################################\n\n";
  15. print "\t\t#            Zone-h.org Mass Deface            #\n\n";
  16. print "\t\t########################################################\n\n";
  17.  
  18. if(!@ARGV[1]){
  19. print "\t\tthx thehacker for this perl code...\n\n";
  20. print "\t\tmy msn D3nGeR [at] HotmaiL [dot] CoM\n\n";
  21. print "\t\tHow To Use: perl zone.pl <Site list> <Ur Defacer Name>\n\n";
  22. exit;
  23. }
  24. $arq = @ARGV[0];
  25. $grupo = @ARGV[1];
  26. chomp $grupo;
  27. open(a,"<$arq");
  28. @site = <a>;
  29. close(a);
  30. $b = scalar(@site);
  31. for($a=0;$a<=$b;$a++)
  32. {chomp $site[$a];
  33. if($site[$a] =~ /http/) { substr($site[$a], 0, 7) =""; }
  34. print "[+] Postalandi $site[$a]\n";
  35. use IO::Socket::INET;
  36. $sock = IO::Socket::INET->new(PeerAddr => "www.zone-h.org", PeerPort => 80, Proto => "tcp") or next;
  37. print $sock "POST /component/option,com_notify/Itemid,89/task,single/ HTTP/1.0\r\n";
  38. print $sock "Accept: */*\r\n";
  39. print $sock "Referer: http://www.zone-h.org/component/option,com_notify/Itemid,89/task,single/\r\n";
  40. print $sock "Accept-Language: pt-br\r\n";
  41. print $sock "Content-Type: application/x-www-form-urlencoded\r\n";
  42. print $sock "Connection: Keep-Alive\r\n";
  43. print $sock "User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)\r\n";
  44. print $sock "Host: www.zone-h.org\r\n";
  45. $length=length("defacer=$grupo&domain=http%3A%2F%2F$site[$a]&method=22&reason=5&option=com_notify");
  46. print $sock "Content-Length: $length\r\n";
  47. print $sock "Pragma: no-cache\r\n";
  48. print $sock "\r\n";
  49. print $sock "defacer=$grupo&domain=http%3A%2F%2F$site[$a]&method=22&reason=5&option=com_notify\r\n";
  50. close($sock);
  51. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement