vipulraj01/reconx
GitHub: vipulraj01/reconx
面向漏洞赏金猎人的全自动化侦察与漏洞扫描框架,将子域名枚举、存活过滤、端点抓取与多类漏洞检测整合为单条命令。
Stars: 0 | Forks: 0
```
██████╗ ███████╗ ██████╗ ██████╗ ███╗ ██╗██╗ ██╗
██╔══██╗██╔════╝██╔════╝██╔═══██╗████╗ ██║╚██╗██╔╝
██████╔╝█████╗ ██║ ██║ ██║██╔██╗ ██║ ╚███╔╝
██╔══██╗██╔══╝ ██║ ██║ ██║██║╚██╗██║ ██╔██╗
██║ ██║███████╗╚██████╗╚██████╔╝██║ ╚████║██╔╝ ██╗
╚═╝ ╚═╝╚══════╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═══╝╚═╝ ╚═╝
v2.0
```
**专为漏洞赏金猎人设计的自动化侦察与漏洞扫描器**
[](https://github.com/vipulraj01/reconx/stargazers)
[](https://github.com/vipulraj01/reconx/blob/main/LICENSE)
[](https://github.com/vipulraj01/reconx/issues)
[](https://www.gnu.org/software/bash/)
[**入门指南**](#-getting-started) · [**工作原理**](#-how-it-works) · [**使用方法**](#-usage) · [**工具链**](#%EF%B8%8F-toolchain)
## 💡 什么是 ReconX?
**ReconX** 是一个全自动化的漏洞赏金侦察与漏洞扫描框架。只需指定一个目标域名,它就能处理整个 pipeline —— 从子域名发现一直到可利用漏洞检测。
ReconX 无需手动将数十种工具串联起来,而是将 **25+ 种安全工具** 编排到一个简化的工作流中:
```
Target Domain → Subdomains → Alive Hosts → Endpoints → Parameters → Vulnerabilities
```
## ⚡ 核心功能
|
### 🔍 侦察
- 通过 9 个来源(assetfinder、subfinder、amass、findomain、crt.sh、hackertarget、riddler、certspotter、Sublist3r)进行**被动子域名枚举**
- 使用精选字典,通过 gobuster 和 amass 进行**主动子域名暴力破解**
- 通过 dnsx 和 httpx 进行 **DNS 解析**和存活主机过滤
- **可视化侦察** —— 使用 aquatone 自动截图
|
### 🎯 漏洞检测
- **XSS** —— kxss 反射检测 + dalfox 确认利用
- **SQL 注入** —— 使用风险等级 3 进行自动化 sqlmap 扫描
- **SSRF** —— AWS 元数据 endpoint 探测
- **LFI** —— 路径遍历 payload 注入
- **开放重定向** —— openredirex + 自定义 payload 测试
- **CRLF 注入** —— crlfuzz header 注入
- **子域名接管** —— subjack 指纹扫描
- **多合一扫描器** —— nuclei 模板(info 到 critical)
|
## 🔄 工作原理
ReconX 执行一个多阶段 pipeline。每个阶段的结果都会作为下一阶段的输入:
```
┌─────────────────────────────────────────────────────────────────┐
│ STAGE 1: DISCOVER │
│ assetfinder → subfinder → amass → findomain → crt.sh → ... │
│ gobuster (active) → amass brute (active) │
│ ↓ │
│ STAGE 2: FILTER │
│ dnsx (resolve) → httpx (alive) → aquatone (screenshot) │
│ ↓ │
│ STAGE 3: CRAWL │
│ waymore → endpoint collection → urldedupe (dedup) │
│ ↓ │
│ STAGE 4: CLASSIFY │
│ gf patterns → XSS params | SQLi params | SSRF params | ... │
│ ↓ │
│ STAGE 5: EXPLOIT │
│ dalfox (XSS) | sqlmap (SQLi) | nuclei | crlfuzz | subjack │
│ ↓ │
│ STAGE 6: REPORT │
│ Summary → /vulnerabilities/ → /nuclei/ → /subdomains/ │
└─────────────────────────────────────────────────────────────────┘
```
## 🚀 入门指南
### 前置条件
- **Linux**(推荐 Debian/Ubuntu —— Kali、Parrot 等)
- **Root 权限**(工具将在系统范围内安装)
- **Go 1.22+**、**Python 3**、**Ruby**、**Git**
### 安装
```
git clone https://github.com/vipulraj01/reconx.git
cd reconx/
chmod +x reconx install.sh
sudo mv reconx /usr/bin/
sudo ./install.sh
```
安装程序将自动执行以下操作:
- 安装所有系统依赖(git、python3、go、jq、chromium 等)
- 下载并编译 20 多种 Go/Python 安全工具
- 从 SecLists 和其他来源获取字典
- 为参数分类配置 gf 模式
- 设置 nuclei 模板
## 📖 使用方法
### 基本语法
```
reconx [-d target] [-o output] [-t threads] [-b blind_server] [-x exclude_file] [-f subdomains_file] [-a] [-v] [-h]
```
### 命令标志
| 标志 | 描述 | 默认值 |
|------|-------------|---------|
| `-d` | 目标域名 | — |
| `-o` | 输出目录 | `reconx-
` |
| `-t` | 线程数 | `100` |
| `-b` | 盲打 XSS (BXSS) 回调服务器 | 禁用 |
| `-x` | 包含排除范围外域名的文件 | — |
| `-f` | 包含预收集子域名的文件(跳过枚举) | — |
| `-a` | 运行完整 pipeline(侦察 + 漏洞扫描) | 仅侦察 |
| `-v` | 打印版本 | — |
| `-h` | 显示帮助 | — |
### 示例
**仅子域名枚举(默认):**
```
sudo reconx -d example.com
```
**完整侦察 + 漏洞扫描:**
```
sudo reconx -d example.com -a -o example_output
```
**使用盲打 XSS 服务器并自定义线程数:**
```
sudo reconx -d example.com -a -t 250 -b your_callback.oast.fun
```
**排除范围外域名:**
```
echo "internal.example.com" > exclude.txt
sudo reconx -d example.com -a -x exclude.txt
```
**跳过枚举 —— 提供您自己的子域名:**
```
sudo reconx -d example.com -f /path/to/subdomains.txt -a
```
## 📂 输出结构
扫描完成后,ReconX 会生成有条理的输出:
```
reconx-/
├── subdomains/
│ ├── domains.txt # All discovered subdomains
│ ├── subdomains.txt # Resolved subdomains
│ ├── alivesub.txt # HTTP-alive subdomains
│ ├── alwithouthttp.txt # Alive subs (no protocol prefix)
│ ├── title.txt # Page titles + status codes
│ ├── endpoints.txt # All crawled endpoints
│ └── aquatone/ # Screenshots & HTML report
├── patterns/
│ ├── xss.txt # XSS-prone parameters
│ ├── sqli.txt # SQLi-prone parameters
│ ├── ssrf.txt # SSRF-prone parameters
│ ├── lfi.txt # LFI-prone parameters
│ ├── rce.txt # RCE-prone parameters
│ └── openredirect.txt # Redirect-prone parameters
├── vulnerabilities/
│ ├── xss.txt # Confirmed XSS
│ ├── xss_dalfox.txt # Dalfox XSS results
│ ├── lfi.txt # Confirmed LFI
│ ├── ssrf.txt # Confirmed SSRF
│ ├── crlf.txt # CRLF injection results
│ ├── openredirect.txt # Open redirects
│ ├── openredirex.txt # OpenRedireX results
│ ├── takeover.txt # Subdomain takeover
│ └── sqlmap/ # SQLmap output per target
└── nuclei/
├── info.txt # Informational findings
├── low.txt # Low severity
├── medium.txt # Medium severity
├── high.txt # High severity
└── critical.txt # Critical findings
```
## 🛠️ 工具链
ReconX 集成了以下开源工具:
| 类别 | 工具 |
|----------|-------|
| **子域名发现** | [subfinder](https://github.com/projectdiscovery/subfinder), [assetfinder](https://github.com/tomnomnom/assetfinder), [amass](https://github.com/OWASP/Amass), [findomain](https://github.com/Findomain/Findomain), [Sublist3r](https://github.com/hxlxmjxbbxs/SUBLIST3R_V2.0), crt.sh, hackertarget, riddler, certspotter |
| **主动暴力破解** | [gobuster](https://github.com/OJ/gobuster), [amass](https://github.com/OWASP/Amass) |
| **DNS & HTTP 探测** | [dnsx](https://github.com/projectdiscovery/dnsx), [httpx](https://github.com/projectdiscovery/httpx) |
| **可视化侦察** | [aquatone](https://github.com/michenriksen/aquatone) |
| **Endpoint 抓取** | [waymore](https://github.com/xnl-h4ck3r/waymore), [gau](https://github.com/lc/gau), [waybackurls](https://github.com/tomnomnom/waybackurls) |
| **参数过滤** | [gf](https://github.com/tomnomnom/gf), [uro](https://github.com/s0md3v/uro), [qsreplace](https://github.com/tomnomnom/qsreplace), [urldedupe](https://github.com/ameenmaali/urldedupe) |
| **XSS 扫描** | [kxss](https://github.com/Emoe/kxss), [dalfox](https://github.com/hahwul/dalfox) |
| **SQL 注入** | [sqlmap](https://github.com/sqlmapproject/sqlmap) |
| **多合一扫描器** | [nuclei](https://github.com/projectdiscovery/nuclei) |
| **其他漏洞** | [crlfuzz](https://github.com/dwisiswant0/crlfuzz), [subjack](https://github.com/haccer/subjack), [openredirex](https://github.com/devanshbatham/openredirex) |
| **实用工具** | [anew](https://github.com/tomnomnom/anew), [jq](https://github.com/stedolan/jq) |
## ⚠️ 免责声明
## 📄 许可证
本项目基于 [MIT 许可证](LICENSE) 授权。
**如果您觉得 ReconX 有用,请考虑给它点个 ⭐**
由 [@vipulraj01](https://github.com/vipulraj01) 制作
标签:实时处理, 密码管理, 应用安全, 日志审计, 逆向工具