I got tired of downloading the whole PwnTools suite when I only use the cyclic functionality. This is meant to just generate random chars, find the position of the chars, and also generate bad char blobs for exploitation purposes.
Project description
exchars
Purpose
I got tired of downloading the whole PwnTools suite when I only use the cyclic functionality. This is meant to just generate random chars, find the position of the chars, and also generate bad char blobs for exploitation purposes.
Requirements
Python 3.6+
Installation
python -m pip install .\exchars\
Processing c:\...\exchars
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: exchars
Building wheel for exchars (pyproject.toml) ... done
Created wheel for exchars: filename=exchars-1.0-py3-none-any.whl size=3136 sha256=81ba75fb5c29fa2d823fd4ae93acdd88cb9b0a082b13c71cbdb7ea9a0d357c8e
Stored in directory: C:\...\AppData\Local\Temp\pip-ephem-wheel-cache-p3h3_j04\wheels\b8\3e\f5\8824831b7c506c206c3d51ea16356c9ca585b4665db17bdcda
Successfully built exchars
Installing collected packages: exchars
Attempting uninstall: exchars
Found existing installation: exchars 0.1
Uninstalling exchars-0.1:
Successfully uninstalled exchars-0.1
Successfully installed exchars-1.0
Usage
>>> from exchars import Chars
>>> chars = Chars()
>>> chars.cyclic(100)
'Aa0Aa1Aa2Aa3Aa4Aa5Aa6Aa7Aa8Aa9Ab0Ab1Ab2Ab3Ab4Ab5Ab6Ab7Ab8Ab9Ac0Ac1Ac2Ac3Ac4Ac5Ac6Ac7Ac8Ac9Ad0Ad1Ad2A'
>>> chars.find('Ab8Ab9Ac0A')
54
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
exchars-0.0.3.tar.gz
(3.7 kB
view details)
Built Distribution
File details
Details for the file exchars-0.0.3.tar.gz
.
File metadata
- Download URL: exchars-0.0.3.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c2d99b891843712e4c9afe5aed652b475dc8098f0abaf0a2bbefbc20f1948ff |
|
MD5 | 7516da1689a616ef22f82fb9a99b9202 |
|
BLAKE2b-256 | 059e53859c4706f2112bea65ac8a9c4824fb847aff9fdee8cad988ab45eaa0a8 |
File details
Details for the file exchars-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: exchars-0.0.3-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8602d904ace16c379c39ca1ae9a014200533d985f9691d219fa0b407dae4e60f |
|
MD5 | 955d15eed2e1a508d049c4f8e90d25b6 |
|
BLAKE2b-256 | 48663bd0f2b69d334ae8a5574d6ca5f381d5a8e70653d5fdd321156d1c72eba6 |