Skip to content
KitploitKITPLOIT
工具漏洞利用博客
Log in
提交
工具漏洞利用博客
提交

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

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

订阅源联系隐私© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
reconftw — reconFTW 是一款旨在通过对目标域运行最佳工具集以执行扫描和发现漏洞的自动侦察工具。 | Kitploit
工具/GitHubGitHub/six2dez/reconftw
OSINT (开源情报)侦察漏洞扫描器社会工程学OSINT端口扫描DNS和子域名枚举脚本与自动化信息收集Web安全渗透测试云安全子域名枚举
8.0k1.2k21321天前Kitploit 审核通过
分享
电子邮件收集
DNS 分析
DNS和子域名枚举 分类第 17 名
电子邮件收集 分类第 20 名
信息收集 分类第 6 名
OSINT (开源情报) 分类第 20 名
社会工程学OSINT 分类第 20 名
侦察 分类第 3 名
脚本与自动化 分类第 1 名
子域名枚举 分类第 17 名
GitHubsix2dez/reconftw

reconftw

reconFTW 是一款旨在通过对目标域运行最佳工具集以执行扫描和发现漏洞的自动侦察工具。

查看仓库网站
<h1 align="center">
  <br>
  <a href="https://github.com/six2dez/reconftw"><img src="https://raw.githubusercontent.com/six2dez/reconftw/main/images/banner.png" alt="reconftw"></a>
  <br>
  reconFTW
  <br>
</h1>

<p align="center">
  <a href="https://github.com/six2dez/reconftw/releases/tag/v4.1"><img src="https://img.shields.io/badge/release-v4.1-2ea043?style=for-the-badge" alt="Release"></a>
  <a href="https://opensource.org/licenses/MIT"><img src="https://img.shields.io/badge/License-MIT-yellow.svg?style=for-the-badge" alt="License"></a>
  <a href="https://github.com/six2dez/reconftw/issues?q=is%3Aissue+is%3Aclosed"><img src="https://img.shields.io/github/issues-closed-raw/six2dez/reconftw.svg?style=for-the-badge" alt="Closed Issues"></a>
  <a href="https://discord.gg/R5DdXVEdTy"><img src="https://img.shields.io/discord/1048623782912340038.svg?style=for-the-badge&amp;logo=discord&amp;label=discord" alt="Discord"></a>
  <a href="https://t.me/joinchat/H5bAaw3YbzzmI5co"><img src="https://img.shields.io/badge/telegram-@ReconFTW-26A5E4?style=for-the-badge&amp;logo=telegram&amp;logoColor=white" alt="Telegram"></a>
  <a href="https://twitter.com/Six2dez1"><img src="https://img.shields.io/badge/twitter-@Six2dez1-1D9BF0?style=for-the-badge&amp;logo=x&amp;logoColor=white" alt="Twitter"></a>
</p>

<p align="center">
  <a href="https://docs.reconftw.com"><img src="https://img.shields.io/badge/GitBook-%23000000.svg?style=for-the-badge&amp;logo=gitbook&amp;logoColor=white" alt="Docs"></a>
  <a href="https://github.com/six2dez/reconftw"><img src="https://img.shields.io/badge/Bash%20Script-%23121011.svg?style=for-the-badge&amp;logo=gnu-bash&amp;logoColor=white" alt="Bash Script"></a>
  <a href="https://github.com/six2dez/reconftw"><img src="https://img.shields.io/badge/Linux-FCC624?style=for-the-badge&amp;logo=linux&amp;logoColor=black" alt="Linux"></a>
  <a href="https://github.com/six2dez/reconftw"><img src="https://img.shields.io/badge/macOS-000000?style=for-the-badge&amp;logo=macos&amp;logoColor=F0F0F0" alt="macOS"></a>
  <a href="https://github.com/six2dez/reconftw"><img src="https://img.shields.io/badge/github-%23121011.svg?style=for-the-badge&amp;logo=github&amp;logoColor=white" alt="GitHub"></a>
</p>

<p align="center">
  <a href="https://github.com/six2dez/reconftw/actions"><img src="https://img.shields.io/badge/github_actions-%232671E5.svg?style=for-the-badge&amp;logo=githubactions&amp;logoColor=white" alt="GitHub Actions"></a>
  <a href="https://hub.docker.com/r/six2dez/reconftw"><img src="https://img.shields.io/badge/docker-%230db7ed.svg?style=for-the-badge&amp;logo=docker&amp;logoColor=white" alt="Docker"></a>
  <a href="https://github.com/six2dez/reconftw/tree/main/Terraform"><img src="https://img.shields.io/badge/terraform-%23844FBA.svg?style=for-the-badge&amp;logo=terraform&amp;logoColor=white" alt="Terraform"></a>
  <a href="https://github.com/six2dez/reconftw/tree/main/Terraform"><img src="https://img.shields.io/badge/ansible-%231A1918.svg?style=for-the-badge&amp;logo=ansible&amp;logoColor=white" alt="Ansible"></a>
  <a href="https://github.com/six2dez/reconftw"><img src="https://img.shields.io/badge/Go-00ADD8.svg?style=for-the-badge&amp;logo=go&amp;logoColor=white" alt="Go"></a>
  <a href="https://github.com/six2dez/reconftw"><img src="https://img.shields.io/badge/Python-3776AB.svg?style=for-the-badge&amp;logo=python&amp;logoColor=white" alt="Python"></a>
