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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pwntools_dbg_r2-0.1.6-py2-none-any.whl.
File metadata
- Download URL: pwntools_dbg_r2-0.1.6-py2-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.15rc1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f625dbfef49de83b259294d91553c229dab2ddc64af69b43b77ea19816229cb4
|
|
| MD5 |
bf6a2fa24abc30d966955f961d47b6c4
|
|
| BLAKE2b-256 |
82398d8bdc1b6bcd73b439dbe9fef462a2c2c629f6c8b9a78084b9c42906d418
|