x-glacier/kali-pentest / kali-pentest-zh
kali-pentest-zh
Flagged通过 SSH 或 Docker 使用 Kali Linux CLI 工具执行授权渗透测试。 覆盖:信息收集、漏洞分析、嗅探与欺骗、Web/API 渗透、漏洞利用、密码攻击、无线、云原生安全、RFID/NFC、VoIP/ICS、逆向工程、取证分析、后渗透/C2、报告生成。
references/exploitation/tools/routersploit.md
View on GitHub# RouterSploit
- **Category**: Exploitation / IoT & Router Exploitation
- **Risk Level**: 🔴 High
---
## 描述
针对嵌入式设备的漏洞利用框架——路由器、摄像头、NAS 和 IoT 设备。提供类似 Metasploit 的交互式界面,包含漏洞利用、扫描器、凭据和 payload 模块,覆盖 Cisco、D-Link、Netgear、TP-Link、Huawei 等多家厂商。
## 安装
```bash
sudo apt install routersploit
```
替代方式(从源码安装):
```bash
git clone https://github.com/threat9/routersploit.git
cd routersploit
pip3 install -r requirements.txt
python3 rsf.py
```
## 参数说明
### 交互命令
| 参数 | 说明 |
|------|------|
| `use <module>` | 选择模块(漏洞利用、扫描器或凭据) |
| `show options` | 显示当前模块的可配置选项 |
| `set <option> <value>` | 设置模块选项(如 `set target 192.168.1.1`) |
| `run` / `exploit` | 执行当前模块 |
| `check` | 非破坏性的漏洞检查(如模块支持) |
| `search <term>` | 按关键词搜索模块 |
| `show exploits` | 列出所有漏洞利用模块 |
| `show scanners` | 列出所有扫描器模块 |
| `show creds` | 列出所有凭据模块 |
### 关键模块路径
| 参数 | 说明 |
|------|------|
| `scanners/autopwn` | 自动检测漏洞并尝试利用 |
| `scanners/routers/router_scan` | 扫描路由器已知漏洞 |
| `exploits/routers/<vendor>/<model>` | 特定厂商的路由器漏洞利用 |
| `creds/routers/<vendor>/default_creds` | 按厂商检查默认凭据 |
### CLI 选项
| 参数 | 说明 |
|------|------|
| `-m <module>` | 从 CLI 直接运行模块 |
| `-s "<option> <value>"` | 从 CLI 设置模块选项 |
## 常用命令
```bash
# 启动 routersploit
routersploit
# Autopwn 扫描——自动检测和利用漏洞
use scanners/autopwn
set target 192.168.1.1
run
# 扫描特定厂商路由器的漏洞
use scanners/routers/router_scan
set target 192.168.1.1
run
# 测试 D-Link 路由器的默认凭据
use creds/routers/dlink/default_creds
set target 192.168.1.1
run
# 先检查再执行特定漏洞利用
use exploits/routers/netgear/r7000_cgi_applogin
set target 192.168.1.1
check
exploit
# 搜索针对特定厂商的模块
search cisco
```
## 注意事项
1. 在可用时始终先运行 `check` 再运行 `exploit`——`check` 执行非破坏性的漏洞验证。
2. `autopwn` 扫描器对目标运行所有适用的漏洞利用和凭据检查——适合初始评估但噪声较大。
3. 默认凭据模块覆盖众多路由器厂商——优先运行,因为弱凭据是最常见的 IoT 漏洞。
4. routersploit 可攻击任何可达的设备——配合隧道工具(chisel、ligolo-ng)访问内网设备。
5. 模块质量参差不齐——在生产设备上使用前,先验证漏洞利用描述并在实验环境中测试。
---
## 官方参考
- [routersploit GitHub](https://github.com/threat9/routersploit)
- [Kali routersploit](https://www.kali.org/tools/routersploit/)
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |