x-glacier/kali-pentest / kali-pentest-zh
kali-pentest-zh
Flagged通过 SSH 或 Docker 使用 Kali Linux CLI 工具执行授权渗透测试。 覆盖:信息收集、漏洞分析、嗅探与欺骗、Web/API 渗透、漏洞利用、密码攻击、无线、云原生安全、RFID/NFC、VoIP/ICS、逆向工程、取证分析、后渗透/C2、报告生成。
references/information-gathering/tools/eyewitness.md
View on GitHub# EyeWitness
- **Category**: Information Gathering / Web Service Screenshots
- **Risk Level**: 🟢 Low
---
## 描述
对大量 Web 服务自动截图并生成 HTML 报告,帮助测试人员快速直观地浏览目标的所有 Web 界面,识别有趣的登录页、管理面板、默认页面等。在大规模目标侦察时极为高效。
## 安装
```bash
sudo apt install eyewitness
```
## 参数说明
| 参数 | 说明 |
|------|------|
| `-f FILE` | 包含待截图 URL 的行分隔文件 |
| `--single URL` | 单个 URL/主机截图 |
| `-x FILE` | Nmap XML 或 .Nessus 文件 |
| `--web` | 使用 Selenium 截图 |
| `-d DIR` | 报告输出目录名 |
| `--threads N` | 基于文件输入时使用的线程数 |
| `--timeout N` | 请求网页的最大等待秒数(默认:7) |
| `--no-prompt` | 不提示打开报告 |
| `--prepend-https` | 为无协议前缀的 URL 补全 http:// 和 https:// |
| `--resolve` | 解析目标的 IP/主机名 |
| `--jitter <max>` | 随机化 URL 顺序并在请求间添加随机延迟 |
| `--delay <n>` | 打开浏览器与截图之间的延迟秒数 |
## 常用命令
```bash
# 对 URL 列表截图(最常用工作流)
eyewitness -f /tmp/urls.txt --web -d /tmp/eyewitness_output/ --no-prompt
# 单个目标
eyewitness --single http://target.com --web -d /tmp/
# 自动补全协议前缀
eyewitness -f /tmp/hosts.txt --web --prepend-https -d /tmp/output/
# 多线程加速
eyewitness -f /tmp/urls.txt --web --threads 10 -d /tmp/output/
# 配合 nmap 结果使用(EyeWitness 使用 -x 读取 nmap XML,非 --nmap-xml)
nmap -sV -p 80,443,8080,8443 -oX /tmp/nmap.xml target.com
eyewitness -x /tmp/nmap.xml --web -d /tmp/output/
```
## 注意事项
1. EyeWitness 的截图引擎依赖桌面/显示环境;在无头 Kali 服务器上需使用 `Xvfb`(虚拟帧缓冲)或通过 Docker 配合显示转发运行。
2. 生成的 `report.html` 是主要产出物——按 HTTP 状态码或页面标题排序,可快速定位管理面板和登录页。
3. 当输入列表中的条目没有 URL 协议前缀时,使用 `--prepend-https` 自动补全。
4. 大量 URL 列表可能耗时较长;合理调整 `--threads` 和 `--timeout` 以平衡速度与完整性。
5. 建议先用 httpx 过滤存活主机,再传给 EyeWitness——避免对不可达地址浪费时间截图。
---
## 官方参考
- [EyeWitness GitHub](https://github.com/RedSiege/EyeWitness)
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 |