https://github.com/vasco-jofra/prop
My take on a rop chain generator
https://github.com/vasco-jofra/prop
python rop
Last synced: about 1 year ago
JSON representation
My take on a rop chain generator
- Host: GitHub
- URL: https://github.com/vasco-jofra/prop
- Owner: Vasco-jofra
- Created: 2018-02-25T21:05:17.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-08-11T13:45:44.000Z (almost 6 years ago)
- Last Synced: 2025-06-03T23:49:28.718Z (about 1 year ago)
- Topics: python, rop
- Language: Python
- Homepage: https://vasco-jofra.github.io/tools/prop
- Size: 92.8 KB
- Stars: 8
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# prop
A simple rop gadget collector.
# Install
`pip install -e . --user`
# Usage
```
usage: prop [-h] [-d DEPTH] [-t] [-c] [-p] [-m MAX_ADDRS_PER_GADGET] [-s] binary_path
positional arguments:
binary_path The binary path of the file to be analyzed
optional arguments:
-h, --help show this help message and exit
-d DEPTH, --depth DEPTH Gadget search depth (default=10)
-t, --text_gadgets output gadgets in text format (default)
-c, --code output interesting gadgets found as python functions
-p, --python_gadgets output gadgets as a python dictionary
-s, --silent no gadgets output, just some info
-m MAX_ADDRS_PER_GADGET, --max_addrs_per_gadget MAX_ADDRS_PER_GADGET
the maximum number of addresses that are printed per
gadget (default=3)
```
# Examples
* `prop -h`
* `prop /bin/ls`
* `prop --python_gadgets /bin/ls`
* `prop --silent /bin/ls`
* `prop --code /bin/ls`