Get information about stripped rust executables
Project description
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
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
rustbininfo-0.7.1.tar.gz
(2.1 MB
view details)
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 rustbininfo-0.7.1.tar.gz.
File metadata
- Download URL: rustbininfo-0.7.1.tar.gz
- Upload date:
- Size: 2.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e9a1f751fd515217c8c72895dfafeee2f89772661264d97fc775cd8eb56f0401
|
|
| MD5 |
94c8bd2170220e005a7eb6734f2b05bc
|
|
| BLAKE2b-256 |
09e06088fa77380ddea80f0367bbd3c3ef652ab01ab0416306920801d1608fe9
|
File details
Details for the file rustbininfo-0.7.1-py3-none-any.whl.
File metadata
- Download URL: rustbininfo-0.7.1-py3-none-any.whl
- Upload date:
- Size: 18.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
62d526ffb8454e2400c64c80e289652615fedaa689b6f7462942206bb7535948
|
|
| MD5 |
f7d018d41d259807c00beeb0f2e229e3
|
|
| BLAKE2b-256 |
88cb415b42d2d72f09dbaefea1b126b6d949fe7b179872a93092f198a7d453da
|