Get information about a stripped rust executable.
This tool is mentioned in this and this blogposts.
Example
> rbi ~/Downloads/crackme.exe
TargetRustInfo(
rustc_version='1.65.0',
rustc_commit_hash='9c20b2a8cc7588decb6de25ac6a7912dcef24d65',
dependencies=[
Crate(name='crc-any', version='2.4.3', features=[], repository=None),
Crate(name='rand', version='0.8.5', features=[], repository=None),
Crate(name='rand_chacha', version='0.3.1', features=[], repository=None),
Crate(name='short-crypt', version='1.0.26', features=[], repository=None)
],
rust_dependencies_imphash='cd7358d2cd75458edda70d567f1555fa',
guessed_toolchain='windows-msvc'
)
Usage
rbi
usage: rbi [-h] [-f] [-d] target
Get information about stripped rust executable, and download its dependencies.
positional arguments:
target
options:
-h, --help show this help message and exit
-f, --full
-d, --project-date Tries to guess date latest depdnency got added to the project, based on dependencies version
Usage examples:
rbi 'challenge.exe'
rbi -f 'challenge.exe'
rbi -d 'challenge.exe'
Tests
Tests requieres git-lfs to retrive the test executable.
Then, execute the following command:
git lfs fetch
git lfs pull
pytest -s
Metadata
Release files for rustbininfo 0.7.2
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 | |
|---|---|---|---|---|
| rustbininfo-0.7.2.tar.gz | 2.1 MB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rustbininfo-0.7.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 2.1 MB
Release files / rustbininfo-0.7.2.tar.gz
| Download URL | rustbininfo-0.7.2.tar.gz |
|---|---|
| Size | 2.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2021822012bdfd6ee7faa751fa294fe96b1bce08be54791834143c5ec285bf48
|
|
BLAKE2b-256 checksum How to use checksums |
ef1020e3c697bce4503ab49f1f9d0b33bfe2467bb546168a5bf0b73efb662874
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.2
|
Release files / rustbininfo-0.7.2-py3-none-any.whl
| Download URL | rustbininfo-0.7.2-py3-none-any.whl |
|---|---|
| Size | 20.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b1513ee20f3dab8aee960181dcda8e4638f8b16a4ab629c30a260422e578ca37
|
|
BLAKE2b-256 checksum How to use checksums |
c6980b6b426ded56bf31b39421a649fd55f0289aeae9744232f7675f3f27488f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.2
|
Security for rustbininfo 0.7.2
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.