name: nmap-pentest-scans description: 为范围内的目标计划并协调授权的 Nmap 主机发现、端口和服务枚举、NSE 分析以及报告生成流程。
Nmap渗透测试扫描
阶段
- PTES(Pentesting Techniques and Exercises):2-3级
- MITRE(Mitre Classification of Vulnerabilities):TA0007 - 发现阶段(Discovery)
目标
为授权目标设计可复制的Nmap扫描工作流程,并生成确定的扫描计划结果。
所需工作流程
- 在执行任何操作之前,验证扫描范围,并排除不在范围内的目标。
- 非测试性扫描(非dry-run)执行前必须获得明确授权。
- 选择合适的扫描配置文件(隐蔽模式、平衡模式或快速模式),并构建相应的命令序列。
- 生成标准化的扫描结果,并导出确定的扫描计划数据。
执行过程
python skills/nmap-pentest-scans/scripts/nmap_pentest_scans.py --scope scope.json --target <target> --input <path> --output <path> --format json --dry-run
输出结果
scan-plan.json:扫描计划配置文件scan-plan.md:扫描计划文档recommended-commands.txt:推荐的扫描命令列表findings/nmap-pentest-findings.json:扫描发现结果nmap-pentest-scans-report.json:扫描报告文件
参考资料
references/tools.md:工具参考文档references/scan-profiles.md:扫描配置文件参考文档skills/autonomous-pentester/shared/scope_schema.json:范围定义规范skills/autonomous-pentester/shared/finding_schema.json:发现结果格式规范
法律与道德声明
WARNING AUTHORIZED USE ONLY
This skill prepares and can orchestrate live network scan workflows.
Use only with written authorization and approved scope.