Homebrew
RecommendedHomebrewbrew install subfinder
Passive subdomain discovery through public sources
Subfinder assembles a domain's subname list from certificate transparency logs, search engines and data-source APIs — passively, meaning it does not poke your target. The list it produces is the input to every later step of an authorized review.
Supported platforms
6
Documented install or usage guidance
Learning curve
beginner
Difficulty of becoming productive, not of the underlying theory
Tags
subdomains, passive, cert transparency, attack surface
Dataset entry
subfinder.ts
Reviewed 2025-12-30
Grouped by platform. Elevation requirements are marked per method.
brew install subfinder
go install -v github.com/projectdiscovery/subfinder/v2/cmd/subfinder@latest
Needs elevated privileges (sudo / Administrator).
sudo apt install subfinder
Package availability follows your distribution and enabled repositories. Entry revised 30 Dec 2025 — confirm the current release on the project's own download page.
Every command carries its purpose, an example where useful, and the limitations that change how you should read the output.
Queries all enabled sources and writes a deduplicated list.
subfinder -d example.org -o subs.txt -silent
`-all` is slower and more likely to be throttled, but finds names the fast sources miss.
subfinder -d example.org -all -timeout 8 -retries 2
Resolution filters historic log entries that no longer point anywhere.
subfinder -d example.org -recursive -resolve -o live.txt
Notes
Sources like SecurityTrails, VirusTotal and Censys need credentials in the provider config.
$EDITOR ~/.config/subfinder/provider-config.yaml
Notes
Symptoms you will actually hit, with the cause and the legitimate fix.
Possible causes
Usual fix
Add keys, run with `-all -silent -o`, and keep both outputs to compare; log which sources were enabled.
Possible causes
Usual fix
Cache and space out runs; `--provider` lets you query one source at a time.
Not documented yet: amass. Request an entry and it will link up automatically.Request a tool
Side-by-side
Where to verify anything on this page. External links open in a new tab.
theHarvester cover adjacent parts of the same job.