Updated Oct 13, 2026

Recon

Collect related domains without touching the target

assetfinder is a Go command-line tool by tomnomnom that finds domains and subdomains potentially related to a given domain by querying passive sources such as crt.sh, certspotter, HackerTarget, and the Wayback Machine.

installgo install github.com/tomnomnom/assetfinder@latest

Go · MIT license

Agent

overview

What assetfinder does

assetfinder seeds attack-surface maps with related domains and subdomains pulled from passive sources such as certificate transparency and public datasets.

Run it first when you want names without sending traffic to the target. Add --subs-only when sibling root domains should stay out of the list.

Trickest provides assetfinder as a managed Recon node. Input a domain or domains file; take FILE and FOLDER names into a resolver and httpx. Prefer subfinder or amass when you need wider source coverage in one pass.

source github.com/tomnomnom/assetfinder

use cases

Where assetfinder fits

Seed an attack-surface map

Run assetfinder on a root domain to get a passive list of related names before any active scanning touches the target.

Find related assets across root domains

Let assetfinder surface domains the organization owns beyond the one you queried, widening scope past a single-domain search.

Feed a resolve-and-probe pipeline

Pass discovered names to a DNS resolver and httpx so the workflow keeps only the subdomains that resolve and answer.

Enumerate many domains at once

Supply a domains file to map several footprints in a single run and write the combined name list for downstream nodes.

reference

assetfinder inputs and flags

3 inputs
NameTypeFlagDescription
domainSTRING·Domain name to find related domains and subdomains for.
domainsFILE·File containing a list of domain names for bulk discovery.
subs-onlyBOOLEAN--subs-onlyOnly include subdomains of the search domain.

Showing key inputs. assetfinder exposes 3 inputs in total.

example

Run assetfinder

assetfinder · command
# subdomains and related domains across roots
assetfinder example.com > assets.txt
# restrict output to subdomains of the target
assetfinder --subs-only example.com > subs.txt
sample output
example.com
www.example.com
api.example.com
mail.example.com
blog.example.com
dev.example.com
example.net
cdn.example.net
status.example.org

guidance

Choosing assetfinder

Use assetfinder for a passive first pass at related names for a domain. It finds names; it does not resolve or probe them. Follow with a resolver and httpx. Reach for subfinder or amass when you need broader source coverage.

subfinder

Passive subdomain discovery across more sources. assetfinder is lighter and also surfaces related root domains.

amass

Deeper OSINT with active options. Heavier, but maps more of an organization's footprint.

findomain

Cross-platform subdomain finder. A close sibling for a quick passive sweep.

faq

assetfinder questions

--subs-only keeps only subdomains of the domain you queried and drops related root domains. Use it when you want a clean subdomain list. In the Trickest node, toggle the subs-only input.

No. It queries third-party passive sources for names associated with the domain. Contact starts only when you pass names to a resolver or HTTP prober.

assetfinder has no output-file flag. It prints one name per line to stdout, so redirect or pipe it. In a Trickest workflow the node writes a file and a folder for downstream reads.

assetfinder finds names; it does not test them. Feed output to a DNS resolver, then to httpx for HTTP and HTTPS responses.

Pick assetfinder for a light passive pass that can also surface related root domains. Prefer subfinder when you want broader source coverage on subdomains alone.

Run assetfinder yourself

A domain feeds assetfinder, which gathers related names passively and passes them to httpx so only the live ones land as output.

Facts on this page come from the live Trickest tool library.