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/dnsmap.md
View on GitHub# dnsmap
- **Category**: Information Gathering / DNS Enumeration
- **Risk Level**: 🟢 Low
---
## 描述
通过内置字典或自定义外部字典对域名进行子域名暴力枚举。输出支持纯文本和 CSV 两种格式。附带 dnsmap-bulk 工具可批量扫描多个域名。相比 dnsenum,dnsmap 更专注于子域名暴力枚举场景,更简单快速。
## 安装
```bash
sudo apt install dnsmap
```
## 参数说明
| 参数 | 说明 |
|------|------|
| `<domain>` | 目标域名 |
| `-w <wordlist>` | 自定义字典文件 |
| `-r <file>` | 将结果保存为纯文本文件 |
| `-c <file>` | 将结果保存为 CSV 文件 |
| `-d <n>` | 请求间隔时间(毫秒) |
| `-i <ips>` | 忽略的 IP(逗号分隔,用于过滤泛解析响应) |
## 常用命令
```bash
# 使用内置字典进行基础子域名暴力枚举
dnsmap example.com
# 使用自定义字典
dnsmap example.com -w /usr/share/seclists/Discovery/DNS/subdomains-top1million-5000.txt
# 保存结果为 CSV
dnsmap example.com -c results.csv
# 忽略泛解析 IP(减少假阳性)
dnsmap example.com -i 1.2.3.4
# 批量扫描多个域名
dnsmap-bulk domains.txt /tmp/results/
```
## 注意事项
1. 运行前先用 `dig any.example.com` 检查是否存在泛解析——若所有子域名都解析到同一 IP,用 `-i` 忽略该 IP。
2. 使用 `/usr/share/seclists/Discovery/DNS/subdomains-top1million-5000.txt` 作为起始字典;内置字典较小。
3. dnsmap 不需要 root 权限——可在受限环境中安全运行。
4. 全面子域名发现建议组合使用:dnsmap(暴力枚举)+ subfinder + dnsx(解析过滤)。
5. CSV 输出(`-c`)方便导入电子表格进行客户报告整理。
---
## 官方参考
- [dnsmap(GitHub)](https://github.com/resurrecting-open-source-projects/dnsmap)
- [Kali dnsmap](https://www.kali.org/tools/dnsmap/)
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 |