malrang_auto_ctf
Claude Code的自主CTF求解框架。
特性
- 8类:加密、pwn、web、rev、web3、取证、ai、misc
- 11台MCP服务器:solver-z3、sage助手、pwn本地、py-repl等
- 自动循环检测:3次相同故障=警告,5次=硬停止
- 标志验证:根据实际执行输出验证候选人
- Dreamhack自动进气系统:Chrome MCP导航、下载、支架、解决
- 并行求解:求解器-a(正统)+求解器-b(旁路)分支
- 学习循环:CTF_SPEEDRUN_MEMORY.md跨会话累积模式
快速开始
# Scaffold a new challenge
.\scripts\scaffold.ps1 -Name "RSA_Quartet" -Category crypto -Remote "host1.dreamhack.games 12345"
# Run solver
.\scripts\run.ps1 -Path challenges\RSA_Quartet -Mode remote
# Check completion gates
.\scripts\gate.ps1 -Path challenges\RSA_Quartet或者在Claude Code中,只需说: solve challenges/RSA_Quartet
结构
categories/ 8 attack-pattern guides per category
challenges/ flat namespace, one folder per challenge
knowledge/ CTF_SPEEDRUN_MEMORY.md (accumulated lessons)
mcp_servers/ custom MCP server code (pwn-local, sage, cryptominisat)
scripts/ 5 essential PowerShell scripts
templates/ solve.py / exploit.py starter templates环境
- Windows 11+WSL(适用于pwntools、gdb、sage)
- Claude Code,配备11台MCP服务器
- Chrome MCP用于网络自动化/Dreamhack摄入
