mirror of
https://github.com/YuJunZhiXue/dsh-purge.git
synced 2026-12-04 06:40:22 +08:00
feat: 随包技能库 skills/redteam(23 条),知识库随宿主运行时生效
- 从上游镜像 mmparko/dsh-purge 取回 skills/redteam/*.md 共 23 条红队技能 - package.json files 增加 skills,npm 包与 Release 包都会带上 - README 三语目录结构补上 skills/redteam,运行时目录补上 $DSH_HOME/skills - NOTICE 注明随包技能来源
This commit is contained in:
1 parent
864cb648b5
commit
0bf608cc10
28 files changed
+2614
-6
No files matched your search
@@ -0,0 +1,34 @@
|
||||
---
|
||||
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。
|
||||
Reference in new issue
Block a user