Deal with bad characters easily during exploit writing with badchars.
Project description
badbyte
Deal with bad characters easily during exploit writing with badchars.
Table of Contents
↑Instalation
using pip:
pip3 install badbyte
or from repo:
git clone git@github.com:C3l1n/badbyte.git
cd badbyte
pip3 install .
↑Usage
You can always use:
badbyte --help
↑Generate payload to check all characters
badbyte g --bad "3d 26 25 0d" --pre START --post STOP
use:
- --bad to supply hexascii values of bad characters
- --pre to set string for marking start point (or leave default)
- --post to set string for marking stop point (or leave default)
Then use payload in your exploit and fire it.
↑Analyze memory dumped after trigger
Copy hexascii from memory dump of your favourite debugger i.e. windbg:
remember to skip addresses and ascii representation. I use vim and column select or visual studio code and alt+shift select.
Fire badbyte to analyze output:
badbyte p -c --pre START --post STOP
↑Programatically use
Documentation not made (feel free to read code) but you can find in example/programatically_generate_payload.py example of payload generation in exploit.
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 Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file badbyte-0.1.1.tar.gz.
File metadata
- Download URL: badbyte-0.1.1.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
54876fef534b4898073c69ac03e49baf777eeeed12b8be1ba5eb2de2de0ce09e
|
|
| MD5 |
22c6caebd136548b90d62d427b972a94
|
|
| BLAKE2b-256 |
487969ced19ed61e1c981570c326bad157dfd54be7461c198f236b6a4b5396f8
|
File details
Details for the file badbyte-0.1.1-py3-none-any.whl.
File metadata
- Download URL: badbyte-0.1.1-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bc19b443383868e68d9008944d3cb5450f93528ca8c865921a88f06015defbaa
|
|
| MD5 |
946284e1ea6bc7136d6994f54e0fdce6
|
|
| BLAKE2b-256 |
ea4013d3a48120b1f70b53a8b2fd098467dc941aafba219ad9b5d634dce973d3
|