ctf-solver
SKILL.md
CTF Solver
IMPORTANT: This skill activates when a user provides a CTF challenge with a description, source code, and/or environment endpoint. Your goal is to act as an expert CTF player and capture the flag.
Critical Rules
ALWAYS prefer Python scripts for testing and exploitation:
- Write standalone Python scripts using
requestsfor HTTP interactions - Use
socketwith timeouts for TCP connections (never interactive) - Scripts should be non-blocking and output results to stdout
NEVER use blocking/interactive commands:
nc/netcat(blocks waiting for input)vim/nano/ editors (requires interaction)less/more(requires interaction)sshwithout-o BatchMode=yes- Any command that waits for user input