ctf-writeup-generator
由 akhmittra 提供
Communication简介
Automatically generate professional CTF writeups from solving sessions with flag detection, challenge.
描述
该技能的功能
Generates structured CTF writeups from solving session notes. Given challenge details and solve steps, it detects flag formats, categorizes the challenge type, and outputs formatted markdown with metadata, code blocks, and a tools section. Supports platform-specific templates for HackTheBox, TryHackMe, OffSec, and Jeopardy-style CTFs.
Manually formatting raw solving notes into a structured writeup requires repetitive effort; this automates flag detection, challenge categorization, and markdown structure in a single pass.
何时使用
- Documenting a HackTheBox machine walkthrough after getting root
- Formatting Jeopardy CTF solutions for public posting after a competition
- Building a portfolio of solved security challenges
- Turning rough TryHackMe notes into shareable markdown
- Creating educational writeups for a cybersecurity training course
示例工作流
User asks: Generate a writeup for the 'Binary Bash' Shaastra CTF challenge. It was a buffer overflow where I overwrote the return address. Flag is Shaastra{buff3r_0v3rfl0w_m4st3r}
- 1
Asks for additional details including tools used, exact exploit steps, difficulty, and point value
- 2
Detects the Shaastra flag format and validates it against the provided flag
- 3
Categorizes the challenge as Binary Exploitation based on buffer overflow keywords
- 4
Structures the writeup with metadata, reconnaissance, step-by-step solution with GDB commands and assembly code blocks, and key takeaways
- 5
Saves the output as shaastra_binary-bash_writeup.md
A markdown file with challenge metadata, buffer overflow walkthrough, annotated GDB commands, tools section listing tools like pwntools, and the validated flag
安装
clawhub install akhmittra/ctf-writeup-generator运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。