How yohan-nedh/itk_phishingmail_detector works
This is a command-line phishing-email analyzer. The user supplies an .eml or .txt file; the CLI invokes analysis, which extracts message data, evaluates phishing indicators, and returns a risk score and findings. The CLI can save the results to a file. The sampled code shows parsing, scoring, VirusTotal lookups, and caching; the README documents file analysis and output saving. The graph omits empty modules and limits integrations to relationships visible in the excerpts.
Main entry points: analyzer.py Phishing analysis · cli.py CLI · phish_detector.py Program entry · mail_parsing.py Message extraction
Components 11
Command line
- Program entry
phish_detector.py - CLI
cli.py
Email analysis
- Message extraction
mail_parsing.py - Phishing analysis
analyzer.py - Risk result
analyzer.py
Threat intelligence
- VirusTotal
- VT cache
analyzer.py - WHOIS cache
analyzer.py
Other components
- User
- Email file
- Results file
Connections 11
- User → Program entry: runs
README.md - User → Email file: selects
README.md - Program entry → CLI: delegates
phish_detector.py - CLI → Email file: reads path
cli.py - CLI → Phishing analysis: invokes
cli.py - Phishing analysis → Message extraction: extracts message
analyzer.py - Phishing analysis → VirusTotal: queries
analyzer.py - Phishing analysis → VT cache: reads/writes
analyzer.py - Phishing analysis → WHOIS cache: uses cache
analyzer.py - Phishing analysis → Risk result: produces
analyzer.py - CLI → Results file: saves results
cli.py