This document provides examples of how to use MottaHunter for email reconnaissance.
# Hunt for emails on Google
python harvester.py hunt --domain example.com --google
# Hunt for emails on multiple sources
python harvester.py hunt --domain example.com --google --twitter --linkedin
# Hunt with multiple Google pages (10 pages)
python harvester.py hunt --domain example.com --google --pages 10
# Hunt and validate in one go
python harvester.py hunt --domain example.com --google --validate --sender-email [email protected]# Validate all permutations
python harvester.py validate --domain example.com --first-name John --last-name Doe --sender-email [email protected]
# Validate with higher permutation level
python harvester.py validate --domain example.com --first-name John --last-name Doe --sender-email [email protected] --level 3
# Validate with custom check email
python harvester.py validate --domain example.com --first-name John --last-name Doe --sender-email [email protected] --check-email [email protected]
# Skip default email check
python harvester.py validate --domain example.com --first-name John --last-name Doe --sender-email [email protected] --no-check
# Split permutations (e.g., part 2 of 4)
python harvester.py validate --domain example.com --first-name John --last-name Doe --sender-email [email protected] --part 2 --total-parts 4# Customize delay range (min max in seconds)
python harvester.py validate --domain example.com --first-name John --last-name Doe --sender-email [email protected] --delay 5 10
# Increase debug level for more verbose output
python harvester.py validate --domain example.com --first-name John --last-name Doe --sender-email [email protected] --debug 2When hunting for emails, MottaHunter saves the results in the motta_findings directory:
- TXT format:
domain_timestamp.txt - CSV format:
domain_timestamp.csv
# Run the test suite
python -m unittest tests.py- Start with Google hunting as it's often the most fruitful source
- Use the
--no-checkoption when targeting domains that don't have standard info@ addresses - For domains with strict rate limits, use the permutation splitting feature
- Always use a dedicated sender email for validation to avoid being flagged
- Increase the delay between validation attempts if you encounter blocks
Remember: MottaHunter is for educational and authorized security assessment purposes only. Always obtain proper authorization before scanning any domain.