Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计通过

ctf-writeup-generatorctf 写入生成器

Agent Skill

ctf-writeup-generator 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

45,827

周安装

1,872

GitHub Stars

公开资料未说明

下载量

14,676
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:ctf-writeup-generator(ctf 写入生成器)
来源仓库:https://github.com/akhmittra/ctf-writeup-generator
安装命令:
openclaw skills install ctf-writeup-generator
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install ctf-writeup-generator

简介

ctf-writeup-generator 自动生成专业的 CTF 解题报告。

  • 适合在 OpenClaw 中需要整理渗透测试过程、撰写技术复盘时使用。
  • 自动分类挑战类型、提取关键步骤与工具链说明。
  • 安装命令:openclaw skills install ctf-writeup-generator;建议人工校验技术细节准确性。
  • 注意知识产权边界,不得用于非法用途。

SKILL.md

name
ctf-writeup-generator
description
Automatically generate professional CTF writeups from solving sessions with flag detection, challenge categorization, and proper markdown formatting
tags
homepage
https://github.com/yourusername/ctf-writeup-generator

CTF Writeup Generator

Description

This skill helps CTF players, security researchers, and cybersecurity educators automatically generate professional writeups from their solving sessions. It intelligently detects flag formats, categorizes challenges, structures the writeup with proper headings, and includes code blocks with syntax highlighting.

Perfect for:

  • Creating platform-specific writeups (HackTheBox, TryHackMe, OffSec, etc.)
  • Documenting Jeopardy-style CTF solutions
  • Generating educational content for training materials
  • Building a portfolio of security research

When to Use

Use this skill when the user:

  • Says "generate a CTF writeup"
  • Mentions "document my CTF solution"
  • Asks to "create a writeup for [challenge name]"
  • References completing a CTF challenge and needs documentation
  • Wants to format their solving process professionally
  • Needs to extract and format flags from their notes

Features

Flag Format Detection

Automatically detects and validates common CTF flag formats:

  • CTF{...}, FLAG{...}, flag{...}
  • Platform-specific: HTB{...}, THM{...}, SHAASTRA{...}, picoCTF{...}
  • Custom regex patterns for competition-specific formats
  • Case-sensitive validation support

Challenge Categories

Automatically categorizes based on keywords and tools used:

  • Web Exploitation: SQL injection, XSS, CSRF, authentication bypass
  • Binary Exploitation: Buffer overflow, ROP, format strings, heap exploitation
  • Reverse Engineering: Binary analysis, decompilation, obfuscation
  • Cryptography: Classical ciphers, modern crypto, hash cracking
  • Forensics: Steganography, memory forensics, network analysis, disk imaging
  • OSINT: Information gathering, social media analysis
  • PWN: Exploitation, shellcode, privilege escalation
  • Miscellaneous: Mixed or unique challenge types

Structured Output

Generates properly formatted markdown writeups with:

  • Challenge metadata (name, category, difficulty, points)
  • Executive summary
  • Reconnaissance findings
  • Step-by-step solution with code blocks
  • Tools used section
  • Flag submission
  • Key learnings and takeaways
  • Optional: Additional resources and references

Code Formatting

Proper syntax highlighting for:

  • Python, Bash, JavaScript, C/C++
  • Assembly (x86, ARM)
  • SQL queries
  • Command-line tools output
  • Network packet analysis

Instructions

When a user requests a CTF writeup, follow this workflow:

  1. Gather Information

Ask the user for: - Challenge name - Platform/CTF name (e.g., "HackTheBox", "Shaastra CTF") - Category (or detect from description) - Difficulty level (Easy/Medium/Hard or points value) - Flag format if non-standard - Their solving process/notes

  1. Process the Content

- Extract technical steps from their description - Identify tools and commands used - Detect flag format and validate - Categorize the challenge - Structure the flow logically

  1. Generate the Writeup

Create a markdown document with this structure:

   # [Challenge Name] - [Platform] CTF Writeup
   
   **Author**: [Author name or handle]  
   **Date**: [Current date]  
   **Category**: [Category]  
   **Difficulty**: [Difficulty]  
   **Points**: [Points if applicable]
   
   ## Summary
   
   [2-3 sentence overview of the challenge and solution approach]
   
   ## Challenge Description
   
   [Original challenge description if provided]
   
   ## Reconnaissance
   
   [Initial enumeration and information gathering]
   
   ## Solution
   
   ### Step 1: [Phase name]
   
   [Detailed explanation with commands/code]
   

# Commands used

   
   ### Step 2: [Next phase]
   
   [Continue with logical progression]
   
   ## Tools Used
   
   - Tool 1: Purpose
   - Tool 2: Purpose
   
   ## Flag
   

FLAG{...}

   
   ## Key Takeaways
   
   - Learning point 1
   - Learning point 2
   
   ## References
   
   - [Relevant links]
  1. Validate and Enhance

