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.2.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.2.tar.gz.
File metadata
- Download URL: rustbininfo-0.7.2.tar.gz
- Upload date:
- Size: 2.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2021822012bdfd6ee7faa751fa294fe96b1bce08be54791834143c5ec285bf48
|
|
| MD5 |
7a91269601b8ef7755c890e13bed1951
|
|
| BLAKE2b-256 |
ef1020e3c697bce4503ab49f1f9d0b33bfe2467bb546168a5bf0b73efb662874
|
File details
Details for the file rustbininfo-0.7.2-py3-none-any.whl.
File metadata
- Download URL: rustbininfo-0.7.2-py3-none-any.whl
- Upload date:
- Size: 20.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b1513ee20f3dab8aee960181dcda8e4638f8b16a4ab629c30a260422e578ca37
|
|
| MD5 |
4ef1c52ec63e2abe3a14a31339a3806a
|
|
| BLAKE2b-256 |
c6980b6b426ded56bf31b39421a649fd55f0289aeae9744232f7675f3f27488f
|