Finding e-mail addresses using theHarvester
Using publicly available information, we can also gather information on individuals belonging to our target organization. This type of passive information gathering could become very valuable for social engineering or deploying an attack.
Getting ready
theHarvester comes preinstalled on Kali Linux. If you are using a different Linux/Unix distribution, it can be downloaded and installed from https://github.com/laramies/theHarvester.
How to do it…
theHarvester is an excellent tool for getting information on an organization from public sources. Using the tool, we can query Google, Bing, Twitter, and LinkedIn among other sources.
- To see the help and options for theHarvester, simply open the Terminal and type the following command:
theharvester

- In order to find e-mail addresses from
google.com
using the Google search engine, we'll use the following:
theharvester -d google.com -l 500 -b google

- The command uses
-d
as the domain we want to search...