- Check flag format matches the platform - Ensure code blocks have proper syntax highlighting - Add explanatory comments to complex commands - Include alternative approaches if mentioned

  1. Save the Writeup

Save the generated writeup to a markdown file named: [platform]_[challenge-name]_writeup.md

Example Usage

User: "I just solved the 'Binary Bash' challenge from Shaastra CTF. It was a buffer overflow where I had to overwrite the return address. The flag was Shaastra{buff3r_0v3rfl0w_m4st3r}. Can you generate a writeup?"

Agent Response:

  1. Asks for additional details (tools used, exact exploit steps)
  2. Generates a professional writeup with:

- Proper challenge metadata - Binary exploitation category - Step-by-step buffer overflow explanation - Code blocks with assembly/C code - GDB commands used - Flag in correct format - Learning points about memory safety

Platform-Specific Templates

HackTheBox

  • Include machine IP, OS, and difficulty rating
  • Add user/root flag sections
  • Include attack path diagram if complex

OffSec/OSCP

  • Focus on enumeration methodology
  • Document privilege escalation chains
  • Include proof screenshots references

Jeopardy CTF

  • List point values and solve times
  • Include team strategy if relevant
  • Categorize by challenge type

Advanced Features

Multi-Tool Integration

  • Reference other skills for specific tasks:

- ghidra-skill for reverse engineering analysis - burpsuite-skill for web exploitation - volatility-skill for memory forensics

Writeup Templates

Support for different writeup styles:

  • Academic: Detailed with theoretical background
  • Speedrun: Concise with just essential steps
  • Tutorial: Beginner-friendly with extra explanations
  • Portfolio: Professional format for job applications

Export Formats

  • Standard Markdown (.md)
  • PDF via pandoc
  • HTML with custom CSS
  • Platform-specific formats (HTB Academy, Medium, dev.to)

Security Considerations

  • Never include actual credentials or sensitive API keys
  • Sanitize paths that might reveal system information
  • Respect competition rules (don't publish during active CTF)
  • Add spoiler warnings for recent challenges
  • Verify flag sharing is allowed by platform

Configuration

Users can customize via environment variables:

# Set default author name
export CTF_AUTHOR="akm626"

# Set default CTF platform
export CTF_PLATFORM="HackTheBox"

# Set preferred writeup style
export CTF_WRITEUP_STYLE="tutorial"

# Enable automatic screenshot embedding
export CTF_AUTO_SCREENSHOTS=true

Dependencies

  • Basic markdown processor (built-in)
  • Optional: pandoc (for PDF export)
  • Optional: pygments (for enhanced syntax highlighting)

Tips for Best Results

  1. Provide detailed solving notes - the more context, the better
  2. Include command outputs when relevant
  3. Mention dead-ends and why they failed (valuable learning)
  4. Reference CVEs and tool documentation
  5. Add your unique insights and methodology
  6. Keep flag formats consistent with the platform

Example Writeup Structure

For a web exploitation challenge:

# SQL Injection Master - Shaastra CTF 2026

**Author**: akm626  
**Date**: February 08, 2026  
**Category**: Web Exploitation  
**Difficulty**: Medium  
**Points**: 300

## Summary

This challenge involved exploiting a SQL injection vulnerability in a login form to extract database contents and retrieve the flag. The application used client-side filtering which was easily bypassed.

## Challenge Description

[Original description...]

## Reconnaissance

Initial enumeration revealed a PHP-based login portal running on Apache. Basic directory fuzzing found:

ffuf -w common.txt -u http://target.com/FUZZ

admin/ backup/ config/


## Solution

### Step 1: Identifying the Injection Point

Testing the login form with basic SQL injection payloads:

' OR '1'='1' -- admin' -- ' UNION SELECT NULL--


### Step 2: Database Enumeration

Used SQLMap to automate extraction:

sqlmap -u "http://target.com/login.php" --data="username=admin&password=test" \ --technique=U --dump --batch


[Continue with detailed steps...]

## Flag

SHAASTRA{sql_inj3ct10n_pr0}


## Key Takeaways

- Always test for SQL injection on input fields
- Client-side validation is not security
- Parameterized queries prevent SQL injection

## Tools Used

- **Burp Suite**: Request interception
- **SQLMap**: Automated SQL injection
- **ffuf**: Directory fuzzing

## References

- [OWASP SQL Injection Guide](https://owasp.org/...)
- [SQLMap Documentation](https://sqlmap.org/)

Contributing

Users can improve this skill by:

  • Adding new flag format patterns
  • Contributing platform-specific templates
  • Enhancing categorization logic
  • Sharing example writeups

License

MIT License - Free to use and modify

Support

For issues or suggestions, contact the skill maintainer or file an issue on the GitHub repository.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

81.63%
按下载量换算11,980

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

未展示

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills