bp-libc-got


Namebp-libc-got JSON
Version 0.0.1 PyPI version JSON
download
home_pagehttps://github.com/h1ghl1kh7/bp-libc-got
SummaryBreakpoint at the address in the .got.plt section of the libraries loaded in the target process
upload_time2024-08-02 16:10:22
maintainerNone
docs_urlNone
authorNone
requires_python>=3.8
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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)
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/h1ghl1kh7/bp-libc-got",
    "name": "bp-libc-got",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": null,
    "author": null,
    "author_email": null,
    "download_url": null,
    "platform": null,
    "description": "# bp_libc_got\n\nSet Breakpoint at the address in the .got.plt section of the libraries loaded in the target process.\n\n# Features\n\nlibc arg is optional, if not specified, the script will attempt to find the libc paths in the target process. (default : None)\n\nflag arg is optional too, if True : make breakpoints work after any preceding breakpoint is hit. / False : make breakpoints work immediately. (default : False)\n\nit returns 1 if successful, 0 if not.\n\n# Usage\n\n## In a pwntools script\n\n```python\nfrom pwn import *\nimport bp_libc_got\n\np = process(\"chal\")\n_, gdb_api = gdb.attach(p, gdbscript=\"b *vuln\", api=True)\n\nbp_libc_got.bp_got(gdb_api = gdb_api, libc = \"libc.so.6\", flag = True)\n```\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Breakpoint at the address in the .got.plt section of the libraries loaded in the target process",
    "version": "0.0.1",
    "project_urls": {
        "Homepage": "https://github.com/h1ghl1kh7/bp-libc-got"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "fc240a199f9f9f1bb482940de89feacc9d3a7d9fba68f827334263de9a138e92",
                "md5": "64cc9b722e02f61e500f81ecf9de58e6",
                "sha256": "d2cbc315ed3d6a77b834b55a8034ab579dad3dcbe7c083aefdc5933720011c91"
            },
            "downloads": -1,
            "filename": "bp_libc_got-0.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "64cc9b722e02f61e500f81ecf9de58e6",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 3594,
            "upload_time": "2024-08-02T16:10:22",
            "upload_time_iso_8601": "2024-08-02T16:10:22.642806Z",
            "url": "https://files.pythonhosted.org/packages/fc/24/0a199f9f9f1bb482940de89feacc9d3a7d9fba68f827334263de9a138e92/bp_libc_got-0.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-02 16:10:22",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "h1ghl1kh7",
    "github_project": "bp-libc-got",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "bp-libc-got"
}
        
Elapsed time: 0.51171s