theHarvester
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
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.
- +Quick to run against a single domain
- +Actively maintained
- +Preinstalled on Kali and other security distributions
- −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
- 01Use it when you need a fast list of subdomains and addresses tied to a domain.
- 02Use it at the start of an organisation investigation to find email formats and exposed hosts.
Next steps from this result
Suggested from the inputs theHarvester takes- Found a resultConfirm it with a second, independent source before you record itActive
- Found a new identifierPivot on it only if your scope covers the new targetDepends
Quick start
Docs (opens in new tab)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 reviewAlternatives to theHarvester
Listed tools that take the same inputs, closest match first.
- Wayback MachineFree · Passive · APIWhat it does
Internet Archive's public archive of web pages, with snapshots going back to 1996 and on-demand page saving.
URLDomainNo ratings yetVerified 2d ago - PhotonOpen source · ActiveWhat it does
Python web crawler that extracts URLs, emails, social accounts, files, keys and subdomains from a target site.
URLDomainNo ratings yetVerified 2d ago - SiteDorksOpen source · PassiveWhat it does
Opens search engine queries for a term across a curated list of websites, grouped by category.
NameDomainNo ratings yetVerified 2d ago
