This website uses cookies

Read our Privacy policy and Terms of use for more information.

GuideGDE-121
TopicDomain reconnaissance
DomainDigital infrastructure
Last tested23 November 2026

Short answer: To run theHarvester, install release 4.11.1, pass a domain with -d and pick keyless passive sources such as certspotter, hackertarget and thc with -b. A source that returns nothing may have failed, so check each source's outcome before you treat a missing host as absent.

What it isWhat is theHarvester?
How to run itHow do you run theHarvester?
What goes wrongWhat can theHarvester get wrong?
Go deeperRelated card and guides
What it is

What is theHarvester?

theHarvester is a free, open-source command-line tool that queries public sources, such as certificate transparency logs, passive DNS datasets and search engines, for the subdomains, hostnames, IP addresses and email addresses linked to a domain.

Each source is a module: you name the ones you want with -b. Release 4.11.1 merges what they return into one list; the development version on GitHub records which source produced each finding. In 4.11.1, 36 sources have an entry in the api-keys.yaml file, and several of those return nothing without a key.

Most modules are passive: they ask a provider what it already holds, so the lookup itself sends no traffic to the domain's servers, though each provider sees your query. DNS brute force, DNS resolution, takeover checks and screenshots go further and query or contact the hosts, so a later check can still reach the domain's infrastructure.

When to use this guide
•Mapping the hostnames behind a domain named in a scam, leak or campaign
•Finding the mail, login or test hosts an organisation exposes publicly
•Dating a site's infrastructure from the certificates issued for it
•Checking a claim about which services run on a domain
How to run it

How do you run theHarvester?

Six steps take you from a domain to a list of hostnames that two sources agree on.

The tools

theHarvester is free; the sources behind it vary, so we checked them directly.

theHarvester: theHarvester is the command-line tool itself; its project file lists Christian Martorella, Jay Townsend and Matthew Brown as authors. Release 4.11.1 (3 June 2026) is free under GPL-2.0, needs Python 3.12 or later and no login, and is also the current Kali Linux package. GitHub's main branch holds a rebuilt 5.0 in development, which needs Python 3.14 and had no tagged release on 23 November 2026.

Cert Spotter: Cert Spotter is SSLMate's certificate transparency search, behind the certspotter module. It answered without a key on 23 November 2026; SSLMate's $0 plan lists 10 full-domain queries an hour.

HackerTarget: HackerTarget's host search, behind the hackertarget module, returns hostnames with IP addresses from its DNS dataset. It answered without a key on 23 November 2026.

THC subdomain lookup: The THC lookup at ip.thc.org, behind the thc module, is free and keyless. It answered on 23 November 2026.

crt.sh: crt.sh is a free certificate transparency search behind the crtsh module. It returned 502 Bad Gateway on all four of our attempts on 23 November 2026.

What we tested

What we tested: On 23 November 2026 we read the theHarvester 4.11.1 code and queried eight of its keyless sources by hand, signed out, for signalandshadow.io, our own domain, and a generated domain that does not exist. Cert Spotter, HackerTarget and THC returned matching hostnames; crt.sh and subdomain.center failed, AlienVault OTX asked us to authenticate, and urlscan and RapidDNS returned nothing. We could not run the theHarvester command line itself in our test environment.

Results, 23 November 2026
theHarvester 4.11.1Not tested
Could not be run in our test environment; version, flags and its 55 sources read from the 4.11.1 code.
Cert Spotter (certspotter)Yes
13 certificates, four names including a wildcard, latest issued 14 October 2026. Generated domain: empty list.
HackerTarget (hackertarget)Yes
Three hostnames with IP addresses. Generated domain: "error invalid host".
THC (thc)Yes
The same three hostnames: "Entries: 3/3".
crt.sh (crtsh)No
502 Bad Gateway on four attempts.
subdomain.center (subdomaincenter)No
"server busy (64 queries in flight)".
AlienVault OTX (otx)No
"Anonymous access to this endpoint is limited. Please authenticate."
urlscan (urlscan)Partly
Zero results: no scans of the domain on file.
RapidDNS (rapiddns)Partly
Zero results as a guest; consent prompt not accepted.

One domain we own and one generated domain, each source checked by hand once, signed out, on one day: a snapshot, not a benchmark.

The Two-Source Rule: Cite a hostname only when two sources built on different data, such as a certificate log search and a DNS dataset, return it. Record every source's outcome, including zero and failed results, before you read anything into an absence.

Before you begin
Stop at the login. Every source we tested answered without an account. Keyed sources such as Hunter, Censys or SecurityTrails need a sign-up first, so decide whether the case needs them.
Legal considerations. theHarvester's README presents it as a tool for red team and penetration test reconnaissance, and its development README says to run it only against targets you own or may test. Leave the options that contact hosts off unless you are authorised.

Subscribe to keep reading

This content is free, but you must be subscribed to Signal & Shadow to continue reading.

Already a subscriber?Sign in.Not now