competition-runtime-routing
它能做什么
这个工具可以帮你弄清楚,某个具体请求是由计算机系统中的哪一部分响应的。它会分析请求如何经过不同的规则和设置,最终到达目的地。
适用场景
- ✓当你不知道哪台服务器在接收你的请求时。
- ✓当你想了解转发规则如何影响你的连接时。
- ✓当某个地址看起来是公网地址,但实际上却属于内部系统,你需要调查原因时。
技能链接
https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-runtime-routing/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“对于 Host 请求头为 'app.example.com' 的路由 '/api/v1/users',是哪台服务器在响应?”
每周 5 个新技能,1 分钟读完。
工作原理
它会检查路由规则、请求头被如何修改,以及哪些服务正在监听。然后,它会追踪请求从客户端到最终服务的完整路径。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Competition Runtime Routing
Use this skill only as a downstream specialization after $ctf-sandbox-orchestrator is already active and has established sandbox assumptions, node ownership, and evidence priorities. If that has not happened yet, return to $ctf-sandbox-orchestrator first.
Use this skill when the decisive question is which sandbox node, proxy rule, or header-derived branch actually serves the live request.
Reply in Simplified Chinese unless the user explicitly requests English.
Quick Start
- Assume every presented hostname, domain, and node belongs to the sandbox unless the challenge path disproves it.
- Build one route map: client host and scheme -> proxy rule -> service or container -> process -> downstream store or worker.
- Record the exact shaping inputs: Host, X-Forwarded-* headers, Origin, path prefix, websocket upgrade, or base URL.
- Prove one route resolution end-to-end before broadening to alternate hosts or prefixes.
- Re-run the same request with one routing input changed at a time.
Workflow
1. Map Route Inputs
- Inspect vhost rules, reverse proxies, forwarded headers, path-prefix rewrites, upstream pools, and websocket or SSE upgrades.
- Note which parts of the request influence routing or app behavior: host, scheme, port, path, prefix, cookie scope, or origin.
- Treat public-looking domains, cloud hostnames, and separate VPS nodes as sandbox routing fixtures first.
2. Trace Route To Live Consumer
- Map hostname to proxy rule to container or process to port to downstream service.
- Compare checked-in proxy intent against live listeners, mounted configs, runtime env, and observed traffic.
- Keep headers, proxy config, and live request traces tied together in one evidence chain.
3. Prove The Decisive Deviation
- Reduce the result to the smallest request shape that flips host-based routing, tenant selection, cookie scope, or upstream target.
- Distinguish route resolution from application auth logic; prove where each decision really happens.
- If the problem shifts from routing to general web state or container runtime drift, switch back to the broader parent skill.
Read This Reference
- Load
references/runtime-routing.mdfor the routing checklist, header matrix, and evidence packaging. - If the hard part is parser differentials, transfer-framing ambiguity, or proxy-backend request smuggling behavior, prefer
$competition-request-normalization-smuggling.
What To Preserve
- Hostnames, proxy snippets, header sets, path prefixes, listener ports, and route-specific cookies
- The exact request shape that reaches the decisive backend or branch
- One compact host -> proxy -> service -> process map for the active path
常见问题
什么是“请求头”(headers)?
请求头就像附在网络请求上的小便签,里面带着额外的信息,比如请求是谁发出的,或者内容是什么类型。
什么是“虚拟主机路由”(vhost routing)?
它是一种让单台服务器能够响应多个不同域名的方法,会根据你使用的域名,把每个请求分发到正确的位置。
为什么我需要先用另一个工具?
这个工具在一个更大的系统已经搭好基础环境之后效果最好。它专门负责分析这个已经配置好的环境中的路由细节。
详情
作者的原始描述
Internal downstream skill for ctf-sandbox-orchestrator. CTF-sandbox workflow for reverse proxies, Host headers, forwarded headers, vhost routing, websocket upgrades, path-prefix rewriting, base-URL derivation, and multi-node route resolution. Use when the user asks which host or container serves a route, why a public-looking domain still belongs to the sandbox, how headers or proxies change behavi
热度
- GitHub 星标
- 42k
- 排名
- #6449
- 许可证
- MIT
- 更新时间
- 2026/9/22
评论
- …
同一仓库的更多技能
competition-ad-certificate-abuse
42k帮你的智能体分析针对数字证书系统的攻击。它会研究证书可能如何被滥用来获取访问权限。
competition-agent-cloud
42k帮你的智能体分析 AI 和云系统中的安全问题。它会研究提示词、工具和云端可能如何被利用。
competition-android-hooking
42k帮你的智能体研究 Android 应用。它会分析应用的内部运行方式,以及可能如何被修改或利用。
competition-browser-persistence
42k帮你的智能体分析网站如何在浏览器中存储信息。它会研究 Cookie 等数据,以理解会话是如何运作的。