Files
mrcharles 1b447b77ad Initial public release: dockerized reverse-engineering workbench
ChipBench packages Ghidra, radare2, binwalk, chip-programming tools,
simulators, and firmware-unpacking utilities into one reproducible container
for analyzing raw chip dumps entirely from the command line or an AI CLI.
Headless Jython scripts drive import, forced-disassembly sweeps, live
queries, and bulk decompilation exports without any GUI.

Derived from a private engagement environment, generalized for public
release under AGPLv3. No engagement-specific artifacts are included.

💘 Generated with Crush

Assisted-by: Crush:glm-5.2
2026-08-18 11:15:05 -05:00

16 lines
548 B
Bash
Executable File

#!/usr/bin/env bash
# Run binwalk v3 against an artifact. Extraction (-e) output lands in ./output/.
#
# Usage:
# ./re-binwalk <file-in-artifacts> [binwalk options...]
# ./re-binwalk dump.bin -e # scan + carve/extract embedded payloads
set -euo pipefail
cd "$(dirname "$0")"
if [ "$#" -lt 1 ]; then
echo "usage: $0 <file-in-artifacts> [binwalk options...]" >&2
exit 2
fi
ART="$1"; shift
exec docker compose run --rm -T --entrypoint /bin/bash \
tools -lc 'cd /data/output && exec binwalk "$@"' _ "$@" "/data/artifacts/${ART}"