import struct import string import sys ret2esp = struct.pack('