技能图谱SKILLSGROVE
技能图谱/办公文档/zhaji2333/CkSKILLS/web-ssrf-render

web-ssrf-render

安装

$npx skills add https://github.com/zhaji2333/CkSKILLS --skill web-ssrf-render
$git clone --depth 1 https://github.com/zhaji2333/CkSKILLS.git /tmp/CkSKILLS && mkdir -p ~/.claude/skills && cp -r /tmp/CkSKILLS/.agents/skills/web-ssrf-render ~/.claude/skills/web-ssrf-render
请帮我安装这个 Agent Skill:https://github.com/zhaji2333/CkSKILLS/tree/d9922e5246bfdb29c9e219382b94670f47f397af/.agents/skills/web-ssrf-render ,先阅读它的 SKILL.md 和脚本,确认安全后再安装到我的技能目录。

简介

原文描述 · MITSSRF/内网探测/云元数据/服务端无头浏览器渲染专项。当出现 URL 可控的抓取、代理、回调、webhook、图片/文档预览、网页截图、HTML→PDF、链接预览时调用。
以下 SKILL.md 内容转载自 zhaji2333/CkSKILLS(提交 d9922e5),依据 MIT 许可证转载正文(文字未改动;仅省略文件头元数据、将图片显示为链接,超长内容会截断);版权归 2026 zhaji2333 所有。许可证:LICENSE。仅展示说明文件,附带脚本请在原仓库查看。

web-ssrf-render — SSRF/内网探测/云元数据/服务端无头浏览器渲染专项

何时调用

  • URL 抓取/代理/转发/爬虫
  • 回调/webhook/回调通知
  • 图片/文档预览/在线解压
  • 网页截图/快照/HTML→PDF/链接预览
  • 云主机上的远程内容获取

30 秒分诊

  1. 找入口并确认请求是否真的发出(监听器回连/DNS/时间差)
  2. 先用公网 URL 确认回显,再打内网
  3. 私网被拦 → 十进制 IP/解析差异/302/重定向/DNS 重绑定
  4. 内网到手 → 先读 /api/status、/debug/config 找下一跳

首枪顺序

  • 内网 IP:169.254.169.254、100.100.100.200、imds:8080、internal-api:5000
  • 十进制 IP:127.0.0.1→2130706433;172.19.0.2→2886926338
  • 解析差异:http://internal-api:5000\@x/../debug/config
  • 302 跳转/短链/DNS 重绑定绕过白名单
  • 协议:file://、gopher://(打 Redis/FastCGI)
  • 无回显:DNS/HTTP 外带到监听器
  • 渲染:注入 <script>fetch(...)</script>/<img> 确认真浏览器
  • 渲染升级:file:// 读文件、Chromium N-day、容器内横向(转 ai-agent)

知识库索引(按需开小块,禁通读)

文件 用途 大小
knowledge/SSRF内网实战.md v2 实战:入口词表/绕过/内网/渲染 2.7KB
knowledge/ssrf-internal-network-02-二、云元数据-打内网核心.md 云元数据 0.5KB
knowledge/ssrf-internal-network-03-三、服务端无头浏览器渲染专项-截图-快照-HTML→PDF-链接预览.md 无头浏览器渲染 5.1KB
knowledge/ssrf-test.md 真实 SRC SSRF 战法(GOPROXY/代理/元数据路径差) 7.1KB
knowledge/ssrf-internal-network-05-五、绕过技术.md 绕过技术 0.4KB
knowledge/dns-rebinding-test.md DNS 重绑定 0.3KB

其余 3 个知识块(按标题搜,禁止通读):ls knowledge/;原始清单见 ../../../docs/MIGRATION.md。

相关

  • cloud-infra / ai-agent / web-waf-bypass
查看许可证全文(MIT)
MIT License

Copyright (c) 2026 zhaji2333

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.