# gdb -q -n -x moreevil.py
# gdb -q -n -x moreevil.py
# gdb moreevil
(gdb) set environment LD_PRELOAD=lib/hook64.so
(gdb) break *0x4021ee
(gdb) run
1234567890123456789
(gdb) x/152xb 0x6030c8
# ipython
In [1]: key = [0x19, 0x1e, 0x06, 0x51, 0x1d, 0x1e, 0x06, 0x51, 0x12, 0x10, 0x1f, 0x51, 0x08, 0x1e, 0x04, 0x51, 0x16, 0x1e, 0x4e]
In [2]: password = ''
In [3]: for byte in key:
password += chr(byte ^ ord('q'))
In [4]: password
Out[4]:
No comments:
Post a Comment