We learned how to use theHarvester in this lesson the description of the program is below
The objective of this program is to gather emails, subdomains, hosts, employee names, open ports and banners from different public sources like search engines, PGP key servers and SHODAN computer database.
This tool is intended to help Penetration testers in the early stages of the penetration test in order to understand the customer footprint on the Internet. It is also useful for anyone that wants to know what an attacker can see about their organization.
the commands are simple
theHarvester -d pentest.id -l 500 -b google
the above means to search up pentest.id up to 500 limit on google. it will then search for relevant data for pentest.id below is the result