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 info ~/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] {info,guess_project_date,download} ...
Get information about stripped rust executable, and download its dependencies.
options:
-h, --help show this help message and exit
mode:
{info,guess_project_date,download}
Mode to use
info Get information about an executable
guess_project_date Tries to guess date latest depdnency got added to the project, based on dependencies version
download Download a crate. Exemple: rand_chacha-0.3.1
Usage examples:
rbi info 'challenge.exe'
rbi download hyper-0.14.27
rbi guess_project_date '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.4.0.tar.gz
(8.5 kB
view details)
Built Distribution
File details
Details for the file rustbininfo-0.4.0.tar.gz
.
File metadata
- Download URL: rustbininfo-0.4.0.tar.gz
- Upload date:
- Size: 8.5 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 | bb0e09800184a45236aa2cfede470ed106c30f93f3716b98e2c6ed4cfc765fd8 |
|
MD5 | affb0e29a21498c4e37041bff9e1e1ff |
|
BLAKE2b-256 | 35552bc0770bf5f6dc45b82b5adc17acaf34203a59ca6d360c4522d69ea01844 |
File details
Details for the file rustbininfo-0.4.0-py3-none-any.whl
.
File metadata
- Download URL: rustbininfo-0.4.0-py3-none-any.whl
- Upload date:
- Size: 10.7 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 | fc84b9d02bb01186596045f41f76ee4eba1ec57c6328c0a00ae4a9de2f7f525f |
|
MD5 | 7fadeba4e9472e40ffe6ff5f7249c208 |
|
BLAKE2b-256 | dafa71118a5251551ff00d7f28a1c780c592cabb68a7335009d0f5fee2b37f7d |