ENNAENNA

Subfinder Cheat Sheet

Passive subdomain discovery tool that aggregates results from dozens of sources. Fast, configurable, and designed to integrate with the ProjectDiscovery toolchain.

View Subfinder tool page

Basic Usage

Enumerate subdomains for a single domain

$ subfinder -d target.com

Enumerate subdomains for a list of domains from a file

$ subfinder -dL domains.txt

Recursively enumerate subdomains of discovered subdomains

$ subfinder -d target.com -recursive

Use all sources including slower ones for maximum coverage

$ subfinder -d target.com -all

Source Configuration

Use only specific enumeration sources

$ subfinder -d target.com -sources shodan,virustotal,censys

Exclude specific sources from enumeration

$ subfinder -d target.com -es github,rapiddns

List all available subdomain enumeration sources

$ subfinder -ls

Remove wildcard and dead subdomains from results

$ subfinder -d target.com -nW

Output Options

Save discovered subdomains to a text file

$ subfinder -d target.com -o subdomains.txt

Output results in JSON format with source metadata

$ subfinder -d target.com -oJ -o subdomains.json

Include the source that found each subdomain in output

$ subfinder -d target.com -cs -o results.txt

Output only subdomains with no banner or status info

$ subfinder -d target.com -silent

Pipeline Integration

Pipe subdomains to httpx to find live web servers

$ subfinder -d target.com -silent | httpx -silent

Full recon pipeline: subdomains to live hosts to critical vulns

$ subfinder -d target.com -silent | httpx -silent | nuclei -s critical

Resolve discovered subdomains and display A records

$ subfinder -d target.com -silent | dnsx -a -resp

Port scan discovered subdomains for common web ports

$ subfinder -d target.com -silent | naabu -p 80,443,8080,8443 -silent

Probe subdomains for titles, status codes, and technologies

$ subfinder -d target.com -silent | httpx -title -status-code -tech-detect

More Cheat Sheets