ctf-writeup-generator
akhmittra tarafından
CommunicationÖzet
Automatically generate professional CTF writeups from solving sessions with flag detection, challenge.
Açıklama
Bu Beceri Ne Yapar
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.
Ne Zaman Kullanılır
- 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
Örnek İş Akışı
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
Kurulum
clawhub install akhmittra/ctf-writeup-generatorCLI komutunu çalıştırın ya da istemi Claude Code, Cursor, Codex veya kullandığınız kodlama ajanına yapıştırın.