-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Operator Workflows
Start with the smallest source set and least active behavior that can answer the engagement question. Replace example.com only with an authorized target.
Sources and explicit actions contribute different result routes and different levels of network activity. This map shows how they meet in one normalized evidence model:
Network activity: provider-facing passive lookups.
uv run theHarvester -d example.com -b crtsh,certspotter,commoncrawlUse the README source matrix to choose complementary sources. Adding every source usually increases noise, rate-limit failures, and runtime more than it improves a focused run.
Pass --limit 0 to remove the shared per-source result cap and local page ceilings. Each adapter then runs until its provider is exhausted. Provider quotas, protocol maxima, response-size guards, and runtime limits still apply. If a provider or safety limit stops a source after it retained evidence, the run keeps that evidence and records the source as partial with the stop reason.
Network activity: provider-facing discovery plus local report writes.
uv run theHarvester -d example.com -b crtsh,certspotter -f reportUse report.jsonl for automation, provenance, and run interchange. The same command also writes report.json and report.xml compatibility files. See Results and Local Data.
Network activity: provider-facing discovery followed by resolver-facing DNS queries.
AUTHORIZED_DOMAIN='replace-with-a-domain-you-control'
uv run theHarvester -d "$AUTHORIZED_DOMAIN" -b crtsh,certspotter -rTo control the resolvers used, create a resolver file with one IP address per line and pass its path:
AUTHORIZED_DOMAIN='replace-with-a-domain-you-control'
uv run theHarvester -d "$AUTHORIZED_DOMAIN" -b crtsh -r resolvers.txtDNS requests disclose candidate names to each selected resolver. Candidates from all selected sources are normalized and deduplicated before one run-wide phase queries A, AAAA, and CNAME at most once per hostname and record type. The phase runs at most 20 hostname jobs concurrently with per-query resolver timeouts and no default query-count or phase-runtime ceiling.
Network activity: provider-facing discovery followed by resolver-facing PTR queries.
AUTHORIZED_DOMAIN='replace-with-a-domain-you-control'
uv run theHarvester \
-d "$AUTHORIZED_DOMAIN" \
-b rapiddns \
--dns-lookup \
-f reportReverse DNS uses the /24 network containing each discovered IPv4 address. It deduplicates addresses across overlapping ranges and runs at most 20 PTR jobs concurrently with per-query resolver timeouts. It has no default request-count or phase-runtime ceiling.
Configure the Shodan key, then enrich resolved hosts:
Network activity: provider-facing discovery, resolver-facing DNS, and Shodan API requests.
AUTHORIZED_DOMAIN='replace-with-a-domain-you-control'
uv run theHarvester -d "$AUTHORIZED_DOMAIN" -b crtsh -r -sShodan host enrichment runs after discovery and is separate from the shodan source's subdomain results.
Use only an owned or explicitly authorized target:
Network activity: resolver-facing DNS queries for generated candidate names.
AUTHORIZED_DOMAIN='replace-with-a-domain-you-control'
uv run theHarvester -d "$AUTHORIZED_DOMAIN" -cDNS brute force actively tests candidate names. Do not run it against example.com or an unrelated third-party domain.
Network activity: provider-facing discovery followed by resolver-facing DNS queries for descendant names.
Create resolvers.txt with exactly three distinct resolver IP addresses. Then set a depth and save the structured evidence:
AUTHORIZED_DOMAIN='replace-with-a-domain-you-control'
uv run theHarvester \
-d "$AUTHORIZED_DOMAIN" \
-b crtsh \
--dns-resolvers resolvers.txt \
--dns-recursive-depth 1 \
-f reportRecursive DNS uses source results as seed names. Set the depth explicitly; query and runtime caps still apply. JSONL keeps the discovered hostnames and addresses along with recursive finding, classification, and summary records.
Network activity: provider-facing discovery followed by target-facing checks.
AUTHORIZED_DOMAIN='replace-with-a-domain-you-control'
uv run theHarvester -d "$AUTHORIZED_DOMAIN" -b crtsh,certspotter -tTreat matches as leads requiring manual confirmation. Do not claim a takeover from a fingerprint match alone.
Network activity: provider-facing RouteViews requests.
Set an ASN that is part of the authorized assessment scope:
AUTHORIZED_ASN='replace-with-an-authorized-asn'
uv run theHarvester -d "$AUTHORIZED_ASN" --routeviews -f reportThe target may also be an authorized IP or CIDR. The action writes external routing relationships and RPKI observations to report.jsonl. These records can guide analysis, but they do not establish ownership, authorization, or reachability. RouteViews is never enabled by -b all; see Responsible Use and Scope for its fixed limits.
Network activity: provider-facing discovery followed by target-facing requests to harvested IP endpoints.
AUTHORIZED_DOMAIN='replace-with-a-domain-you-control'
uv run theHarvester -d "$AUTHORIZED_DOMAIN" -b rapiddns --vhost -f reportThe action keeps only confirmed hostnames and records endpoint observations in JSONL. Read Virtual Host Discovery before changing its endpoint, candidate, request, runtime, or TLS controls.
Install Chromium first, then choose an output directory:
Network activity: provider-facing discovery, resolver-facing DNS, and target-facing browser requests.
uv run playwright install chromium
AUTHORIZED_DOMAIN='replace-with-a-domain-you-control'
uv run theHarvester -d "$AUTHORIZED_DOMAIN" -b crtsh -r --screenshot screenshotsScreenshots actively open discovered web services and may retain sensitive page content.
Network activity: target-facing HTTP requests.
AUTHORIZED_DOMAIN='replace-with-a-domain-you-control'
uv run theHarvester -d "$AUTHORIZED_DOMAIN" -aProvide a custom path wordlist with -w FILE. This sends requests directly to the target and must be explicitly in scope.
When a combined run fails, rerun only the affected source with a conservative result limit:
Network activity: provider-facing lookup to the named source.
uv run theHarvester -d example.com -b source-name -l 10Check the provider's current status, authentication requirements, rate limits, and terms before reporting a tool defect.
Repository · Releases · Issues · Contributing · Security · License
Reviewed wiki changes belong in docs/wiki/. The live GitHub wiki is the published copy.