Skip to main content

Get information about stripped rust executables

Project description

pypi package GitHub

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


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.6.0.tar.gz (2.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rustbininfo-0.6.0-py3-none-any.whl (16.6 kB view details)

Uploaded Python 3

File details

Details for the file rustbininfo-0.6.0.tar.gz.

File metadata

  • Download URL: rustbininfo-0.6.0.tar.gz
  • Upload date:
  • Size: 2.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.25

File hashes

Hashes for rustbininfo-0.6.0.tar.gz
Algorithm Hash digest
SHA256 6772f858d8c83bb42be031f19944cb8fe6b727c045d400f5bff8ad536443383e
MD5 1771af6ef0d5b1f98204e858a510d774
BLAKE2b-256 447bd4b39a01941751f107b9aa512a437f266b961f7e1c07e394753e99232888

See more details on using hashes here.

File details

Details for the file rustbininfo-0.6.0-py3-none-any.whl.

File metadata

File hashes

Hashes for rustbininfo-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cf54b067ed3177e3339cdcdd6016262f570705eaccbf5be1913d25af814291c6
MD5 2e78396c20788b635085de6ec69d858b
BLAKE2b-256 e001528271c638cef0ea0d06282399ff0402aa310e0bf031684f0f2df48c3417

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page