Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
subfinder — 快速被动子域名枚举工具。 | Kitploit
工具/GitHubGitHub/projectdiscovery/subfinder
OSINT (开源情报)侦察DNS和子域名枚举信息收集渗透测试子域名枚举红队
GitHubprojectdiscovery/subfinder

subfinder

快速被动子域名枚举工具。

查看仓库
14.2k1.6k10小时19分前Kitploit 审核通过

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享
网站

subfinder

快速被动的子域枚举工具。

功能特性 • 安装 • 使用方法 • API 设置 • 库 • 加入 Discord


subfinder 是一款子域发现工具,使用被动在线源返回网站的有效子域。它具有简单、模块化的架构,并针对速度进行了优化。subfinder 只专注于做一件事——被动子域枚举,而且做得非常好。

我们已使其符合所有使用的被动源许可证和使用限制。被动模式保证了速度和隐蔽性,渗透测试人员和漏洞赏金猎人同样可以利用这些优势。

功能特性

subfinder

  • 快速且强大的解析和通配符消除模块
  • 精选被动源以最大化结果
  • 支持多种输出格式(JSON、文件、stdout)
  • 针对速度优化且对资源轻量
  • STDIN/OUT 支持可轻松集成到工作流中

使用方法

root@kitploit:~
subfinder -h

这将显示工具的帮助信息。以下是它支持的所有参数。

root@kitploit:~
Usage:
  ./subfinder [flags]

Flags:
INPUT:
  -d, -domain string[]  domains to find subdomains for
  -dL, -list string     file containing list of domains for subdomain discovery

SOURCE:
  -s, -sources string[]           specific sources to use for discovery (-s crtsh,github). Use -ls to display all available sources.
  -recursive                      use only sources that can handle subdomains recursively (e.g. subdomain.domain.tld vs domain.tld)
  -all                            use all sources for enumeration (slow)
  -es, -exclude-sources string[]  sources to exclude from enumeration (-es alienvault,zoomeyeapi)

FILTER:
  -m, -match string[]   subdomain or list of subdomain to match (file or comma separated)
  -f, -filter string[]   subdomain or list of subdomain to filter (file or comma separated)

RATE-LIMIT:
  -rl, -rate-limit int  maximum number of http requests to send per second
  -rls value            maximum number of http requests to send per second for providers in key=value format (-rls "hackertarget=10/s,shodan=15/s")
  -t int                number of concurrent goroutines for resolving (-active only) (default 10)

UPDATE:
  -up, -update                 update subfinder to latest version
  -duc, -disable-update-check  disable automatic subfinder update check

OUTPUT:
  -o, -output string       file to write output to
  -oJ, -json               write output in JSONL(ines) format
  -oD, -output-dir string  directory to write output (-dL only)
  -cs, -collect-sources    include all sources in the output (-json only)
  -oI, -ip                 include host IP in output (-active only)

CONFIGURATION:
  -config string                flag config file (default "$CONFIG/subfinder/config.yaml")
  -pc, -provider-config string  provider config file (default "$CONFIG/subfinder/provider-config.yaml")
  -r string[]                   comma separated list of resolvers to use
  -rL, -rlist string            file containing list of resolvers to use
  -nW, -active                  display active subdomains only
  -proxy string                 http proxy to use with subfinder
  -ei, -exclude-ip              exclude IPs from the list of domains
  -mr, -max-results int         limit the number of results per source (0 = unlimited; honored by paginating sources)

DEBUG:
  -silent             show only subdomains in output
  -version            show version of subfinder
  -v                  show verbose output
  -nc, -no-color      disable color in output
  -ls, -list-sources  list all available sources (-oJ for JSON)

OPTIMIZATION:
  -timeout int   seconds to wait before timing out (default 30)
  -max-time int  minutes to wait for enumeration results (default 10)

环境变量

Subfinder 支持使用环境变量来指定配置文件的自定义路径:

  • SUBFINDER_CONFIG - config.yaml 文件的路径(覆盖默认的 $CONFIG/subfinder/config.yaml)
  • SUBFINDER_PROVIDER_CONFIG - provider-config.yaml 文件的路径(覆盖默认的 $CONFIG/subfinder/provider-config.yaml)

安装

subfinder 需要 go1.24 才能成功安装。运行以下命令安装最新版本:

root@kitploit:~
go install -v github.com/projectdiscovery/subfinder/v2/cmd/subfinder@latest

了解更多安装 subfinder 的方法:https://docs.projectdiscovery.io/tools/subfinder/install。

安装后说明

subfinder 安装后即可使用,但许多源需要 API 密钥才能正常工作。了解更多:https://docs.projectdiscovery.io/tools/subfinder/install#post-install-configuration。

运行 Subfinder

了解如何运行 Subfinder:https://docs.projectdiscovery.io/tools/subfinder/running。

Subfinder Go 库

Subfinder 也可以作为库使用,此处 提供了使用 subfinder SDK 的最小示例。

资源

  • 和我一起侦察 !!!

许可证

subfinder 由 projectdiscovery 团队用 🖤 打造。社区贡献使该项目成为今天的样子。有关更多详细信息,请参阅 THANKS.md 文件。

请阅读 DISCLAIMER.md 中的使用免责声明,如有任何 API 移除需求,请联系我们。

下载工具