Metadata-Version: 2.1
Name: bp_libc_got
Version: 0.0.1
Summary: Breakpoint at the address in the .got.plt section of the libraries loaded in the target process
Home-page: https://github.com/h1ghl1kh7/bp-libc-got
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE

# 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

```python
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)
```
