一键导入
ctf-plat-skills
Use when: detecting target CTF platform type, collecting user credentials, and routing actions to the correct script under scripts/ by platform.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when: detecting target CTF platform type, collecting user credentials, and routing actions to the correct script under scripts/ by platform.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | ctf-plat-skills |
| description | Use when: detecting target CTF platform type, collecting user credentials, and routing actions to the correct script under scripts/ by platform. |
Produce a reusable automation flow that can:
scripts/ based on platform typemetadata, list, fetch, download, start, stop, renew, submit)challenge_id, instance_id, flag)gzctf -> python scripts/gzctf.py ...zerosecone -> python scripts/zerosecone.py ...scripts/ and extending the routing map.Run from the workspace root.
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.
Save base_url and token (or other credentials) in environment variables or pass as arguments to platform scripts.
Route to the matched platform script.
gzctf, call:python scripts/gzctf.py list
zerosecone, call:python scripts/zerosecone.py list
python scripts/gzctf.py metadata
python scripts/gzctf.py list
python scripts/gzctf.py fetch <challenge_id>
python scripts/gzctf.py download <challenge_id>
python scripts/gzctf.py start <challenge_id>
python scripts/gzctf.py renew <instance_id>
python scripts/gzctf.py stop <instance_id>
python scripts/gzctf.py submit <challenge_id> <flag>
python scripts/zerosecone.py fetch <challenge_id>
python scripts/zerosecone.py download <challenge_id>
python scripts/zerosecone.py start <challenge_id>
python scripts/zerosecone.py renew <instance_id>
python scripts/zerosecone.py submit <challenge_id> <flag>
websocat is required before interaction.brew install websocat
or
sudo port install websocat
Go https://github.com/vi/websocat/releases Download Pre-built Binary and add to PATH
Go https://github.com/vi/websocat/releases Download Pre-built Binary and add to PATH
https://github.com/vi/websocat
websocat is available in PATH.websocat availability first (command -v websocat)websocat automatically when missinghttps://github.com/vi/websocatapi/proxy/<uuid> endpoints, try direct websocket connection first without adding Cookie auth headerswebsocat and probe it with normal TCP/HTTP tools such as curl or ncscripts/detect_platorm.pywebsocat before exploitation/interactionDetection:
python scripts/detect_platorm.py --url <target_url>
GZCTF with env token:
python scripts/gzctf.py list
GZCTF with explicit credentials:
python scripts/gzctf.py <action> [args]
Zerosecone with env token:
python scripts/zerosecone.py list
Zerosecone with explicit credentials:
python scripts/zerosecone.py --url <target_url> --token "$ZEROSECONE_TOKEN" <action> [args]
Websocket environment port binding (required before interaction):
command -v websocat || <install-websocat-by-os>
websocat tcp-l:127.0.0.1:<local_port> ws://<target_ws_endpoint>
# or
websocat -k tcp-l:127.0.0.1:<local_port> wss://<target_ws_endpoint>
Direct GZCTF websocket proxy probe without Cookie:
printf 'help\n' | websocat -v -k -t -E 'wss://<domain>/api/proxy/<instance_uuid>'
If installation fails, ask user to install manually from https://github.com/vi/websocat and rerun the binding command.