haryy985/yunkun-console-preview/ssrf-methodology
Claude Code and agent skill by haryy985/yunkun-console-preview
- community
Checking that the SKILL.md file is still in the repository.
服务端请求伪造(SSRF)的检测与利用execution-framework。当目标有 URL 获取/预览/导入功能、PDF 生成、Webhook、远程图片加载、RSS 导入时使用。包含 IP 过滤绕过大全、协议利用(file/gopher/dict)、云元数据窃取、内网服务探测。即使参数名看起来无害(如 src、callback、next),只要涉及服务端发起请求的场景都应加载此 skill。
Install
npx vskill@latest install haryy985/yunkun-console-preview/ssrf-methodologySKILL.md
SSRF 攻击execution-framework
深入参考
- IP 过滤绕过完整列表、云元数据路径、协议利用详细命令 → references/ssrf-bypass.md
- 云 SSRF 进阶(容器/Serverless 凭据/K8s 横向/绕过技术) → references/cloud-ssrf.md
- Gopher 协议 payload 生成与实战组合链 → references/gopherus-payloads.md
Phase 1: 发现 SSRF 入口
参数名线索(高度可疑): url, uri, path, src, dest, redirect, callback, next, data, reference, site, html, imageUrl, feed, target, proxy, link
功能线索:URL 预览、PDF/图片生成(wkhtmltopdf, puppeteer)、Webhook、远程图片获取、RSS 导入
Phase 2: 基础 SSRF 验证
响应差异判断:内容变化 → 有回显 SSRF | 只有状态码 → 半盲 | 无差异 → 全盲
陷阱:应用可能过滤 127.0.0.1 但放行变体 → 需要绕过(references/ssrf-bypass.md)
Phase 3: 协议利用速查
Phase 4: 云元数据速查
Phase 5: 利用决策树
协议与库限制
不同实现支持的协议不同,不是所有 SSRF 都支持所有协议:
| 库/环境 | file:// | gopher:// | dict:// | |
|---|---|---|---|---|
| PHP curl | ✅ | ✅ | ✅ | |
| Python requests | ❌ | ❌ | ❌ | |
| Python urllib | ✅ | ❌ | ❌ | |
| Java URLConnection | ✅ | ❌ | ❌ | |
| Node.js fetch | ❌ | ❌ | ❌ |
IP 短格式绕过:127.1、127.0.1(省略 0)
注意事项
- file:// 是最高价值协议:直接读取服务器文件
- Gopher 陷阱:PHP curl 支持 gopher,Python requests 不支持
- SSRF 和 XXE 经常组合:XXE 中的 SYSTEM 就是 SSRF
- PDF 生成器 SSRF:wkhtmltopdf/puppeteer 生成 PDF 时会加载外部资源,注入
<iframe src="file:///etc/passwd">或<img src="http://127.0.0.1/">
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingsource/skills/yunkun-security-workflow/references/references/experts/ssrf-methodology/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/haryy985/yunkun-console-preview/ssrf-methodology)