Theharvester

2 min read389 words

theHarvester

Learn theHarvester (OSINT Email & Subdomain Tool)

Understand how to gather public intelligence from search engines and online sources.

Link -> https://github.com/laramies/theHarvester

Tool: theHarvester

Description: theHarvester is an OSINT (Open Source Intelligence) tool used to collect publicly available information about a target domain.

It can gather:

  • Email addresses
  • Subdomains
  • Employee names
  • IP addresses
  • Virtual hosts
  • Service banners

Sources include:

  • Google
  • Bing
  • LinkedIn
  • Other public data sources

Used in:

  • Reconnaissance phase
  • Social engineering preparation
  • Bug bounty hunting

Installation / Check

Check if installed:

which theHarvester

Install theHarvester:

sudo apt install theharvester

Basic Syntax

theHarvester -d <domain> -b <source>

Common Commands

Google Search Recon

Command:

theHarvester -d target.com -b google
  • What it does: Gathers information using Google search.
  • When to use: For basic reconnaissance.

All Sources Enumeration

Command:

theHarvester -d target.com -b all
  • What it does: Collects data from all available sources.
  • When to use: For deep OSINT gathering.

LinkedIn Employee Search

Command:

theHarvester -d target.com -b linkedin
  • What it does: Searches LinkedIn for employee information.
  • When to use: To find company employees.

Limit Results Output

Command:

theHarvester -d target.com -b bing -l 500
  • What it does: Uses Bing with a result limit.
  • When to use: To control the size of output data.

Step-by-Step Guide

  1. Choose target domain

  2. Select source:

    • google
    • bing
    • linkedin
    • all
  3. Run command:

theHarvester -d <domain> -b <source>
  1. Review results:

    • Emails
    • Subdomains
    • Hosts
  2. Use findings for further recon

Understanding Output

theHarvester displays:

  • Emails → Found email addresses
  • Hosts/Subdomains → Discovered domains
  • IPs → Related IP addresses
  • Sources → Where data was collected

Tip:

  • Cross-check results for accuracy

⚠️ Important Warnings

  • This is passive reconnaissance (generally low risk)

  • Some sources require API keys

  • Respect rate limits of search engines

  • Data may be:

    • Outdated
    • Incomplete

🚨 Legal Notice

⚠️ Use Kali Linux tools only on systems you own or have permission to test. Misuse of gathered data can lead to legal consequences.

Keep learning. Keep building. Keep growing.

© 2026 Ugenz Academy