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.7.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.7.0-py3-none-any.whl (18.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for rustbininfo-0.7.0.tar.gz
Algorithm Hash digest
SHA256 c906a944d16a9b5c72bdfbad7277b6b88dfa82c48a539574de878ea8fb1aa6a2
MD5 d831c745aea7d5f421124522c8d0d8b3
BLAKE2b-256 07bcc9ca8156306d8ee1b036dadd750a94661dbd4514fcd4b1152f8bbb3eb46c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rustbininfo-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 126a2737a37e0e4a790eda179089904d5e22eb515e91403fb0e749c7ccacca0b
MD5 86c6a6257b296d093d13258db180855d
BLAKE2b-256 7cb5d44f0256e2d1706224bf6d16ed69b93196d8fc13f04cff930609b72e789c

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