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/dnsenum.md
View on GitHub# dnsenum
- **Category**: Information Gathering / DNS Enumeration
- **Risk Level**: 🟡 Medium
---
## 描述
自动化 DNS 枚举工具,集成了 DNS 记录查询、区域传送、子域名暴力枚举、反向查询等功能,是 DNS 侦察的全能工具。
## 安装
```bash
sudo apt install dnsenum
```
## 参数说明
| 参数 | 说明 |
|------|------|
| `--enum` | 快捷选项,等同于 --threads 5 -s 15 -w |
| `--dnsserver SERVER` | 使用指定的 DNS 服务器 |
| `-f` / `--file FILE` | 从此文件读取子域名进行爆破 |
| `--subfile FILE` | 将所有有效子域名写入此文件 |
| `--threads N` | 执行不同查询的线程数 |
| `-t, --timeout N` | TCP 和 UDP 超时值(秒)(默认:10s) |
| `--noreverse` | 跳过反向查询操作 |
| `--nocolor` | 禁用 ANSIColor 输出 |
| `-o FILE` | 以 XML 格式输出(可导入 MagicTree) |
| `-p <n>` | 处理的 Google 搜索页数(默认:5) |
| `-s <n>` | 从 Google 抓取的最大子域名数(默认:15) |
## 常用命令
```bash
# 基础枚举
dnsenum target.com
# 使用字典暴力枚举子域名
dnsenum --enum target.com -f /usr/share/seclists/Discovery/DNS/subdomains-top1million-5000.txt
# 指定 DNS 服务器
dnsenum --dnsserver 8.8.8.8 target.com
# 多线程加速
dnsenum target.com -f wordlist.txt --threads 20
# 输出 XML 报告
dnsenum target.com -o /tmp/dnsenum_result.xml
# 跳过反向查询(加快速度)
dnsenum target.com --noreverse
```
## 注意事项
1. 暴力枚举大字典耗时较长,建议配合 `--threads` 加速
2. 优先用被动工具(amass -passive)后再考虑主动枚举
---
## 官方参考
- [dnsenum GitHub](https://github.com/fwaeytens/dnsenum)
- [Kali dnsenum](https://www.kali.org/tools/dnsenum/)
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 |