wgpsec/aboutsecurity/subfinder-recon

Claude Code and agent skill by wgpsec/aboutsecurity

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

使用 subfinder 进行被动子域名枚举。当需要发现目标域名的子域名、扩展攻击面时使用。subfinder 是 ProjectDiscovery 出品的被动子域名发现工具,聚合 Shodan、Censys、SecurityTrails、VirusTotal 等多数据源,快速且隐蔽。任何涉及子域名枚举、攻击面发现、被动信息收集的场景都应使用此技能

Install

npx vskill@latest install wgpsec/aboutsecurity/subfinder-recon

SKILL.md

The same SKILL.md was published earlier as wgpsec/aboutsecurity/subfinder-recon.

subfinder 被动子域名枚举方法论

subfinder 是 ProjectDiscovery 出品的被动子域名发现工具。核心优势:纯被动(不产生目标流量)+ 多数据源聚合(40+ 源)+ 管道友好。

项目地址:https://github.com/projectdiscovery/subfinder

Phase 1: 基本使用

bash
# 单个域名
subfinder -d target.com
# 静默输出(只输出子域名)
subfinder -d target.com -silent
# 多个域名
subfinder -dL domains.txt -silent
# 输出到文件
subfinder -d target.com -o subdomains.txt

Phase 2: 数据源配置

bash
# 使用全部数据源(更全面,较慢)
subfinder -d target.com -all
# 指定数据源
subfinder -d target.com -s crtsh,github,shodan
# 查看可用数据源
subfinder -ls
# 排除特定数据源
subfinder -d target.com -es github,rapiddns

API Key 配置:编辑 ~/.config/subfinder/provider-config.yaml 添加 API Key 可大幅提升效果。

Phase 3: 管道集成

bash
# 子域名 → HTTP 存活检测
subfinder -d target.com -silent | httpx -silent
# 子域名 → 端口扫描 → HTTP 存活
subfinder -d target.com -silent | naabu -p 80,443 -silent | httpx -silent
# 子域名 → 存活 → 漏洞扫描(完整链)
subfinder -d target.com -silent | httpx -silent | nuclei -severity critical,high
# 子域名 → DNS 解析
subfinder -d target.com -silent | dnsx -a -resp -silent
# 子域名 → IP 去重
subfinder -d target.com -silent | dnsx -a -resp-only -silent | sort -u

Phase 4: 高级选项

bash
# 递归子域名发现
subfinder -d target.com -recursive
# JSON 输出
subfinder -d target.com -json -o results.json
# 控制并发
subfinder -d target.com -t 50
# 设置超时
subfinder -d target.com -timeout 30
# 只显示特定数据源的结果
subfinder -d target.com -cs -silent

常用场景速查

场景命令
快速枚举subfinder -d target.com -silent
全面枚举subfinder -d target.com -all -silent
批量域名subfinder -dL domains.txt -silent -o all_subs.txt
接管检测链`subfinder -d target.com -silent \httpx -silent \nuclei -t takeovers/`

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
1,555
Repository forks
228
7-day trend score
37

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Grok Build (Cursor)
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/wgpsec/aboutsecurity/subfinder-recon/badge)](https://verified-skill.com/skills/wgpsec/aboutsecurity/subfinder-recon)

Something wrong with this skill or its page? Tell us.