---
description: OG tool
---

# Subfinder

```
#install

go install -v github.com/projectdiscovery/subfinder/v2/cmd/subfinder@latest

#usage

subfinder -d target.com
subfinder -dL targets.txt
subfinder -dL targets.txt -all -recursive -o results.txt
subfinder -dL targets.txt | httpx -title -sc 200 (pipe into httpx)
subfinder -d target.com -silent | httpx -silent -follow-redirects -mc 200 | cut -d '/' -f3 | sort -u

```
