Last active
December 12, 2019 10:06
-
-
Save Antonin-Deniau/cd4aeeb289c9585b3d48154eb27611b2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#unicorn quiling z3 r2pipe angr claripy kaitai frida lief | |
import r2pipe | |
r2 = r2pipe.open("./ch12", [ | |
"-d", | |
"-R", "stdin=./input", # cat > input | |
"-R", "stdout=./output", # while true; do cat input; done; | |
]) | |
result_1 = 0x805637a | |
r2.cmd("db 0x{:08X}".format(result_1)) | |
for i in range(8000): | |
r2.cmd("dc") | |
#ptr = r2.cmdj("arj~{ebx}") | |
print(r2.cmdj("arj~{eax}")) | |
#print(r2.cmdj("s {}; pxj 1".format(ptr))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment