openaisec/miko/pentest-recon
Claude Code and agent skill by openaisec/miko
Trust tier 2
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
信息收集入口 - 目标类型判断、CDN检测、WAF识别、端口扫描
Install
npx vskill@latest install openaisec/miko/pentest-reconSKILL.md
The same SKILL.md was published earlier as openaisec/miko/pentest-recon.
信息收集
文件组织
所有工具输出写入 tmp/<时间戳>/raw/:
项目根目录禁止存放任何扫描结果。
阶段1:目标类型判断
域名必须先 nslookup 解析再判断:
| 目标类型 | CDN | WAF | |
|---|---|---|---|
| 内网IP(10.x/172.16-31.x/192.168.x/127.x) | 跳过 | 跳过 | |
| 内网域名(解析后IP为内网) | 跳过 | 跳过 | |
| 外网IP | httpx -cdn | httpx -waf + Payload触发 | |
| 外网域名 | cdnChecker 完整检测 | httpx -waf + Payload触发 |
阶段2:CDN检测
外网IP → httpx 快速:
外网域名 → cdnChecker 完整:
有CDN → 用真实IP扫描和直连测试,同时保留域名测试。
阶段3:WAF识别
内网跳过。外网执行:
- httpx:
httpx -u <target> -waf -cdn -silent -json - Payload触发:SQL注入/XSS/路径穿越payload → 被拦截(403/503/302)=有WAF
- 响应头分析:Cloudflare(
cf-ray)、加速乐(__jsl_clearance_s)、知道创宇(acw_tc)、SafeLine(safeline)、阿里云(X-Cache)、腾讯云(AZTEC)
绕过优先级:真实IP直连 > 获取JS Cookie(Playwright) > 降速+伪造头
有WAF时:目录扫描降速(-t 10 -rate 5)、端口扫描用真实IP、指纹识别优先Playwright。
阶段4:蜜罐检测
检测到蜜罐→立即停止所有测试(见 pentest-rules)。
AI 综合分析判断(不依赖单一工具):
| 特征 | 可疑点 | |
|---|---|---|
| 端口 | 异常多的开放端口、所有端口统一响应 | |
| Banner | 版本号与实际行为不匹配、多服务同时"在线" | |
| 页面 | 伪造的登录表单(无真实后端)、404页面统一风格 | |
| 行为 | 任意路径返回200、无实际交互功能 | |
| 已知产品 | HFish/T-Pot/Conpot/Dionaea/Cowrie等蜜罐特征 |
综合多个异常才判定蜜罐。不确定时询问用户。
阶段5:端口扫描
用真实IP(如CDN绕过有结果):
存活端口用 httpx 探测指纹:
后续
→ fingerprint.md 指纹与架构识别 → dir-scan.md 目录与敏感文件扫描
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingdata/skills/pentest-recon/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/openaisec/miko/pentest-recon)