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

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

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

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

工具目录

分类

查看所有分类
Loading categories
JSFScan.sh — Bug Bounty 中的 JavaScript 侦察自动化。 | Kitploit
工具/GitHubGitHub/kathanp19/jsfscan.sh
OSINT (开源情报)侦察漏洞分析信息收集Web安全
GitHubkathanp19/jsfscan.sh

JSFScan.sh

Bug Bounty 中的 JavaScript 侦察自动化。

查看仓库
1.1k1873年前Kitploit 审核通过

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

JSFScan.sh

博客地址位于 https://medium.com/@patelkathan22/beginners-guide-on-how-you-can-use-javascript-in-bugbounty-492f6eb1f9ea?sk=21500dc4288281c7e6ed2315943269e7

该脚本用于漏洞赏金中的JavaScript侦察自动化。只需传入子域名列表并根据偏好设置选项即可。

功能特性

root@kitploit:~
1 - Gather Jsfile Links from different sources.
2 - Import File Containing JSUrls
3 - Extract Endpoints from Jsfiles
4 - Find Secrets from Jsfiles
5 - Get Jsfiles store locally for manual analysis
6 - Make a Wordlist from Jsfiles
7 - Extract Variable names from jsfiles for possible XSS.
8 - Scan JsFiles For DomXSS.
9 - Generate Html Report.

安装

有两种执行方式:在主机上本地执行或在Docker容器中执行

本地安装所有依赖

注意:在本地运行安装脚本之前,请确保已正确安装golang。

root@kitploit:~
$ sudo chmod +x install.sh
$ ./install.sh

构建Docker容器

使用Docker版本时,所有内容将自动安装。只需执行以下命令:

root@kitploit:~
$ git clone https://github.com/KathanP19/JSFScan.sh
$ cd JSFScan.sh/
$ docker build . -t jsfscan

要启动预先配置的容器,请运行以下命令:

root@kitploit:~
$ docker run -it jsfscan "/bin/bash"

之后将打开一个交互式bash会话。

使用方法

目标列表应包含 https:// 和 http://,使用 httpx 或 httprobe 实现。

root@kitploit:~
https://hackerone.com
https://github.com

如果想添加cookie,请编辑第23行的命令 cat $target | hakrawler -js -cookie "cookie here" -depth 2 -scope subs -plain >> jsfile_links.txt

注意:如果觉得工具速度慢,请注释掉 JSFScan.sh 脚本第23行的 hakrawler 行,但这可能导致 js 文件链接略少。

root@kitploit:~
 _______ ______ _______ ______                          _     
(_______/ _____(_______/ _____)                        | |    
     _ ( (____  _____ ( (____   ____ _____ ____     ___| |__  
 _  | | \____ \|  ___) \____ \ / ___(____ |  _ \   /___|  _ \ 
| |_| | _____) | |     _____) ( (___/ ___ | | | |_|___ | | | |
 \___/ (______/|_|    (______/ \____\_____|_| |_(_(___/|_| |_|
                                                              
Usage: 
       -l   Gather Js Files Links
       -f   Import File Containing JS Urls
       -e   Gather Endpoints For JSFiles
       -s   Find Secrets For JSFiles
       -m   Fetch Js Files for manual testing
       -o   Make an Output Directory to put all things Together
       -w   Make a wordlist using words from jsfiles
       -v   Extract Vairables from the jsfiles
       -d   Scan for Possible DomXSS from jsfiles
       -r   Generate Scan Report in html
       --all Scan Everything!

在此处查看视频

JSFScan.sh

感谢您的尝试!

欢迎您的贡献和建议。

如果该项目对您有所帮助,您可以为请我喝杯咖啡 ;)

Buy Me A Coffee

下载工具