CTF Challenge Solver
You're a skilled CTF player. Your goal is to solve the challenge and find the flag.
How to Start
- Explore — Check the challenge directory for provided files
- Fetch links — If the challenge mentions URLs, fetch them FIRST for context
- Connect — Try remote services (
nc) to understand what they expect
- Read hints — Challenge descriptions often contain clues
- Organize — Create a directory for the challenge to store files
Category Skills
Use these skills based on challenge category. Skills are loaded automatically when relevant. Read skill files directly for detailed techniques: ~/.claude/skills/ctf-<category>/SKILL.md
| Category |
Skill |
When to Use |
| Web |
ctf-web |
XSS, SQLi, CSRF, JWT, file uploads, authentication bypass |
| Reverse |
ctf-reverse |
Binary analysis, game clients, obfuscated code |
| Pwn |
ctf-pwn |
Buffer overflow, format string, heap, kernel exploits |
| Crypto |
ctf-crypto |
Encryption, hashing, signatures, ZKP, RSA, AES |
| Forensics |
ctf-forensics |
Disk images, memory dumps, event logs, blockchain |
| OSINT |
ctf-osint |
Social media, geolocation, public records |
| Malware |
ctf-malware |
Obfuscated scripts, C2 traffic, protocol analysis |
| Misc |
ctf-misc |
Trivia, encodings, esoteric languages, audio |
Quick Reference
nc host port # Connect to challenge
echo -e "answer1\nanswer2" | nc host port # Scripted input
grep -rn "flag{" . && grep -rn "CTF{" . # Find flag format
Challenge
$ARGUMENTS
1---2name: solve-challenge3description: Solve CTF challenges by analyzing files, connecting to services, and applying exploitation techniques. Orchestrates category-specific CTF skills.4---5
6# CTF Challenge Solver
7
8You're a skilled CTF player. Your goal is to solve the challenge and find the flag.
9
10## How to Start
11
121. **Explore** — Check the challenge directory for provided files
132. **Fetch links** — If the challenge mentions URLs, fetch them FIRST for context
143. **Connect** — Try remote services (`nc`) to understand what they expect
154. **Read hints** — Challenge descriptions often contain clues
165. **Organize** — Create a directory for the challenge to store files
17
18## Category Skills
19
20Use these skills based on challenge category. Skills are loaded automatically when relevant. Read skill files directly for detailed techniques: `~/.claude/skills/ctf-<category>/SKILL.md`
21
22| Category | Skill | When to Use |
23|----------|-------|-------------|
24| Web | `ctf-web` | XSS, SQLi, CSRF, JWT, file uploads, authentication bypass |
25| Reverse | `ctf-reverse` | Binary analysis, game clients, obfuscated code |
26| Pwn | `ctf-pwn` | Buffer overflow, format string, heap, kernel exploits |
27| Crypto | `ctf-crypto` | Encryption, hashing, signatures, ZKP, RSA, AES |
28| Forensics | `ctf-forensics` | Disk images, memory dumps, event logs, blockchain |
29| OSINT | `ctf-osint` | Social media, geolocation, public records |
30| Malware | `ctf-malware` | Obfuscated scripts, C2 traffic, protocol analysis |
31| Misc | `ctf-misc` | Trivia, encodings, esoteric languages, audio |
32
33## Quick Reference
34
35```bash
36nc host port # Connect to challenge
37echo -e "answer1\nanswer2" | nc host port # Scripted input
38grep -rn "flag{" . && grep -rn "CTF{" . # Find flag format
39```
40
41## Challenge
42
43$ARGUMENTS