File Inspector
The File Inspector module analyzes local files for metadata, MIME type identification, file size, embedded hash signatures and other file-level indicators.
Usage
bash
python -m cyberx file --path <file-path> [options]Examples
bash
# Inspect a file\npython -m cyberx file --path ./document.pdf\n\n# Output JSON report\npython -m cyberx file --path ./archive.zip --jsonWhat it reports
- File name and path
- File size (bytes and human-readable)
- MIME type (magic byte detection)
- File extension
- MD5, SHA-256 hashes
- Last modified timestamp
- MIME type / extension mismatch detection