JS Secret Hunter 是一款高级 Python 工具,专为安全研究人员设计,用于自动检测客户端 JavaScript 中硬编码的机密信息。
与简单扫描器不同,V2 包含一个动态爬虫,它会解析目标网站的 HTML,自动提取所有已加载的 JavaScript 文件,从而确保全面覆盖。
<script src> 标签。config.js)。git clone [https://github.com/SohelYousef/JS-Secret-Hunter.git](https://github.com/SohelYousef/JS-Secret-Hunter.git)
cd JS-Secret-Hunter
pip install requests beautifulsoup4
## 功能
- 🔍 **基于正则的检测:**扫描以太坊私钥、AWS 密钥、Google API 密钥和通用令牌。
- ⚡ **快速扫描:**自动检查常见文件路径。
- 🛡️ **安全:**识别机密而不加以利用。
## 安装
```bash
git clone [https://github.com/SohelYousef/JS-Secret-Hunter.git](https://github.com/SohelYousef/JS-Secret-Hunter.git)
cd JS-Secret-Hunter
pip install requests
python3 scanner.py --url [https://target-website.com](https://target-website.com)
免责声明
此工具仅用于教育目的和经授权的安全评估。作者对任何滥用行为概不负责。