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/spiderfoot.md
View on GitHub# SpiderFoot
- **Category**: Information Gathering / OSINT
- **Risk Level**: 🟢 Low
---
## 描述
一个综合性 OSINT 自动化框架,可查询 200+ 个数据源,针对目标(IP、域名、主机名、电子邮件、人名)收集情报。集成了 VirusTotal、Shodan、HaveIBeenPwned、Censys 等众多平台。同时提供 CLI 接口和基于 Web 的图形界面。常在渗透测试初期使用,可快速全面了解目标的暴露面。
## 安装
```bash
sudo apt install spiderfoot
```
## 参数说明
| 参数 | 说明 |
|------|------|
| `-s <target>` | 扫描目标 |
| `-t <type>` | 要收集的事件类型,逗号分隔(自动选择所需模块) |
| `-u <usecase>` | 使用场景:`all`、`footprint`、`investigate`、`passive` |
| `-m <modules>` | 要启用的模块(逗号分隔) |
| `-x` | 严格模式:仅启用可直接消费目标的模块;覆盖 -t 和 -m |
| `-l <ip:port>` | 监听的 IP 和端口 |
| `-o <format>` | 输出格式:`tab`(默认)、`csv`、`json` |
| `-H` | 不打印字段头,仅输出数据 |
| `-n` | 从数据中去除换行符 |
| `-r` | 在 tab/csv 输出中包含源数据字段 |
| `-f` | 过滤掉未通过 -t 请求的事件类型 |
| `-F <types>` | 仅显示指定的事件类型集合,逗号分隔 |
| `-S <length>` | 显示的最大数据长度(默认:全部) |
| `-D <delimiter>` | CSV 输出的分隔符(默认:`,`) |
| `-d` | 启用调试输出 |
| `-q` | 禁用日志(同时隐藏错误) |
| `-T` | 列出可用的事件类型 |
| `-M` | 列出所有可用模块 |
| `-C <scanID>` | 对扫描 ID 运行关联规则 |
| `-max-threads <n>` | 最大并发线程数 |
## 常用命令
```bash
# 启动 Web 界面(访问 http://127.0.0.1:5001 )
spiderfoot -l 127.0.0.1:5001
# 对域名进行被动扫描(不直接接触目标)
spiderfoot -s example.com -u passive -o json
# 完整足迹扫描
spiderfoot -s example.com -u footprint
# 调查特定 IP
spiderfoot -s 192.168.1.10 -u investigate
# 扫描电子邮件地址
spiderfoot -s target@example.com -u all
# 列出可用模块
spiderfoot -M
```
## 注意事项
1. Web 界面(`-l`)适合复杂调查——提供发现内容的可视化和关联分析。
2. 使用 `-u passive` 可确保不向目标直接发送任何数据包。
3. 在 Web UI 的设置页面配置 VirusTotal、Shodan 等的 API 密钥,以解锁更多模块。
4. `footprint` 使用场景兼顾全面性与噪声控制;仅在需要最大覆盖范围时才使用 `all`。
5. SpiderFoot 将所有扫描数据存储在 SQLite 数据库中——结果在会话之间持久保留。
---
## 官方参考
- [SpiderFoot (GitHub)](https://github.com/smicallef/spiderfoot)
- [Kali spiderfoot](https://www.kali.org/tools/spiderfoot/)
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 |