How victus-arc/spectra-analyzer works
SPECTRA is a read-only digital evidence analysis toolkit with a terminal interface. Its main workflow collects a file path, computes a SHA-256 hash, gathers metadata and a file signature, optionally analyzes text, then creates a report. A separate integrity workflow compares a calculated hash with a supplied known hash; users can also browse saved reports. The sampled sources show the interface orchestrating these operations. The README documents the capabilities; unsampled portions of the interface are not inferred beyond those documented features.
Main entry points: spectra.py CLI workflows · report.py Report generation · hash_engine.py SHA-256 hashing · metadata.py Metadata collection
Components 11
Terminal interface
- CLI workflows
spectra/spectra.py
Evidence analysis
- SHA-256 hashing
spectra/hash_engine.py - Metadata collection
spectra/metadata.py - Signature detection
spectra/analyzer.py - Text analysis
spectra/analyzer.py - Hash verification
spectra/analyzer.py
Reports
- Report generation
spectra/report.py - Saved reports
- Report browsing
spectra/spectra.py
Other components
- Terminal user
- Evidence file
Connections 11
- Terminal user → CLI workflows: uses
README.md - CLI workflows → Evidence file: reads
spectra/spectra.py - CLI workflows → SHA-256 hashing: calculates hash
spectra/spectra.py - CLI workflows → Metadata collection: collects metadata
spectra/spectra.py - CLI workflows → Signature detection: detects signature
spectra/spectra.py - CLI workflows → Text analysis: analyzes text
spectra/spectra.py - CLI workflows → Hash verification: checks hash
spectra/spectra.py - CLI workflows → Report generation: creates report
spectra/spectra.py - Report generation → Saved reports: writes report
spectra/report.py - CLI workflows → Report browsing: opens reports
spectra/spectra.py - Report browsing → Saved reports: lists and reads
spectra/spectra.py