new_contents: # Author: Chris Duffy
  # Date: May 2015
  # Purpose: An sample exploit for testing UDP services
  import sys, socket, strut
  rhost = ""
  lhost = ""
  rport = 
  fill ="A"*####
  eip = struct.pack('<I',0x########)
  offset = "\x90"*##
  available_shellcode_space = ###
  shell =() #Code to insert
  # NOPs to fill the remaining space
  exploit = fill + eip + offset + shell
  client = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
  client.sendto(exploit, (rhost, rport))
  
subject: Create tcp_exploit.py