</p>

<p align="center">
  <a href="https://www.buymeacoffee.com/six2dez"><img src="https://img.shields.io/badge/Buy%20Me%20a%20Coffee-ffdd00?style=for-the-badge&amp;logo=buy-me-a-coffee&amp;logoColor=black" alt="Buy Me a Coffee"></a>
  <a href="https://github.com/sponsors/six2dez"><img src="https://img.shields.io/badge/sponsor-30363D?style=for-the-badge&amp;logo=GitHub-Sponsors&amp;logoColor=EA4AAA" alt="GitHub Sponsors"></a>
  <a href="https://www.paypal.com/paypalme/six2dez"><img src="https://img.shields.io/badge/PayPal-00457C?style=for-the-badge&amp;logo=paypal&amp;logoColor=white" alt="PayPal"></a>
</p>

**reconFTW** 是一款专为安全研究人员和渗透测试人员设计的强大自动化侦察工具。它通过执行子域名枚举、漏洞扫描、OSINT 等操作,简化了针对目标收集情报的流程。凭借模块化设计、丰富的配置选项以及对 AX Framework 分布式扫描的支持,reconFTW 旨在高效地提供全面的结果。

reconFTW 利用了多种技术,包括被动和主动子域名发现、Web 漏洞检测(例如 XSS、SSRF、SQLi)、OSINT、目录模糊测试、端口扫描和截图。它与前沿工具和 API 集成,以最大化覆盖范围和准确性,确保您在侦察工作中保持领先。

**主要特性:**

- 全面的子域名枚举(被动、暴力破解、排列组合、证书透明度等)
- 针对 XSS、SSRF、SQLi、LFI、SSTI 等的漏洞扫描
- 针对电子邮件、元数据、API 泄露和第三方错误配置的 OSINT
- 使用 AX Framework 进行分布式扫描,加快执行速度
- 通过详细的配置文件实现可定制的工作流程
- 与 Faraday 集成,用于报告和可视化
- 支持 Docker、Terraform 和 Ansible 部署

**免责声明:** 未经事先同意使用 reconFTW 攻击目标属于违法行为。遵守所有适用法律是用户的责任。开发者对本工具造成的误用或损害不承担任何责任。请负责任地使用。

---

## 📔 目录

