Subfinder

subfinder

Sameh1200 Updated

File contents

subfinder

Repo

https://github.com/projectdiscovery/subfinder

Installation

# Go install (recommended)
go install -v github.com/projectdiscovery/subfinder/v2/cmd/subfinder@latest

# Binary
wget https://github.com/projectdiscovery/subfinder/releases/latest/download/subfinder_linux_amd64.zip
unzip subfinder_linux_amd64.zip
sudo mv subfinder /usr/local/bin/

# PATH
export PATH=$PATH:$(go env GOPATH)/bin

Using

# Single domain
subfinder -d target.com -o subs.txt

# All sources
subfinder -d target.com -all -o subs.txt

# Domain list
subfinder -dL domains.txt -o all_subs.txt

# Silent pipe
subfinder -d target.com -silent | httpx -silent

Current Step

Passive subdomain enumeration. First recon phase.

Next Step

Resolve with dnsx → probe live hosts with httpx → feed into nuclei or amass for deeper mapping.

Errors Fixes

  • Empty results → configure API keys in ~/.config/subfinder/provider-config.yaml
  • Rate limit → lower -rl or restrict sources with -s
  • go: command not found → install golang-go then re-run go install
  • Binary not found → add $(go env GOPATH)/bin to PATH

Sameh1200/HajrasSkillsToolsMCP/tree/main/subfinder commit c39adca29f

Frequently asked questions

npx skillmds@latest add sameh1200/subfinder