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.2.tar.gz
(12.2 kB
view details)
Built Distribution
File details
Details for the file rustbininfo-0.5.2.tar.gz
.
File metadata
- Download URL: rustbininfo-0.5.2.tar.gz
- Upload date:
- Size: 12.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.10.12 Linux/5.15.0-118-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b89614e364cbec22288ea155246d0a94427f0ef9de047bd8b44a7919b23225ba |
|
MD5 | 1298fcd9bba5961cb826e250d57fa595 |
|
BLAKE2b-256 | b1219462877de9a5dbfb5f892a1dd7fd37c5189b667220265c084189c8c5717c |
File details
Details for the file rustbininfo-0.5.2-py3-none-any.whl
.
File metadata
- Download URL: rustbininfo-0.5.2-py3-none-any.whl
- Upload date:
- Size: 14.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.10.12 Linux/5.15.0-118-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20fa1e7ca00b26a34e62000baed861affef71f8e0e7792218efd0640225e49b0 |
|
MD5 | b6b4582e80ff7710687b2e01b11cc014 |
|
BLAKE2b-256 | 02110de2d665005f20a64c2cf1628aac599ada25d8668aaa3d73b108c032aba2 |