Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

subfinder

БесплатноБез исполняемых скриптовНе проверен

Discover subdomains of a target domain using passive and active enumeration techniques. Use when tasks involve subdomain enumeration, attack surface mapping…

TerminalSkillsот TerminalSkills★ 221 звезда на GitHub

Об этом скилле

Subfinder

Overview

Discover subdomains of a target domain using passive sources. Subfinder queries certificate transparency logs, DNS datasets, search engines, and other OSINT sources to enumerate subdomains without directly touching the target infrastructure.

Instructions

Installation

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

# Or download binary
# https://github.com/projectdiscovery/subfinder/releases

# Or Docker
docker pull projectdiscovery/subfinder:latest

Basic Usage

# Enumerate subdomains for a single domain
subfinder -d harborline-freight.com

# Multiple domains
subfinder -d harborline-freight.com,harborline-freight.io

# From a file of domains
subfinder -dL domains.txt

# Output to file
subfinder -d harborline-freight.com -o subdomains.txt

# JSON output (includes source information)
subfinder -d harborline-freight.com -oJ -o subdomains.json

Configuration

API keys for better results

Subfinder works without API keys but returns significantly more results with them. Configure in ~/.config/subfinder/provider-config.yaml:

# ~/.config/subfinder/provider-config.yaml
# Add API keys for passive sources to dramatically increase results

binaryedge:
  - your-binaryedge-api-key          # https://app.binaryedge.io

censys:
  - your-censys-api-id:api-secret    # https://search.censys.io/account/api

chaos:
  - your-chaos-api-key               # https://chaos.projectdiscovery.io

github:
  - your-github-token                # Personal access token (public repos scope)

shodan:
  - your-shodan-api-key              # https://account.shodan.io

securitytrails:
  - your-securitytrails-key          # https://securitytrails.com/app/account

virustotal:
  - your-virustotal-api-key          # https://www.virustotal.com/gui/my-apikey

# Free sources that don't need keys:
# Certificate Transparency (crtsh), DNSdumpster, HackerTarget,
# Wayback Machine, AlienVault OTX, RapidDNS

Source selection

# Use all sources (default)
subfinder -d harborline-freight.com -all

# Use only specific sources
subfinder -d harborline-freight.com -s crtsh,dnsdumpster,hackertarget

# Exclude noisy sources
subfinder -d harborline-freight.com -es github

# List available sources
subfinder -ls

Advanced Usage

Recursive-capable sources

Some sources (e.g. certain DNS datasets) can return subdomains of subdomains directly (e.g. dev.api.harborline-freight.com):

# Restrict enumeration to sources that support recursive discovery
subfinder -d harborline-freight.com -recursive

There is no depth-limiting flag — -recursive only changes which sources are queried, it does not control how many levels deep results go.

Filtering and processing

# Show only results from specific sources
subfinder -d harborline-freight.com -cs  # Show source for each subdomain

# Pipe to other tools for validation
subfinder -d harborline-freight.com -silent | httpx -silent  # Check which are live
subfinder -d harborline-freight.com -silent | dnsx -silent    # Resolve DNS
subfinder -d harborline-freight.com -silent | naabu -silent   # Port scan

# Rate limiting (respect API limits)
subfinder -d harborline-freight.com -rate-limit 5  # 5 requests/second max
subfinder -d harborline-freight.com -t 10          # 10 concurrent threads

Integration with other recon tools

# Full recon pipeline:
# 1. Find subdomains
subfinder -d harborline-freight.com -o subs.txt

# 2. Check which are live (httpx)
cat subs.txt | httpx -silent -status-code -title -o live.txt

# 3. Screenshot live hosts (gowitness)
cat live.txt | gowitness file -f -

# 4. Port scan discovered hosts (naabu)
cat subs.txt | naabu -silent -top-ports 1000 -o ports.txt

# 5. Run vulnerability scan (nuclei)
cat live.txt | nuclei -t cves/ -severity critical,high -o vulns.txt

Passive vs Active Enumeration

Subfinder is passive by default — it queries third-party data sources, NOT the target:

PASSIVE (subfinder default) — safe, stealthy
├── Certificate Transparency logs (crt.sh, Google CT)
├── DNS aggregation (SecurityTrails, DNSdumpster)
├── Search engines (Google, Bing dorking)
├── Threat intelligence (Shodan, Censys, BinaryEdge)
└── Internet archives (Wayback Machine)

ACTIVE (use additional tools) — touches the target
├── DNS brute-forcing (shuffledns, puredns)
├── DNS zone transfers (dig axfr)
├── Virtual host discovery (ffuf -H "Host: FUZZ.target.com")
└── TLS/SSL cert inspection (direct connection)

For authorized pentests, combine both: subfinder for passive discovery, then active brute-forcing for what passive sources missed.

Interpreting Results

Common subdomain patterns and what they reveal:

admin.harborline-freight.com        → Admin panel (high-value target)
staging.harborline-freight.com      → Staging environment (often less secured)
dev.harborline-freight.com          → Developme
Полный SKILL.md на GitHub

Установить subfinder в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

_scores.json

FAQ

Что делает скилл subfinder?

Discover subdomains of a target domain using passive and active enumeration techniques. Use when tasks involve subdomain enumeration, attack surface mapping, DNS reconnaissance, finding hidden services, identifying forgotten subdomains, or expanding the scope of a security assessment. Subfinder uses passive sources (certificate transparency logs, DNS datasets, search engines) to find subdomains without touching the target directly.

Как установить скилл subfinder?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл subfinder запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить subfinder с