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.5.3.tar.gz
(12.6 kB
view details)
Built Distribution
File details
Details for the file rustbininfo-0.5.3.tar.gz
.
File metadata
- Download URL: rustbininfo-0.5.3.tar.gz
- Upload date:
- Size: 12.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.11.2 Linux/6.2.0-39-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c81825e8840680b3d086e1d0e2bbc3001bb7269c6ac0a6f1bd298c79bfe1e3ff |
|
MD5 | 71a7d0808219f6d422605e4f77470f40 |
|
BLAKE2b-256 | 7383586b522dda0fcd20ebf0cd3d17cd7c199ea39a4ea6277ffd07012fc79772 |
File details
Details for the file rustbininfo-0.5.3-py3-none-any.whl
.
File metadata
- Download URL: rustbininfo-0.5.3-py3-none-any.whl
- Upload date:
- Size: 15.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.11.2 Linux/6.2.0-39-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8e2912d68855040c940c926f75e36462f149fa2db4b1e4a4a92909c873e06a3 |
|
MD5 | 323872a9e53af95fc330aeaa4ae2f7a1 |
|
BLAKE2b-256 | da34b1e9523dab1741356ae708ec60cbe272d39e1784391879fdbc8245e05ec9 |