A local-first terminal toolkit for cryptography analysis, OSINT, log analytics, and code enumeration. Runs entirely offline. No accounts, no telemetry.
- Python 3.11+
- Windows or Linux
Arch
sudo pacman -S --needed python-pipx
pipx ensurepath
pipx install nexus-toolDebian / Ubuntu / Kali
sudo apt update && sudo apt install -y pipx
pipx ensurepath
pipx install nexus-toolWindows
py -m pip install --user -U nexus-toolOpen a new shell after pipx ensurepath to pick up the PATH change.
Detect encodings, classical ciphers, and modern encryption from an input string. Reports entropy, index of coincidence, and ranked candidates.
# Quick one-line answer (default)
nexus crypt detect -i "SGVsbG8gV29ybGQh"
# Full statistical breakdown
nexus crypt detect -i "SGVsbG8gV29ybGQh" --format detailed
# Compact table
nexus crypt detect -i "c2NyaWJibGU=" --format compact
# JSON output for scripting
nexus crypt detect -i "URYYB JBEYQ" --format json --top 5Extract EXIF and file metadata from images.
nexus osint meta -i /path/to/image.jpgIngest structured JSONL logs into a local DuckDB database and run analytics queries against them.
# Ingest a log file
nexus log ingest -i ./events.jsonl
# Run a built-in query
nexus log canned total_requestsIdentify the programming language of a code snippet.
nexus enum code-id -i "def hello(): print('hi')"| Format | Description |
|---|---|
simple |
Top match with confidence rating (default) |
detailed |
Full entropy, IC analysis, and ranked candidates |
compact |
Table view for quick scanning |
json |
Raw JSON for scripting and piping |
Everything stays on your machine. Nexus reads an optional config from
~/.nexus/config.toml (override with --config) and writes to ~/.nexus/:
audit.log— one JSON line per command (module, action, target, timestamp)duckdb/nexus.duckdbandparquet/— ingested log datasets
Delete ~/.nexus/ at any time to clear all local state.
Run from a local clone:
git clone https://github.com/H4ch1Net/Nexus.git
cd Nexus
pip install -e ".[dev]"
pytestLinux (pipx)
pipx upgrade nexus-tool
pipx uninstall nexus-toolWindows
py -m pip install --user -U nexus-tool
py -m pip uninstall nexus-toolMIT