Skip to main content

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


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

bp_libc_got-0.0.1-py3-none-any.whl (3.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page