moyun-ultimate/skills/active-scan/SKILL.md
moyun 3e9971feb7 feat: moyun-ultimate 0.1.0 - five-layer layered prompt core
Five ordered prompt sections (persona core / refusal kernel / execution
intensity / anti-dilution mirror / skill routing), 63 built-in skills synced
idempotently into DSH_HOME/skills, two tools (moyun_frame, moyun_ultimate_profile),
a live refusal-score badge, and five independent layer toggles.

Ships no host source patches: the permission layer stays with host-patch
plugins, this package owns persona, strategy and skills.
2026-11-16 14:23:46 +08:00

35 lines
1.7 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
name: active-scan
description: 主动端口与服务扫描(nmap/masscan),严格遵守授权范围
whenToUse: 需要确认资产存活与开放端口时
role: recon
enabled: true
---
## 前置检查
1. 确认目标 CIDR 在授权范围内。
2. 确认当前时间窗口允许主动扫描。
## 命令
- 快速存活:`nmap -sn <cidr>`
- 全端口(限速):`nmap -sS -p- --min-rate 1000 -T4 <target> -oX runs/nmap-full.xml`
- 服务版本:`nmap -sV -sC -p <ports> <target> -oX runs/nmap-svc.xml`
## 本地已备好的工具(绝对路径,优先用它们,不要手搓)
| 用途 | 命令 |
| --- | --- |
| 端口扫描 | `nmap` / `masscan` / `~/.dsh/redteam/toolkit/naabu/naabu`(SYN 需 root,否则加 `-scan-type c`) |
| 内网综合扫描 | `~/.dsh/redteam/toolkit/fscan/fscan`(技能 fscan-intranet) |
| 内网测绘/指纹 | `~/.dsh/redteam/toolkit/gogo/gogo`(技能 gogo-intranet) |
| HTTP 探测(ProjectDiscovery) | `~/.local/bin/pd-httpx`(**注意:`/usr/bin/httpx` 是 Python httpx 库的 CLI,不是这个**) |
| 子域/解析 | `~/.dsh/redteam/toolkit/subfinder/subfinder`、`~/.dsh/redteam/toolkit/dnsx/dnsx` |
| POC 扫描 | `nuclei`(模板已在 `~/.local/nuclei-templates`) |
| 目录爆破 | `ffuf`、`~/.dsh/redteam/toolkit/dirsearch/dirsearch` |
| 隧道 | `~/.dsh/redteam/toolkit/suo5/suo5-linux-amd64`、`toolkit/chisel/chisel`、`toolkit/frp/{frpc,frps}` |
| 完整清单 | `~/.dsh/redteam/toolkit/清单.md`、`技能工具清单.md` |
`setup.sh` 不下载 dirsearch。`清单.md` 是说明文件,缺了不代表扫描器没装。Windows 与 ARM 构建也不在安装脚本里。
## 落库要求
provenance = `active`,tool = `nmap`/`masscan`,记录 scan_run。