- [📔 目录](#-table-of-contents)
- [✨ 特性](#-features)
  - [OSINT](#osint)
  - [子域名](#subdomains)
  - [主机](#hosts)
  - [Web 分析](#web-analysis)
  - [漏洞检测](#vulnerability-checks)
  - [其他](#extras)
- [🏗️ 架构](#️-architecture)
- [💿 安装](#-installation)
  - [本地安装(PC/VPS/VM)](#local-installation-pcvpsvm)
  - [Docker](#docker)
  - [Terraform + Ansible](#terraform--ansible)
- [尝试 v2 beta 版(Go 重写)](#trying-the-v2-beta-go-rewrite)
- [⚙️ 配置](#️-configuration)
- [🚀 使用方法](#-usage)
  - [目标选项](#target-options)
  - [模式选项](#mode-options)
  - [通用选项](#general-options)
  - [使用示例](#example-usage)
- [☁️ AX Framework 支持(原 Axiom)](#️-ax-framework-support-previously-axiom)
- [💻 Faraday 支持](#-faraday-support)
- [🧠 AI 集成](#-ai-integration)
- [🗂️ 数据管理](#️-data-management)
  - [Makefile](#makefile)
  - [手动](#manual)
- [🧪 测试](#-testing)
- [思维导图/工作流程](#mindmapworkflow)
- [示例视频](#sample-video)
- [🤝 如何贡献](#-how-to-contribute)
- [🔒 安全性](#-security)
- [❓ 需要帮助?](#-need-help)
- [💖 支持本项目](#-support-this-project)
- [🙏 致谢](#-thanks)
- [📝 更新日志](#-changelog)
- [🛠️ 开发](#️-development)
- [📜 许可证](#-license)
- [⭐ Star 历史](#-star-history)

---

## ✨ 特性

reconFTW 拥有丰富的功能,使侦察工作更加彻底和高效。以下是其能力的详细分解,已更新以反映脚本和配置中的最新功能。

### OSINT

- **域名信息**:通过 WHOIS 查询获取域名注册详情([whois](https://github.com/rfc1036/whois))。
- **电子邮件和密码泄露**:搜索泄露的电子邮件和凭据([emailfinder](https://github.com/Josue87/EmailFinder) 和 [LeakSearch](https://github.com/JoelGMSec/LeakSearch))。
- **Microsoft 365/Azure 映射**:识别 Microsoft 365 和 Azure 租户([msftrecon](https://github.com/Arcanum-Sec/msftrecon))。
- **元数据提取**:从索引的 Office 文档中提取元数据([metagoofil](https://github.com/opsdisk/metagoofil))。
- **API 泄露**:检测公开来源中暴露的 API([porch-pirate](https://github.com/MandConsultingGroup/porch-pirate)、[SwaggerSpy](https://github.com/UndeadSec/SwaggerSpy) 和 [postleaksNg](https://github.com/six2dez/postleaksNG))。
- **Google Dorking**:自动化 Google dork 查询以查找敏感信息([dorks_hunter](https://github.com/six2dez/dorks_hunter) 和 [xnldorker](https://github.com/xnl-h4ck3r/xnldorker))。
- **GitHub 分析**:使用可选择的引擎扫描 GitHub 组织中的仓库和机密([enumerepo](https://github.com/trickest/enumerepo)、[trufflehog](https://github.com/trufflesecurity/trufflehog)、[gitleaks](https://github.com/gitleaks/gitleaks)、[titus](https://github.com/praetorian-inc/titus)、[noseyparker](https://github.com/praetorian-inc/noseyparker))。
- **GitHub Actions 审计(可选)**:使用 [gato](https://github.com/praetorian-inc/gato) 审计工作流工件和 CI/CD 暴露面。
- **第三方错误配置**:识别配置错误的第三方服务([misconfig-mapper](https://github.com/intigriti/misconfig-mapper))。
- **邮件卫生**:审查 SPF/DMARC 配置,以标记欺骗或投递问题。
- **云存储枚举**:调查各大提供商的存储桶是否存在暴露([cloud_enum](https://github.com/initstring/cloud_enum))。
- **可欺骗域名**:检查易受欺骗攻击的域名([spoofcheck](https://github.com/MattKeeley/Spoofy))。

### 子域名

- **被动枚举**:使用 API 和公开来源进行子域名发现([subfinder](https://github.com/projectdiscovery/subfinder) 和 [github-subdomains](https://github.com/gwen001/github-subdomains))。
- **证书透明度**:查询证书透明度日志([crt](https://github.com/cemulus/crt))。
- **NOERROR 发现**:识别具有 DNS NOERROR 响应的子域名([dnsx](https://github.com/projectdiscovery/dnsx),更多信息请参阅[此处](https://www.securesystems.de/blog/enhancing-subdomain-enumeration-ents-and-noerror/))。
- **暴力破解**:使用可自定义的字典执行 DNS 暴力破解([puredns](https://github.com/d3mondev/puredns) 和自定义字典)。
- **排列组合**:使用 AI、正则表达式和工具生成子域名排列组合([Gotator](https://github.com/Josue87/gotator) 作为唯一的排列引擎,外加 [regulator](https://github.com/cramppet/regulator) 和 [subwiz](https://github.com/hadriansecurity/subwiz))。
- **Web 抓取**:从被动 URL 来源和实时 Web 元数据中提取子域名([urlfinder](https://github.com/projectdiscovery/urlfinder)、[waymore](https://github.com/xnl-h4ck3r/waymore)、[httpx](https://github.com/projectdiscovery/httpx)、[csprecon](https://github.com/edoardottt/csprecon))。
- **DNS 记录**:解析子域名的 DNS 记录([dnsx](https://github.com/projectdiscovery/dnsx))。
- **Google Analytics**:通过 Analytics ID 识别子域名([AnalyticsRelationships](https://github.com/Josue87/AnalyticsRelationships))。
- **TLS 握手**:通过 TLS 端口发现子域名([tlsx](https://github.com/projectdiscovery/tlsx))。
- **递归搜索**:结合执行递归被动或暴力枚举([dsieve](https://github.com/trickest/dsieve))。
- **子域名接管**:检测易受攻击的子域名([nuclei](https://github.com/projectdiscovery/nuclei) 和 [dnstake](https://github.com/pwnesia/dnstake))。
- **DNS 区域传送**:检查配置错误的 DNS 区域传送([dig](https://linux.die.net/man/1/dig))。
- **云存储桶**:识别配置错误的云存储桶和暴露的存储资产([S3Scanner](https://github.com/sa7mon/S3Scanner) 和 [cloud_enum](https://github.com/initstring/cloud_enum))。
- **云覆盖说明**:用 cloud_enum 替换 CloudHunter 后,云存储桶检查不再包含阿里云 OSS 覆盖。
- **云输出迁移**:旧的 `cloudhunter_*` 存储桶工件已移除;请改用 `subdomains/cloud_enum_buckets_trufflehog.txt`。
- **反向 IP 查询**:通过 IP 范围发现子域名([hakip2host](https://github.com/hakluke/hakip2host))。

### 主机

- **IP 信息**:获取地理位置和 WHOIS 数据([ipinfo](https://www.ipinfo.io/))。
- **CDN 检测**:识别位于 CDN 后面的 IP([cdncheck](https://github.com/projectdiscovery/cdncheck))。
- **WAF 检测**:检测 Web 应用防火墙([wafw00f](https://github.com/EnableSecurity/wafw00f))。
- **端口扫描**:使用 [nmap](https://github.com/nmap/nmap) 进行主动扫描(可选地由 [naabu](https://github.com/projectdiscovery/naabu) 先行),并使用 [smap](https://github.com/s0md3v/Smap) 进行被动扫描。
- **服务指纹识别**:使用 [nerva](https://github.com/praetorian-inc/nerva) 对发现的主机:端口对上的暴露服务进行指纹识别。
- **服务漏洞(可选)**:深度端口扫描配置文件可通过 [vulners](https://github.com/vulnersCom/nmap-vulners) 使用 CVE 匹配来丰富结果。
- **密码喷洒**:尝试对已识别服务进行密码喷洒,并支持引擎选择([brutespray](https://github.com/x90skysn3k/brutespray) 或 [brutus](https://github.com/praetorian-inc/brutus))。
- **地理位置**:将 IP 地址映射到地理位置([ipinfo](https://www.ipinfo.io/))。
- **IPv6 发现**:当启用 `IPV6_SCAN` 时,可选择枚举和扫描发现的 IPv6 目标。

### Web 分析

- **Web 探测**:检测标准和非标准端口上的实时 Web 服务器([httpx](https://github.com/projectdiscovery/httpx))。
- **截图**:捕获网页截图([nuclei](https://github.com/projectdiscovery/nuclei))。
- **虚拟主机模糊测试**:通过模糊测试 HTTP 头来识别虚拟主机([VhostFinder](https://github.com/wdahlenburg/VhostFinder))。
- **CMS 检测**:识别内容管理系统([CMSeeK](https://github.com/Tuhinshubhra/CMSeeK))。
- **URL 提取**:被动和主动收集 URL([urlfinder](https://github.com/projectdiscovery/urlfinder)、[waymore](https://github.com/xnl-h4ck3r/waymore)、[katana](https://github.com/projectdiscovery/katana)、[github-endpoints](https://gist.github.com/six2dez/d1d516b606557526e9a78d7dd49cacd3) 和 [JSA](https://github.com/w9w/JSA))。
- **URL 模式分析**:使用模式对 URL 进行分类([urless](https://github.com/xnl-h4ck3r/urless)、[gf](https://github.com/tomnomnom/gf) 和 [gf-patterns](https://github.com/1ndianl33t/Gf-Patterns))。
- **Favicon 技术侦察**:通过 favicon 哈希识别技术([favirecon](https://github.com/edoardottt/favirecon))。
- **JavaScript 分析**:从 JS 文件中提取机密和端点([subjs](https://github.com/lc/subjs)、[JSA](https://github.com/w9w/JSA)、[xnLinkFinder](https://github.com/xnl-h4ck3r/xnLinkFinder)、[getjswords](https://github.com/m4ll0k/BBTz)、[mantra](https://github.com/MrEmpy/mantra)、[jsluice](https://github.com/BishopFox/jsluice))。
- **Source Map 提取**:从 JavaScript source map 中检索敏感数据([sourcemapper](https://github.com/denandz/sourcemapper))。
- **GraphQL 检测**:使用 nuclei 发现 GraphQL 端点,并可选择执行深度内省([GQLSpection](https://github.com/doyensec/GQLSpection))。
- **参数发现**:在端点上暴力破解隐藏参数([arjun](https://github.com/s0md3v/Arjun))。
- **WebSocket 审计**:验证 `ws://` 和 `wss://` 端点上的升级握手和来源处理。
- **gRPC 反射**:探测常见的 gRPC 端口以查找暴露的服务反射([grpcurl](https://github.com/fullstorydev/grpcurl))。
- **LLM 服务指纹识别(可选)**:使用 [julius](https://github.com/praetorian-inc/julius) 探测发现的 Web/API 端点以查找暴露的 LLM 服务。
- **模糊测试**:执行目录和参数模糊测试([ffuf](https://github.com/ffuf/ffuf))。
- **文件扩展名分类**:按文件扩展名组织 URL。
- **字典生成**:为模糊测试创建自定义字典。
- **密码字典**:从实时内容生成密码字典([cewler](https://github.com/roys/cewler))。
- **IIS 短文件名扫描**:检测 IIS 短文件名漏洞([shortscan](https://github.com/bitquark/shortscan))。

### 漏洞检测

- **CVE**:检查 CVE 和常见漏洞 [nuclei](https://github.com/projectdiscovery/nuclei)
- **Nuclei DAST**:在收集的 URL 和 GF 候选上运行 `nuclei -dast` 模板,以获得额外的 DAST 覆盖。
- **XSS**:测试跨站脚本漏洞([dalfox](https://github.com/hahwul/dalfox))。
- **SSL/TLS**:检查 SSL/TLS 错误配置([testssl](https://github.com/drwetter/testssl.sh))。
- **SSRF**:测试服务器端请求伪造([interactsh](https://github.com/projectdiscovery/interactsh)、使用 [ffuf](https://github.com/ffuf/ffuf) 的参数值,以及可选的备用协议载荷)。
- **CRLF**:检查 CRLF 注入漏洞([crlfuzz](https://github.com/dwisiswant0/crlfuzz))。
- **LFI**:通过模糊测试测试本地文件包含([ffuf](https://github.com/ffuf/ffuf))。
- **SSTI**:检测服务器端模板注入([TInjA](https://github.com/Hackmanit/TInjA))。
- **SQLi**:测试 SQL 注入([SQLMap](https://github.com/sqlmapproject/sqlmap) 和 [ghauri](https://github.com/r0oth3x49/ghauri))。
- **失效链接**:识别可能易受接管的失效链接和外部引用([second-order](https://github.com/mhmdiaa/second-order))。
- **命令注入**:测试命令注入漏洞([commix](https://github.com/commixproject/commix))。
- **HTTP 请求走私**:检查请求走私漏洞([smugglex](https://github.com/hahwul/smugglex))。
- **Web 缓存**:识别 Web 缓存漏洞([Web-Cache-Vulnerability-Scanner](https://github.com/Hackmanit/Web-Cache-Vulnerability-Scanner) 和 [toxicache](https://github.com/xhzeem/toxicache))。
- **4XX 绕过**:尝试绕过 4XX 响应([nomore403](https://github.com/devploit/nomore403))。
- **参数模糊测试**:对 URL 参数进行漏洞模糊测试([nuclei](https://github.com/projectdiscovery/nuclei))。

### 其他- **多线程**:优化性能([Interlace](https://github.com/codingo/Interlace))。
- **自定义解析器**:生成 DNS 解析器([dnsvalidator](https://github.com/vortexau/dnsvalidator))。
- **Docker 支持**:在 [DockerHub](https://hub.docker.com/r/six2dez/reconftw) 上提供官方 Docker 镜像。
- **AWS 部署**:通过 Terraform 和 Ansible 部署。
- **IP/CIDR 支持**:扫描 IP 范围和 CIDR 块。
- **扫描恢复**:从最后完成的步骤恢复扫描。
- **自定义输出**:将结果保存到用户定义的目录。
- **差异模式**:突出显示后续扫描中的新发现。
- **范围过滤**:支持范围内和范围外列表([inscope](https://github.com/tomnomnom/hacks/tree/master/inscope))。
- **通知**:通过 Slack、Discord 或 Telegram 发送警报([notify](https://github.com/projectdiscovery/notify))。
- **结果压缩**:压缩并发送结果。
- **Faraday 集成**:将结果导出到 [Faraday](https://github.com/infobyte/faraday) 以用于报告。
- **AI 报告生成**:使用本地 AI 模型生成报告([reconftw_ai](https://github.com/six2dez/reconftw_ai))。
- **快速重新扫描模式**:当未发现新资产时自动跳过繁重阶段(`--quick-rescan` / `QUICK_RESCAN`)。
- **热点列表构建器**:根据新发现对风险最高的资产进行评分和突出显示(`hotlist.txt`)。
- **命令追踪**:切换 `SHOW_COMMANDS` 以将每个执行的命令记录到目标日志中,用于调试。
- **资产存储**:当启用 `ASSET_STORE` 时,将发现追加到 `assets.jsonl` 以用于下游自动化。
- **合并报告**:在扫描结束时自动生成 `report/report.json` 和 `report/index.html`。
- **ARM 支持**:兼容 Raspberry Pi 和 ARM 架构(包括 MacOS MX)。
- **健康检查**:通过 `--health-check` 内置系统健康检查(也用于 Docker `HEALTHCHECK`)。
- **增量模式**:仅扫描自上次运行以来的新发现(`--incremental`)。
- **自适应速率限制**:在 429/503 错误时自动退避(`--adaptive-rate`)。
- **结构化日志**:可选的 JSON 日志输出,用于高级分析(`STRUCTURED_LOGGING`)。
- **输入清理**:所有用户输入均经过清理,以防止命令注入。
- **试运行模式**:预览将要执行的内容而不运行命令(`--dry-run`)。
- **并行模式**:并行运行独立功能以加快扫描速度(`--parallel`,使用 `--no-parallel` 禁用)。
- **模块化架构**:代码库拆分为 8 个专注模块,以提高可维护性。
- **机密管理**:环境变量、`secrets.cfg` 和 Docker 运行时机密(参见 [SECURITY.md](https://github.com/six2dez/reconftw/blob/main/SECURITY.md))。
- **断路器**:在重复失败后自动跳过工具,以避免扫描挂起。
- **检查点系统**:从最后一个成功阶段恢复中断的扫描。
- **macOS 原生支持**:完全兼容 macOS(BSD coreutils、Homebrew Bash 4+)。

---

## 🏗️ 架构

reconFTW 采用模块化架构。主入口点(`reconftw.sh`)处理参数解析,并从 `modules/` 目录中引入 8 个专用模块。

### 目录布局```
reconftw/
├── reconftw.sh          # Entry point — arg parsing, module loading, dispatch
├── reconftw.cfg         # Default configuration
├── install.sh           # Installer
├── Makefile             # Data management, lint, fmt, test targets
├── modules/
│   ├── core.sh          # Lifecycle, logging, notifications, cleanup (1024 lines)
│   ├── modes.sh         # Scan modes, argument parsing, help (902 lines)
│   ├── subdomains.sh    # Subdomain enumeration (1938 lines)
│   ├── web.sh           # Web analysis, fuzzing, JS checks (1712 lines)
│   ├── vulns.sh         # Vulnerability scanning (926 lines)
│   ├── osint.sh         # OSINT functions (500 lines)
│   ├── axiom.sh         # Ax/Axiom fleet helpers (143 lines)
│   └── utils.sh         # Utilities, sanitization, validation (508 lines)
├── tests/
│   ├── run_tests.sh     # Test runner
│   ├── unit/            # bats-core unit tests
│   ├── integration/     # Integration tests
│   └── fixtures/        # Test data
├── Docker/
│   └── Dockerfile       # Official Docker image
└── Terraform/           # AWS deployment
```
### 模块参考

| 模块 | 行数 | 用途 |
|--------|------:|---------|
| `core.sh` | 1024 | 生命周期管理、日志记录、通知、清理陷阱 |
| `modes.sh` | 902 | 扫描模式定义、参数解析、帮助输出 |
| `subdomains.sh` | 1938 | 所有子域名枚举功能 |
| `web.sh` | 1712 | Web 分析、模糊测试、JS 分析、CMS 检测 |
| `vulns.sh` | 926 | 漏洞扫描(XSS、SQLi、SSRF 等) |
| `osint.sh` | 500 | OSINT 功能(WHOIS、电子邮件、dorks、元数据) |
| `utils.sh` | 508 | 共享工具、输入清理、验证 |
| `axiom.sh` | 143 | Ax/Axiom 分布式集群管理 |

`--source-only` 标志允许在不执行主逻辑的情况下加载 `reconftw.sh`,从而支持对单个函数进行单元测试。

---

## 💿 安装

reconFTW 支持多种安装方法,以适应不同的环境。请确保有足够的磁盘空间(建议至少 10 GB)和稳定的互联网连接。

### 快速开始

1) 克隆并安装```yaml
git clone https://github.com/six2dez/reconftw
cd reconftw
./install.sh --verbose
```
2) 运行扫描(完整 + 恢复)```bash
./reconftw.sh -d example.com -r
```
3) 最小化运行(仅被动足迹)```bash
./reconftw.sh -d example.com -p
```
> 提示:之后重新运行 `./install.sh --tools` 可刷新工具链,而无需重新安装系统软件包。

### 本地安装(PC/VPS/VM)

1. **前置条件**:

   - **Golang**:最新版本(`reconftw.cfg` 中默认启用 `install_golang`)。
   - **系统权限**:如果未以 root 身份运行,请配置 sudo 以避免提示:
     ```bash
     sudo echo "${USERNAME} ALL=(ALL:ALL) NOPASSWD: ALL" | sudo tee -a /etc/sudoers.d/reconFTW
     ```

2. **步骤**:   ```bash
   git clone https://github.com/six2dez/reconftw
   cd reconftw
   ./install.sh
   ./reconftw.sh -d target.com -r
   ```
3. **注意事项**:
- `install.sh` 脚本会安装依赖、工具,并配置路径(`GOROOT`、`GOPATH`、`PATH`)。
- 如果 Golang 已配置好,请在 `reconftw.cfg` 中设置 `install_golang=false`。
- 对于已有环境,运行 `./install.sh --tools` 可刷新 Go 二进制文件、pipx 包和仓库,而不会改动系统包。
- 查看 [安装指南](https://github.com/six2dez/reconftw/wiki/0.-Installation-Guide) 获取详细说明。

### Docker

1. **拉取镜像**:   ```bash
   docker pull six2dez/reconftw:main
   ```
2. **运行容器**:   ```bash
   docker run -it --rm \
     -v "${PWD}/OutputFolder/:/reconftw/Recon/" \
     six2dez/reconftw:main -d example.com -r
   ```
对于目标列表,请将列表文件绑定到容器中,并引用容器内的路径:   ```bash
   docker run -it --rm \
     -v "${PWD}/domains.txt:/reconftw/domains.txt:ro" \
     -v "${PWD}/OutputFolder/:/reconftw/Recon/" \
     six2dez/reconftw:main -l /reconftw/domains.txt -r
   ```
3. **查看结果**:

   - 结果保存在主机的 `OutputFolder` 目录中(不在容器内)。

4. **自定义**:
   - 修改 Docker 镜像或自行构建;参见 [Docker 指南](https://github.com/six2dez/reconftw/wiki/4.-Docker)。
   - 要在自定义构建中跳过 Ax 工具,请传入 `--build-arg INSTALL_AXIOM=false`。
   - 如果使用通知功能,请将 notify 配置挂载到容器内的 `~/.config/notify/provider-config.yaml`。

5. **运行时的密钥**:

   通过环境变量传递 API 密钥和机密信息——切勿将其烘焙到镜像中:   ```bash
   docker run -it --rm \
     -e SHODAN_API_KEY="your-key" \
     -e PDCP_API_KEY="your-projectdiscovery-key" \
     -e COLLAB_SERVER="your-server" \
     -e XSS_SERVER="your-server" \
     -v "${PWD}/OutputFolder/:/reconftw/Recon/" \
     six2dez/reconftw:main -d example.com -r
   ```
参见 [SECURITY.md](https://github.com/six2dez/reconftw/blob/main/SECURITY.md) 获取完整的机密管理指南。

6. **健康检查**:

   Docker 镜像内置了 `HEALTHCHECK`,每 60 秒运行一次 `./reconftw.sh --health-check`。你也可以手动运行它:   ```bash
   docker exec <container-id> ./reconftw.sh --health-check
   ```
### Terraform + Ansible

- 使用 Terraform 和 Ansible 在 AWS 上部署 reconFTW。
- 按照 [Terraform/README.md](https://github.com/six2dez/reconftw/blob/main/Terraform/README.md) 中的指南进行设置。

---

## 尝试 v2 测试版(Go 重写)

reconFTW 正在用 Go 重写。该重写版本以**可选预发布版**形式提供:它列在
[发布页面](https://github.com/six2dez/reconftw/releases)上,而 GitHub
绝不会将 `releases/latest` 指向预发布版——因此,**如果你不做任何操作,你将继续获得
bash 版本。** 这是有意为之。

Go 二进制文件名为 `reconftw`;bash 入口点为 `reconftw.sh`。它们不会互相覆盖,
因此你可以同时保留两者,并随时回退。

当前测试版为 **`v5.0.0-beta.1`**。它不由 `releases/latest` 提供,因此你需要
显式指定标签:```bash
curl -sSL "https://github.com/six2dez/reconftw/releases/download/v5.0.0-beta.1/reconftw_Linux_x86_64.tar.gz" | tar xz
sudo install -m 755 reconftw /usr/local/bin/reconftw
reconftw version
```
从[发布页面](https://github.com/six2dez/reconftw/releases/tag/v5.0.0-beta.1)中选择与你的平台匹配的资产——`Darwin`和`arm64`构建、静态musl构建以及`.deb`/`.rpm`包均已发布。

- [**该beta版本是什么,以及它不是什么**](https://github.com/six2dez/reconftw/blob/main/docs/V2-BETA-ANNOUNCEMENT.md)——包括三件明确尚未完成的事项。
- [**报告问题**](https://github.com/six2dez/reconftw/issues/new?template=v2-beta-feedback.md)——v2 beta反馈模板。bash版本中的Bug仍提交至常规Bug报告。

## 🛠️ 故障排除

- macOS上的Bash 4+:脚本会在Homebrew Bash下自动重新启动。如果你看到关于Bash < 4的消息,请运行`brew install bash`,打开一个新终端,然后重新运行`./install.sh`。
- macOS上的timeout:macOS通过`brew install coreutils`提供`gtimeout`。脚本现在会自动检测并使用它。
- 网络问题:安装程序会隐藏大多数命令输出。如果出现问题,请在`reconftw.cfg`中设置`upgrade_tools=true`后重新运行,执行`./install.sh --tools`,或手动安装缺失的工具(错误信息会指明工具名称)。
- GOPATH二进制文件:二进制文件会被复制到`/usr/local/bin`。如果你不希望这样,请确保`~/go/bin`在你的`PATH`中。
- Nuclei模板:如果模板未被克隆,请删除`~/nuclei-templates`并重新运行`./install.sh`。

## 🔑 API清单(可选)

- `subfinder`:`~/.config/subfinder/provider-config.yaml`
- GitHub令牌:`~/Tools/.github_tokens`(每行一个)
- GitLab令牌:`~/Tools/.gitlab_tokens`(每行一个)
- WHOISXML:在`reconftw.cfg`或环境变量中设置`WHOISXML_API`
- ASN枚举(`asnmap`):在环境变量/配置中设置`PDCP_API_KEY`(若未设置,`ASN_ENUM`将跳过)
- Slack/Discord/Telegram:在`~/.config/notify/provider-config.yaml`中配置`notify`
- SSRF服务器:如使用,请设置`COLLAB_SERVER`环境变量/配置
- 盲XSS服务器:如使用,请设置`XSS_SERVER`环境变量/配置

## 💾 要求

- 磁盘:建议预留10–20 GB可用空间(工具链+数据)
- 网络:安装和更新期间需稳定连接
- 操作系统:Linux/macOS,Bash ≥ 4
- 附加:`shellcheck`和`shfmt`(可选),用于`make lint`/`make fmt`

## ⚙️ 配置

`reconftw.cfg`文件控制reconFTW的整个执行过程。它允许对以下内容进行细粒度定制:

- **工具路径**:设置工具、解析器和字典的路径(`tools`、`resolvers`、`fuzz_wordlist`)。
- **API密钥**:通过环境变量或`secrets.cfg`配置Shodan、WHOISXML等的密钥(参见[SECURITY.md](https://github.com/six2dez/reconftw/blob/main/SECURITY.md))。
- **扫描模式**:启用/禁用模块(例如`OSINT`、`SUBDOMAINS_GENERAL`、`VULNS_GENERAL`)。
- **性能**:调整线程数、速率限制和超时(例如`FFUF_THREADS`、`HTTPX_RATELIMIT`)。
- **自适应速率限制**:在429/503错误时自动退避(`ADAPTIVE_RATE_LIMIT`、`MIN_RATE_LIMIT`、`MAX_RATE_LIMIT`)。
- **增量扫描**:仅扫描自上次运行以来的新发现(`INCREMENTAL_MODE`)。
- **通知**:设置Slack、Discord或Telegram通知(`NOTIFY_CONFIG`)。
- **Ax(原Axiom)**:配置分布式扫描和解析器路径(`AXIOM_FLEET_NAME`、`AXIOM_FLEET_COUNT`、`AXIOM_RESOLVERS_PATH`)。
- **AI报告**:配置模型/配置文件/格式和上下文控制(`AI_MODEL`、`AI_REPORT_PROFILE`、`AI_REPORT_TYPE`、`AI_MAX_CHARS_PER_FILE`)。
- **高级Web检查**:切换GraphQL内省、参数发现、WebSocket测试、gRPC探测和IPv6扫描。
- **自动化与数据**:控制快速重新扫描启发式、资产日志记录、块大小、热门列表和调试跟踪(`QUICK_RESCAN`、`ASSET_STORE`、`CHUNK_LIMIT`、`HOTLIST_TOP`、`SHOW_COMMANDS`)。
- **磁盘与日志**:预检磁盘检查(`MIN_DISK_SPACE_GB`)、日志轮转(`MAX_LOG_FILES`、`MAX_LOG_AGE_DAYS`)、结构化JSON日志(`STRUCTURED_LOGGING`)。
- **缓存**:配置字典和解析器的缓存过期时间(`CACHE_MAX_AGE_DAYS`)。
- **DNS解析器安全**:缺失解析器文件时快速失败,解析器下载使用可配置的重试/超时参数(`RESOLVER_DOWNLOAD_*`),DNS暴力破解/解析超时默认禁用(`DNS_*_TIMEOUT=0`)并带有心跳进度。
- **密钥**:使用`secrets.cfg`进行本地覆盖,或使用环境变量用于CI/Docker(参见[SECURITY.md](https://github.com/six2dez/reconftw/blob/main/SECURITY.md))。

**示例配置**:```bash
#############################################
#			reconFTW config file			#
#############################################

# General values
tools=$HOME/Tools   # Path installed tools
if [[ -z "${SCRIPTPATH:-}" ]]; then
	if [[ -n "${BASH_SOURCE[0]:-}" ]]; then
		SCRIPTPATH="$( cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 ; pwd -P )" # Get current script's path
	else
		SCRIPTPATH="$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )" # Get current script's path
	fi
fi
_detected_shell="${SHELL:-/bin/bash}"
profile_shell=".$(basename "${_detected_shell}")rc" # Get current shell profile
if git rev-parse --is-inside-work-tree >/dev/null 2>&1; then
	reconftw_version="$(git rev-parse --abbrev-ref HEAD)-$(git describe --tags 2>/dev/null || git rev-parse --short HEAD)"
else
	reconftw_version="standalone"
fi # Fetch current reconftw version
DATA_DIR="${SCRIPTPATH}/data"
WORDLISTS_DIR="${DATA_DIR}/wordlists"
PATTERNS_DIR="${DATA_DIR}/patterns"
generate_resolvers=false # Generate custom resolvers with dnsvalidator
update_resolvers=true # Fetch and rewrite resolvers from trickest/resolvers before DNS resolution
```

---

[Read more](https://github.com/six2dez/reconftw)
下载工具

最受欢迎

查看全部 →

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

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 终极 OSINT 工具包:调查图谱、置信度评分、别名家族、地图、时间线和报告。49 个模块、400+ 个站点,无需 API 密钥。

    891
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock 一键执行应用(CVE-2026-43499)

    547
  • 3

    ARTEX

    baarai/artex

    基于LLM的多智能体自主渗透测试平台,具备规划器/执行器智能体、资产与探索图谱、MITM流量记录以及漏洞复测功能。

    369
  • 4

    redforge

    cybersecurity91/redforge

    浏览器端红队工具包,包含 102 个离线工具,用于侦察、载荷生成、凭据攻击、加密、编码和交战报告。

    366
  • 5

    looking-glass

    anonghosty/looking-glass

    CSIRT 平台,可将 Shadowserver 报告导入 MongoDB,并将其重放为交互式地图、分析、发现、公告和高管仪表板。

    309
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    AI原生网络安全的行动系统——在这里,意图转化为受治理的执行,证据沉淀为运营记忆,每一次操作都让下一次更出色。

    282

探索所有工具

浏览我们的工具集合

查看所有工具 →