mirror of
https://github.com/rizinorg/rz-pipe.git
synced 2026-11-08 09:29:34 -10:00
10 lines
195 B
Python
10 lines
195 B
Python
#!/usr/bin/env python3
|
|
|
|
import rzpipe
|
|
|
|
rz = rzpipe.open("/bin/ls", ["-nd"])
|
|
for a in range(1, 10):
|
|
regs = rz.cmdj("drj")
|
|
print("0x%x 0x%x" % (regs["rip"], regs["rsp"]))
|
|
rz.cmd("ds")
|