Skip to main content

No project description provided

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:

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.3.0.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

rustbininfo-0.3.0-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rustbininfo-0.3.0.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.10.12 Linux/6.5.0-27-generic

File hashes

Hashes for rustbininfo-0.3.0.tar.gz
Algorithm Hash digest
SHA256 097bdb870ade4f149105b315c0ec1205b2f76de6fde61b949498902ca1ca79c9
MD5 8e163945b250b712c4deecaa704cff33
BLAKE2b-256 c8c2eb653ccdbb93d25dc9f6ae45722622bdce08120e118a8794fad9d355cef3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rustbininfo-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 8.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.10.12 Linux/6.5.0-27-generic

File hashes

Hashes for rustbininfo-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 02e14fd17f9adfda454cf0f68174341924a4c5bbe2350e63fecf0df766c4c4bd
MD5 b940d5482a5a739e0cd8e1a7aee43fee
BLAKE2b-256 ea22650f12ce93f7174345d902b19bd1d075ab09ed7346be6d10cbf2ce056e06

See more details on using hashes here.

Supported by

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