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

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

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

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

工具目录

分类

查看所有分类
Loading categories
jsubfinder — 基于Go的工具,扫描网页和JavaScript文件以发现隐藏的子域名和秘密,具有可选的爬取和实时代理分析功能,适用于漏洞赏金和渗透测试工作流程。 | Kitploit
工具/GitHubGitHub/threatunknown/jsubfinder
OSINT (开源情报)侦察信息收集Web安全秘密检测子域名枚举
GitHubthreatunknown/jsubfinder

jsubfinder

基于Go的工具,扫描网页和JavaScript文件以发现隐藏的子域名和秘密,具有可选的爬取和实时代理分析功能,适用于漏洞赏金和渗透测试工作流程。

查看仓库
283351年前Kitploit 审核通过

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享
网站

jsubfinder logo

JSubFinder 是一款用 Go 语言编写的工具,用于在给定的 URL 中搜索网页和 JavaScript 中的隐藏子域名和秘密。该工具专为 BugBounty 研究人员设计,利用 Go 语言卓越的性能,能够处理大型数据集,并轻松与其他工具链结合使用。

z69D8q

安装


安装应用程序并下载查找秘密所需的签名文件

使用 GO:

root@kitploit:~
go install github.com/ThreatUnkown/jsubfinder@latest
wget https://raw.githubusercontent.com/ThreatUnkown/jsubfinder/master/.jsf_signatures.yaml && mv .jsf_signatures.yaml ~/.jsf_signatures.yaml

或

下载页面

基本用法


搜索

搜索指定 URL 中的子域名和秘密

root@kitploit:~
$ jsubfinder search -h

执行指定的命令

用法:
  JSubFinder search [flags]

标志:
  -c, --crawl              启用爬取
  -g, --greedy             检查所有文件中的 URL,而不仅仅是 JavaScript 文件
  -h, --help               search 的帮助信息
  -f, --inputFile string   包含域名的文件
  -t, --threads int        使用的线程数(默认为 5)
  -u, --url strings        要检查的 URL

全局标志:
  -d, --debug               启用调试模式。日志存储在 log.info 中
  -K, --nossl               跳过 SSL 证书验证(默认为 true)
  -o, --outputFile string   保存文件的名称/路径
  -s, --secrets             检查结果中是否包含秘密(例如 API 密钥)
      --sig string          查找秘密的签名文件路径
  -S, --silent              禁止打印到控制台

示例(此处的结果相同):

root@kitploit:~
$ jsubfinder search -u www.google.com
$ jsubfinder search -f file.txt
$ echo www.google.com | jsubfinder search
$ echo www.google.com | httpx --silent | jsubfinder search$

apis.google.com
ogs.google.com
store.google.com
mail.google.com
accounts.google.com
www.google.com
policies.google.com
support.google.com
adservice.google.com
play.google.com

启用秘密检测

注意 --secrets="" 会将秘密结果保存到 secrets.txt 文件中

root@kitploit:~

$ echo www.youtube.com | jsubfinder search --secrets=""
www.youtube.com
youtubei.youtube.com
payments.youtube.com
2Fwww.youtube.com
252Fwww.youtube.com
m.youtube.com
tv.youtube.com
music.youtube.com
creatoracademy.youtube.com
artists.youtube.com

Google Cloud API Key <redacted> found in content of https://www.youtube.com
Google Cloud API Key <redacted> found in content of https://www.youtube.com
Google Cloud API Key <redacted> found in content of https://www.youtube.com
Google Cloud API Key <redacted> found in content of https://www.youtube.com
Google Cloud API Key <redacted> found in content of https://www.youtube.com
Google Cloud API Key <redacted> found in content of https://www.youtube.com

高级示例

root@kitploit:~
$ echo www.google.com | jsubfinder search -crawl -s "google_secrets.txt" -S -o jsf_google.txt -t 10 -g
  • -crawl 使用默认爬虫爬取页面,寻找其他要分析的 URL
  • -s 启用 JSubFinder 搜索秘密
  • -S 静默输出到控制台
  • -o <file> 将输出保存到指定文件
  • -t 10 使用 10 个线程
  • -g 搜索每个 URL 中的 JS,即使我们怀疑其中没有 JS

代理

启用支持 TLS MITM 的上游 HTTP 代理。这允许您:

  1. 实时浏览网站,让 JSubFinder 实时搜索子域名和秘密。
  2. 如果需要,可在另一台服务器上运行 JSubFinder 以分担工作负载。
root@kitploit:~
$ JSubFinder proxy -h

执行指定的命令

用法:
  JSubFinder proxy [flags]

标志:
  -h, --help                    proxy 的帮助信息
  -p, --port int                代理监听的端口(默认为 8444)
      --scope strings           范围内的 URL,以逗号分隔。例如 www.google.com,www.netflix.com
  -u, --upstream-proxy string   上游代理的地址,例如 http://127.0.0.1:8888(默认为 "http://127.0.0.1:8888")

全局标志:
  -d, --debug               启用调试模式。日志存储在 log.info 中
  -K, --nossl               跳过 SSL 证书验证(默认为 true)
  -o, --outputFile string   保存文件的名称/路径
  -s, --secrets             检查结果中是否包含秘密(例如 API 密钥)
      --sig string          查找秘密的签名文件路径
  -S, --silent              禁止打印到控制台
root@kitploit:~
$ jsubfinder proxy
Proxy started on :8444
Subdomain: out.reddit.com
Subdomain: www.reddit.com
Subdomain: 2Fwww.reddit.com
Subdomain: alb.reddit.com
Subdomain: about.reddit.com

与 Burp Suite 配合使用

  1. 配置 Burp Suite 将流量转发到上游代理(用户选项 > 连接 > 上游代理服务器 > 添加)
  2. 以代理模式运行 JSubFinder

Burp Suite 现在将通过代理传递的所有流量转发给 JSubFinder。JSubFinder 将获取响应,将其返回给 Burp,并在另一个线程中搜索子域名和秘密。

与 Proxify 配合使用

  1. 启动 Proxify 并将流量转储到一个文件夹中 proxify -output logs
  2. 配置 Burp Suite、浏览器或其他工具,将流量转发到 Proxify(参见其 github 页面 上的说明)
  3. 以代理模式启动 JSubFinder,并将上游代理设置为 Proxify jsubfinder proxy -u http://127.0.0.1:8443
  4. 使用 Proxify 的重放工具将转储的流量重放到 JSubFinder replay -output logs -burp-addr http://127.0.0.1:8444

在另一台服务器上运行

很简单,在另一台服务器(例如 192.168.1.2)上以代理模式运行 JSubFinder。按照上述代理步骤操作,但将应用程序的上游代理设置为 192.168.1.2:8443

高级示例

root@kitploit:~
$ jsubfinder proxy --scope www.reddit.com -p 8081 -S -o jsf_reddit.txt
  • --scope 限制 JSubFinder 仅分析来自 www.reddit.com 的响应
  • -p JSubFinder 代理服务器运行的端口
  • -S 静默输出到控制台/stdout
  • -o <file> 将输出示例保存到此文件
下载工具