O'Reilly logo

Kali Linux Intrusion and Exploitation Cookbook by Ishan Girdhar, Dhruv Shah

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Gathering information using theharvester

In this recipe, we will learn to use theharvester. The objective of this program is to gather e-mails, subdomains, hosts, employee names, open ports, and banners from different public sources, such as search engines, PGP key servers, and the Shodan computer database.

Getting ready

For this recipe, you will require an Internet connection.

How to do it...

  1. Open the terminal and start theharvester, as shown in the following screenshot:

    How to do it...

  2. Theharvester help shows the example syntax also. For the purpose of our demonstration, we will be using the following command:
    # theharvester -d visa.com -l 500 -b all
    
  3. Successful ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required