Package to enable debugging with Radare2 in pwntools
Project description
pwntools-dbg-r2
A pip package that lets pwntools use r2 as a debugger
Install
pip install pwntools-dbg-r2
How to use
New instance everytime
from pwn import *
from r2dbg import *
p = r2dbg('/bin/ls')
...
Existing r2 instance
- Run
. `!r2-session <port>`
inside the r2 instance - Specify r2port when debugging:
from pwn import *
from r2dbg import *
p = r2dbg('/bin/ls', r2port=<port>)
...
Options
Same options as pwnlib.gdb.debug
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for pwntools_dbg_r2-0.1.6-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f625dbfef49de83b259294d91553c229dab2ddc64af69b43b77ea19816229cb4 |
|
MD5 | bf6a2fa24abc30d966955f961d47b6c4 |
|
BLAKE2b-256 | 82398d8bdc1b6bcd73b439dbe9fef462a2c2c629f6c8b9a78084b9c42906d418 |