stringedit
Replace strings in binary files.
Installation
From PyPI
pip3 install stringedit
From GitHub
pip3 install git+https://github.com/donno2048/stringedit
Usage
To run the string editing use stringed or python3 -m stringedit
$ stringed -h
usage: stringed [-h] [-n [number]] [-m {l,r,L}] filename
Replace strings in binary files
positional arguments:
filename input filename
optional arguments:
-h, --help show this help message and exit
-n [number], --bytes [number]
print amy string of at least [number] characters (default 4)
-m {l,r,L}, --method {l,r,L}
method used to widen replacement string if it's too long l - pad with
spaces from the left r - pad with spaces from the right L - leave
everything after the replacement as it was
You can also use the stringpr to print all the strings, similar to the strings linux command.
$ stringpr -h
usage: stringpr [-h] [-n [number]] [-t {o,d,x}] [-s <string>] filename
Print strings in binary files
positional arguments:
filename input filename
optional arguments:
-h, --help show this help message and exit
-n [number], --bytes [number]
print amy string of at least [number] characters (default 4)
-t {o,d,x}, --radix {o,d,x}
print the location of the string in base 8, 10 or 16
-s <string>, --output-separator <string>
string used to separate strings in output
Uses
- Could be used to create a modded version for a game by changing dialogues and such
- Could theoretically be used to "steal" someones binary by just replacing any info (e.g. license) with the attacker's - removes the need to decompile, change and then recompile the binary
- And more
Metadata
Release files for stringedit 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| stringedit-1.0.0.tar.gz | 4.6 kB | With provenance | Details for stringedit-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| stringedit-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for stringedit-1.0.0-py3-none-any.whl |
Total release size: 10.0 kB
Release files / stringedit-1.0.0.tar.gz
| Download URL | stringedit-1.0.0.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
93e0bac0570c3a92c77eba5cff0f6724ae1e7199f306472df0e5b518fcc9ef24
|
|
BLAKE2b-256 checksum How to use checksums |
904fa577703c6ebbb26f122f35a22004bff2b2a2328c55b27f5161de610433b4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 14, 2026.
Transparency logRelease files / stringedit-1.0.0-py3-none-any.whl
| Download URL | stringedit-1.0.0-py3-none-any.whl |
|---|---|
| Size | 5.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ba669140c9b1e0fa6ce9a1b5b518a89b681f0162ffcbe2485e1b67dcd4c87278
|
|
BLAKE2b-256 checksum How to use checksums |
2e1408312815bd401726646a36f4d9cfd11bf4c21a1bdbf1d510d8e9607f6f5d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 14, 2026.
Transparency logSecurity for stringedit 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for stringedit-1.0.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 14, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.