Skip to content
OSINTtools.io

theHarvester

Verified 2d ago

Command-line tool that gathers subdomains, hosts, IPs, emails and names for a domain from search engines and public data sources.

Python CLI · Open source · Data capturing · github.com

Takes
Domain
Pricing
Open source
Footprint
Depends on configuration
Account
Not needed
API
No public API
Last verified
Nov 23, 2026
Summary

Command-line tool that gathers subdomains, hosts, IPs, emails and names for a domain from search engines and public data sources. It takes domain. Read the cons before you build a workflow on it.

What it does

theHarvester is a Python tool that takes a domain and queries a list of sources, such as certificate transparency logs, search engines, DNS datasets and threat-intel services, to collect subdomains, hosts, IP addresses, email addresses and names. You pick sources with the -b flag.

It is one of the standard first steps in external reconnaissance and is packaged in Kali Linux. Most sources are passive lookups; optional DNS brute force and screenshot features do contact the target's infrastructure. Several sources need API keys.

Footprint is depends: whether the target is contacted depends on which modules or transforms you run. No account is needed. There is no public API.

Pros
  • +Quick to run against a single domain
  • +Actively maintained
  • +Preinstalled on Kali and other security distributions
Cons
  • −Results depend heavily on which sources and API keys you configure
  • −Email results are often sparse compared with commercial tools
  • −Requires a recent Python version and uv for source installs

When to use it

  1. 01Use it when you need a fast list of subdomains and addresses tied to a domain.
  2. 02Use it at the start of an organisation investigation to find email formats and exposed hosts.
Key featuresMany selectable data sourcesSubdomain, host and email collectionOptional DNS brute forceExport to XML and JSONREST API server modeDocker support

Next steps from this result

Suggested from the inputs theHarvester takes
  • Found a resultConfirm it with a second, independent source before you record it
  • Found a new identifierPivot on it only if your scope covers the new target
    Depends
Install from source with uv
git clone https://github.com/laramies/theHarvester.git
cd theHarvester
uv sync
uv run theHarvester -d example.com -b crtsh,certspotter

Technical details

Listing verified by an editor on Nov 23, 2026
API
No public API
Account
Not needed
Footprint
Depends on configuration
Pricing
Open source · Free and open source; some sources need third-party API keys.
Platforms
Python CLI
Repository
laramies/theHarvester 18,402 stars
Language
Python
Licence
GPL-2.0
Last commit
Nov 2026
Listed
Nov 23

Reviews

No reviews yet

Written by signed-in members. Each review appears here after an editor has read it.

Used theHarvester? Sign in to say what you used it for and how it went.

Sign in to review

Alternatives to theHarvester

Listed tools that take the same inputs, closest match first.

theHarvesterOpen source · verified 2d ago
Visit github.com (opens in new tab)