EmailHarvester
EmailHarvester is a tool to retrieve domain email addresses from popular search engines. It supports exporting results to TXT and XML files with options for limiting results and using proxies.
Description
EmailHarvester is designed for harvesting email addresses associated with a specific domain using various search engines such as Google, Bing, Yahoo, ASK, Baidu, Dogpile, and Exalead. It is particularly useful in reconnaissance phases of penetration testing or OSINT investigations where identifying contact emails can provide valuable leads.
Key features include the ability to limit search results, define custom User-Agent strings, and utilize proxy servers for anonymity. The tool also supports a plugins system, allowing searches on popular websites like Twitter, LinkedIn, Google+, Github, Instagram, Reddit, and Youtube via search engines.
Results can be saved in both TXT and XML formats, making it easy to process or integrate with other tools. It is lightweight with an installed size of 70 KB and depends on common Python3 libraries including colorama, requests, termcolor, and validators.
How It Works
EmailHarvester operates by querying selected search engine plugins to retrieve pages containing email addresses linked to the target domain. It uses HTTP requests with configurable User-Agent and proxy support to fetch and parse search results. Plugins handle specific engines and sites, extracting emails through pattern matching and validation, then optionally saving to TXT and XML files.
Installation
sudo apt install emailharvesterFlags
Examples
emailharvester -hemailharvester -d example.comemailharvester -d example.com -s resultsemailharvester -d example.com -e googleemailharvester -d example.com -l 100emailharvester -d example.com -u 'Mozilla/5.0'emailharvester -d example.com -x http://127.0.0.1:8080