
Ctf Solve
- 30 installs
- 1.6k repo stars
- Updated July 19, 2026
- wgpsec/aboutsecurity
Helps with ai & agent building tasks during AI-assisted development.
About
ctf-solve is a Claude Code skill for ai & agent building. It helps solo builders move faster with AI-assisted coding.
- ctf-solve
- AI & Agent Building
- AI-coding skill
Ctf Solve by the numbers
- 30 all-time installs (skills.sh)
- +2 installs in the week ending Jul 27, 2026 (Skillselion tracking)
- Ranked #9,316 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
- Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/wgpsec/aboutsecurity --skill ctf-solveAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 30 |
|---|---|
| repo stars | ★ 1.6k |
| Last updated | July 19, 2026 |
| Repository | wgpsec/aboutsecurity ↗ |
What it does
Helps with ai & agent building tasks during AI-assisted development.
Files
CTF 综合解题编排器
Phase 1: 解题流程
1.1 侦察
file * # 识别文件类型
strings binary | grep -i flag # 快速字符串搜索
xxd binary | head -20 # Hex 头部
binwalk -e firmware.bin # 提取嵌入文件
checksec --file=binary # 检查保护
nc host port # 连接远程服务1.2 分类与 Skill 调度
按文件类型:
| 文件类型 | 分类 | 调度 Skill |
|---|---|---|
| .pcap/.evtx/.raw/.dd | 取证 | ctf-forensics |
| ELF/PE + 远程服务 | Pwn | ctf-pwn |
| ELF/PE/APK/.pyc/WASM | 逆向 | ctf-reverse |
| .py/.sage + 数字 | 密码学 | ctf-crypto |
| Web URL/HTML/JS/PHP | Web | ctf-web-methodology |
| 图片/音频/PDF(无明显内容) | 隐写取证 | ctf-forensics |
按关键词:
| 关键词 | 分类 |
|---|---|
| overflow/ROP/shellcode/heap | ctf-pwn |
| RSA/AES/cipher/lattice/LWE | ctf-crypto |
| XSS/SQLi/JWT/SSRF | ctf-web-methodology |
| disk image/memory dump/registry | ctf-forensics |
| find/locate/identify/who/where | ctf-osint |
| obfuscated/C2/malware/beacon | ctf-malware |
| jail/sandbox/encoding/game | ctf-misc |
1.3 卡住时转向
1. 重新分类 — 很多题跨分类(Web+Crypto, Forensics+Crypto, Reverse+Pwn) 2. 检查遗漏 — 隐藏文件、备用端口、响应头、注释、元数据 3. 简化 — 检查是否有更简单路径(默认凭据、已知CVE、逻辑漏洞)
常见跨分类模式:
- 取证 + 密码学:PCAP/磁盘中的加密数据
- Web + 逆向:WASM 或混淆 JS
- Web + 密码学:JWT 伪造、自定义签名
- 逆向 + Pwn:先逆向再利用
- OSINT + 隐写:社交媒体 Unicode 同形字
Phase 2: 辅助信息
2.1 Flag 格式
常见:flag{...} / CTF{...} / 自定义前缀(ENO{...} / HTB{...})
grep -rniE '(flag|ctf|eno|htb|pico)\{' .
strings output.bin | grep -iE '\{.*\}'2.2 卡住时策略
- 回退侦察:robots.txt、.git、备份文件、目录扫描
2.3 文件类型识别
- SQLite 数据库文件:用 sqlite3 命令打开,.tables 查询表结构
{
"skill_name": "ctf-solve",
"evals": [
{
"id": 1,
"name": "challenge-classification",
"prompt": "CTF 比赛中拿到一个文件 challenge.bin。file 命令显示为 ELF 64-bit LSB executable。checksec 显示 NX 开启、PIE 关闭。题目描述提到 nc host 1337 可以连接远程服务。请判断题目类型并给出解题思路。",
"expected_output": "分类为 Pwn 题:ELF + 远程服务 → 二进制漏洞利用。逆向分析找漏洞 → 本地开发 exploit → 远程打",
"expectations": [
"Pwn|二进制|漏洞利用|exploit",
"ELF|远程服务|nc|网络服务",
"逆向|反编译|checksec|分析保护",
"ctf-pwn|调度|对应skill|专项技术",
"本地|远程|exploit开发|调试"
],
"required_terms": [
"ELF",
"Pwn",
"checksec"
]
},
{
"id": 2,
"name": "cross-category-challenge",
"prompt": "CTF 题目给了一个 PCAP 文件和一个加密的 ZIP 文件。PCAP 中有 HTTP 流量,传输了一些看似 base64 的数据。请分析这是什么类型的跨分类题目,并给出解题流程。",
"expected_output": "跨分类题(取证+密码学):PCAP 流量分析提取 base64 数据 → 解码得到 ZIP 密码或密钥 → 解密 ZIP 获取 flag",
"expectations": [
"跨分类|多分类|取证+密码|forensics+crypto",
"PCAP|流量分析|tshark|提取数据",
"base64|解码|提取|HTTP内容",
"ZIP|密码|解密|解压",
"分步|先取证后解密|流程|顺序"
],
"required_terms": [
"PCAP",
"forensics+crypto"
]
},
{
"id": 3,
"name": "stuck-pivot-strategy",
"prompt": "CTF 解题过程中,你已经在一个 Web 题上花了 1 小时但毫无进展。页面只有一个登录表单,SQL 注入和暴力破解都无效。请描述如何调整策略。",
"expected_output": "重新侦察:检查源码注释/隐藏路径/robots.txt/响应头/JS文件/备用端口/默认凭据/已知CVE,考虑是否分类错误",
"expectations": [
"重新分类|换思路|重新侦察|回到起点",
"源码|注释|JS|隐藏信息|响应头",
"robots.txt|.git|备份文件|目录扫描",
"默认凭据|CVE|已知漏洞|简单路径",
"备用端口|其他服务|全端口扫描|遗漏"
],
"required_terms": [
"robots.txt",
".git",
"CVE"
]
},
{
"id": 4,
"name": "file-type-identification",
"prompt": "CTF 题目给了一个无后缀名的文件 mystery。file 命令显示 data(无法识别)。xxd 查看前 16 字节为:53 51 4c 69 74 65 20 66 6f 72 6d 61 74 20 33 00。请识别文件类型并给出分析方法。",
"expected_output": "SQLite 数据库文件(magic bytes: 'SQLite format 3')→ 用 sqlite3 打开查询表和数据",
"expectations": [
"SQLite|sqlite3|数据库|database",
"magic bytes|文件头|53 51 4c 69|签名",
"sqlite3 mystery|打开|查询|.tables",
"SELECT|表|数据|flag查询",
"hex|xxd|文件识别|手动分析"
],
"required_terms": [
".tables",
"SQLite",
"sqlite3"
]
}
]
}
{
"skill_id": "ctf-solve",
"recall_tests": [
{
"id": 1,
"type": "keyword_positive",
"description": "核心关键词",
"keywords": [
"ctf solve",
"解题",
"orchestrator"
]
},
{
"id": 2,
"type": "keyword_positive",
"description": "场景搜索",
"keywords": [
"challenge",
"编排"
]
},
{
"id": 3,
"type": "keyword_negative",
"description": "不应被report召回",
"keywords": [
"报告",
"修复建议"
]
}
],
"llm_tests": [
{
"id": 1,
"name": "ctf-solve-scenario",
"scenario": "CTF 比赛中遇到一道综合题,已收集信息但不确定下一步该怎么利用。请搜索 CTF 通用解题方法论。",
"max_rounds": 2,
"expect_tool_calls": [
{
"tool": "list_skills",
"keyword_contains": "ctf|solve|解题"
},
{
"tool": "read_skill",
"id": "ctf-solve"
}
]
}
]
}Related skills
AI & Agent Buildingagents