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

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

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

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

工具目录

分类

查看所有分类
Loading categories
swaggerHole — 一个用于在 SwaggerHub 上搜索机密的 Python3 脚本 | Kitploit
工具/GitHubGitHub/liodeus/swaggerhole
OSINT (开源情报)侦察信息收集秘密检测API 安全
GitHubliodeus/swaggerhole

swaggerHole

一个用于在 SwaggerHub 上搜索机密的 Python3 脚本

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

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

logo

一个用于在 SwaggerHub 上搜索秘密的 Python3 脚本

引言 • 依赖 • 安装 • 用法 • 输出说明 • 鸣谢

由 Liodeus 创建

引言

该工具旨在自动化从 SwaggerHub 上的公共 API 中检索秘密的过程。此工具支持多线程,并且可以使用管道模式 :)

依赖

  • python3(sudo apt install python3)
  • pip3(sudo apt install python3-pip)

安装

root@kitploit:~
pip3 install swaggerhole

或克隆此仓库并运行

root@kitploit:~
git clone https://github.com/Liodeus/swaggerHole.git
pip3 install .

用法

root@kitploit:~
   _____ _      __ ____ _ ____ _ ____ _ ___   _____
  / ___/| | /| / // __ `// __ `// __ `// _ \ / ___/
 (__  ) | |/ |/ // /_/ // /_/ // /_/ //  __// /    
/____/  |__/|__/ \__,_/ \__, / \__, / \___//_/     
    __  __        __   /____/ /____/               
   / / / /____   / /___                            
  / /_/ // __ \ / // _ \                           
 / __  // /_/ // //  __/                           
/_/ /_/ \____//_/ \___/                            
                                                   
usage: swaggerhole [-h] [-s SEARCH] [-o OUT] [-t THREADS] [-j] [-q] [-du] [-de]

optional arguments:
  -h, --help            显示此帮助信息并退出
  -s SEARCH, --search SEARCH
                        搜索词
  -o OUT, --out OUT     输出目录
  -t THREADS, --threads THREADS
                        线程数(默认 25)
  -j, --json            输出为 JSON 格式
  -q, --quiet           隐藏横幅
  -du, --deactivate_url
                        禁用 URL 过滤
  -de, --deactivate_email
                        禁用电子邮件过滤

搜索关于某个域名的秘密

root@kitploit:~
swaggerHole -s test.com

echo test.com | swaggerHole

搜索关于某个域名的秘密并输出为 JSON

root@kitploit:~
swaggerHole -s test.com --json

echo test.com | swaggerHole --json

搜索关于某个域名的秘密,快速完成 :)

root@kitploit:~
swaggerHole -s test.com -t 100

echo test.com | swaggerHole -t 100

输出说明

普通输出

Finding_Type - Finding - [Swagger_Name][Date_Last_Update][Line:Number]

JSON 输出

{"Finding_Type": Finding, "File": File_path, "Date": Date_Last_Update, "Line": Number}

禁用 URL/电子邮件

使用 -du 或 -de 可移除工具的过滤功能。使用这些选项会出现更多误报。

鸣谢

TODO

下载工具