본문으로 건너뛰기
Skillpedia
API 및 서버 (백엔드)42k · #6449

competition-runtime-routing

하는 일

이 도구는 컴퓨터 시스템의 어느 부분이 특정 요청에 응답하는지 알아내도록 돕습니다. 요청이 여러 규칙과 설정을 거쳐 최종 목적지에 도달하는 과정을 분석합니다.

사용하는 경우

  • ✓요청을 어느 서버가 받는지 모를 때.
  • ✓전달 규칙이 연결에 어떤 영향을 주는지 이해하고 싶을 때.
  • ✓주소가 공개처럼 보이는데도 내부 시스템에 속해 있는 이유를 조사하는 경우.

스킬 링크

https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-runtime-routing/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-runtime-routing/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

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

  1. Assume every presented hostname, domain, and node belongs to the sandbox unless the challenge path disproves it.
  2. Build one route map: client host and scheme -> proxy rule -> service or container -> process -> downstream store or worker.
  3. Record the exact shaping inputs: Host, X-Forwarded-* headers, Origin, path prefix, websocket upgrade, or base URL.
  4. Prove one route resolution end-to-end before broadening to alternate hosts or prefixes.
  5. 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.md for 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
자주 묻는 질문

‘헤더’란 무엇인가요?

인터넷 요청에 붙은 작은 메모와 같습니다. 누가 보냈는지나 어떤 종류의 내용인지 같은 추가 정보를 담습니다.

‘vhost 라우팅’이란 무엇인가요?

하나의 서버가 여러 다른 도메인 이름에 응답하도록 하고, 사용된 이름에 따라 각 요청을 올바른 곳으로 보내는 방법입니다.

왜 다른 도구를 먼저 사용해야 하나요?

이 도구는 더 큰 시스템이 기본 환경을 이미 설정했을 때 가장 잘 작동합니다. 이미 설정된 환경 안의 라우팅 세부 사항을 전문으로 다룹니다.

상세 정보

작성자의 원본 설명

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

repo: zhaoxuya520/reverse-skill

인기도

GitHub 스타
42k
순위
#6449
라이선스
MIT
업데이트
2026. 9. 22.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