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/getallurls.md
View on GitHub# getallurls (gau)
- **Category**: Information Gathering / URL Discovery
- **Risk Level**: 🟢 Low
---
## 描述
从多个数据源获取指定域名已知 URL 的工具。查询 Wayback Machine、Common Crawl 和 Open Threat Exchange(OTX),构建全面的历史已知 URL 列表,全程不与目标交互。在侦察阶段用于发现隐藏端点、参数、旧 API 路径和潜在敏感文件。基于 Go 编写,专为管道集成设计。
## 安装
```bash
sudo apt install getallurls
```
## 参数说明
| 参数 | 说明 |
|------|------|
| `-subs` | 包含目标域名的子域名 |
| `-providers <list>` | 获取 URL 的数据源(默认:`wayback,otx,commoncrawl`) |
| `-json` | 以 JSON 格式输出 |
| `-o <file>` | 写入结果的文件名 |
| `-p <proxy>` | 使用的 HTTP 代理 |
| `-random-agent` | 使用随机 User-Agent |
| `-retries <n>` | HTTP 客户端重试次数(默认:5) |
| `-v` | 启用详细模式 |
| `-version` | 显示 gau 版本 |
## 常用命令
```bash
# 基础 URL 发现
echo "example.com" | gau
# 包含子域名
echo "example.com" | gau -subs
# 仅从 Wayback Machine 获取
echo "example.com" | gau -providers wayback
# 使用多个数据源
echo "example.com" | gau -providers "wayback,otx"
# 保存结果到文件
echo "example.com" | gau -o urls.txt
# JSON 格式输出
echo "example.com" | gau -json
# 使用代理
echo "example.com" | gau -p http://127.0.0.1:8080
# 过滤特定文件类型(查找潜在敏感文件)
echo "example.com" | gau | grep -iE '\.(php|asp|aspx|jsp|json|xml|conf|env|bak|sql)(\?|$)'
# 查找带参数的 URL(潜在注入点)
echo "example.com" | gau | grep '=' | sort -u
# 与 ffuf 联动进行参数 fuzzing
echo "example.com" | gau | grep '=' | uro | qsreplace FUZZ | ffuf -w - -u FUZZ
```
## 注意事项
1. gau 完全被动——查询归档数据,不直接访问目标。
2. 与 `uro` 配合使用可对仅参数值不同的 URL 去重,减少噪音。
3. 输出通常包含数千条 URL——使用 `grep`、`sort -u` 和 `uro` 过滤后再传递给主动扫描器。
4. 配置文件 `~/.gau.toml` 可设置默认数据源和其他选项。
5. 默认数据源为 `wayback`、`otx` 和 `commoncrawl`。使用 `-providers` 选择特定数据源。
6. 使用 `-random-agent` 避免在大量查询时被归档服务封锁。
---
## 官方参考
- [getallurls / gau(GitHub)](https://github.com/lc/gau)
- [Kali getallurls](https://www.kali.org/tools/getallurls/)
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 |