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:
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.2.0.tar.gz
(6.3 kB
view details)
Built Distribution
File details
Details for the file rustbininfo-0.2.0.tar.gz
.
File metadata
- Download URL: rustbininfo-0.2.0.tar.gz
- Upload date:
- Size: 6.3 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 | cb2385987735a62653b110c0c69d1be222e2a1177c2404d24e73f7f177e42041 |
|
MD5 | dba0f72827e31a307ce548e1fc69e53d |
|
BLAKE2b-256 | e20f6533231f0c6f476d2e059f1b837e87a58af27360074c2cb2c3e1c376d7a3 |
File details
Details for the file rustbininfo-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: rustbininfo-0.2.0-py3-none-any.whl
- Upload date:
- Size: 8.5 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 | 164182d5d0cd799992eae72c94b0d6085540e441cd68b5aa4aba8d0d9a429906 |
|
MD5 | 94520b75ee5b410a931046d9dd8846e9 |
|
BLAKE2b-256 | 1480a77052e71f9c373b233c2becffa4be13f9ed39424e73933af779b28150bf |