← ClaudeAtlas

ctf-plat-skillslisted

Use when: detecting target CTF platform type, collecting user credentials, and routing actions to the correct script under scripts/ by platform.
ZianTT/ctf-plat-skills · ★ 9 · Data & Documents · score 51
Install: claude install-skill ZianTT/ctf-plat-skills
# CTF Platform Workflow Skill ## Outcome Produce a reusable automation flow that can: - Detect target CTF platform type from the target URL/domain using the repository detection script only - Collect credentials from the user safely - Route commands to the correct script in `scripts/` based on platform type ## Inputs - Required: - target URL or domain - platform credential(s) from the user - Optional: - desired action (`metadata`, `list`, `fetch`, `download`, `start`, `stop`, `renew`, `submit`) - action arguments (`challenge_id`, `instance_id`, `flag`) ## Script Routing Map - `gzctf` -> `python scripts/gzctf.py ...` - `zerosecone` -> `python scripts/zerosecone.py ...` - More platforms can be added later by creating new scripts in `scripts/` and extending the routing map. ## Core Workflow Run from the workspace root. 1. Detect platform type using the repository detection script only. Fix to url format if needed. ```bash python scripts/detect_platorm.py --url <target_url> ``` Do not infer platform type from manual HTML inspection, browser checks, ad-hoc HTTP probing, or branding heuristics when this script is available. 2. Ask user for required credentials after detection. 3. Save base_url and token (or other credentials) in environment variables or pass as arguments to platform scripts. 4. Route to the matched platform script. - If detected platform is `gzctf`, call: ```bash python scripts/gzctf.py list ``` - If detected platform is `zerosecone`, call: ```bash p