Breakpoint at the address in the .got.plt section of the libraries loaded in the target process
Project description
bp_libc_got
Set Breakpoint at the address in the .got.plt section of the libraries loaded in the target process.
Features
libc arg is optional, if not specified, the script will attempt to find the libc paths in the target process. (default : None)
flag arg is optional too, if True : make breakpoints work after any preceding breakpoint is hit. / False : make breakpoints work immediately. (default : False)
it returns 1 if successful, 0 if not.
Usage
In a pwntools script
from pwn import *
import bp_libc_got
p = process("chal")
_, gdb_api = gdb.attach(p, gdbscript="b *vuln", api=True)
bp_libc_got.bp_got(gdb_api = gdb_api, libc = "libc.so.6", flag = True)
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
File details
Details for the file bp_libc_got-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: bp_libc_got-0.0.1-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2cbc315ed3d6a77b834b55a8034ab579dad3dcbe7c083aefdc5933720011c91 |
|
MD5 | 64cc9b722e02f61e500f81ecf9de58e6 |
|
BLAKE2b-256 | fc240a199f9f9f1bb482940de89feacc9d3a7d9fba68f827334263de9a138e92 |