Skip to content

Python Quick Start

Get up and running with rekit in your terminal or Python scripts.

Installation

rekit has zero mandatory external dependencies. It uses Python's standard library for core triage, strings, and IOC extraction.

git clone https://github.com/Amz34/rekit.git
cd rekit
python3 rekit.py --help

Basic CLI Usage

1. Binary Triage

Extract cryptographic hashes, architecture type, section entropy, and detect known packers:

python3 rekit.py triage /bin/ls --json

Output:

{
  "sha256": "4b227777d4dd1fc61c6f884f48641d02b4d121d3fd328cb08b5531fcacdabf8a",
  "kind": "ELF 64-bit LSB pie executable, ARM aarch64",
  "entropy": 6.12,
  "packer": null
}

2. IOC & Credential Extraction

Search strings for URLs, cryptographic private keys, JWTs, IPs, and cloud credentials without detonating code:

python3 rekit.py iocs /path/to/binary_or_bundle

3. Headless Ghidra Decompilation

Invoke Ghidra's headless decompiler to produce C pseudocode:

python3 rekit.py ghidra /bin/ls --func main