From be58885e4fbec06b7949709cfa63496aaddcab14 Mon Sep 17 00:00:00 2001 From: venus Date: Sat, 18 Jul 2026 03:23:49 -0500 Subject: [PATCH] [GEMINI] Document custom forensics metadata parser architectural decision --- ARCHITECTURE.md | 1 + 1 file changed, 1 insertion(+) diff --git a/ARCHITECTURE.md b/ARCHITECTURE.md index 754a600..dfb73f7 100644 --- a/ARCHITECTURE.md +++ b/ARCHITECTURE.md @@ -50,6 +50,7 @@ Houses the logic for generic CLI context and active competition commands: ### D. Forensics ([forensics.py](file:///home/venus/code/ctf/src/ctf/forensics.py)) Implements specialized forensic inspection utilities registered as a nested subgroup under the CLI: +* **Custom Extractor**: Implements our own pure-Python, zero-dependency parser for standard TIFF/EXIF tags, Adobe XMP XML blocks, Photoshop IPTC IIM records, and JPEG/PNG physical parameters, rather than importing large external libraries. * `info`: Inspects target file sizes, reads magic bytes, and warns if extensions do not match detected signatures. * `flag-search`: Extracts printable string sequences (equivalent to GNU `strings`) and matches them against regular expression patterns to find potential flags.