Skip to content

Commit f3e9c12

Browse files
Update DDos.py
1 parent 5facefd commit f3e9c12

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

DDos.py

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,13 @@ def menu():
5353
victim_ip = socket.gethostbyname(web)
5454
##################################################
5555
UDP_PORT = port
56-
time.sleep(2)
57-
MESSAGE = "01010101001010101101010"
5856
time.sleep(1)
5957
os.system("clear")
60-
print color.red + "=============================================================================\n" + color.End
61-
print"Target IP:", victim_ip
58+
print(color.red + "=============================================================================\n" + color.End)
59+
print("Target IP:", victim_ip)
6260
time.sleep(1)
63-
print"\nTarget port:", UDP_PORT
64-
color.red + "=============================================================================\n" + color.End
61+
print("\nTarget port:", UDP_PORT)
62+
color.red + "=============================================================================\n" + color.End)
6563
time.sleep(3)
6664
def run(k):
6765
while True:
@@ -76,11 +74,11 @@ def run(k):
7674
try:
7775
menu()
7876
except EOFError:
79-
print "\nCtrl + D"
80-
print "\nExiting..."
77+
print("\nCtrl + D")
78+
print("\nExiting...")
8179
sys.exit()
8280
except KeyboardInterrupt:
83-
print "\nCtrl + C"
84-
print "\nExiting..."
81+
print("\nCtrl + C")
82+
print("\nExiting...")
8583
sys.exit()
8684
# Thanks For using :)

0 commit comments

Comments
 (0)