JIMIT-PARIKH-01/ctf-extras-toolkit
GitHub: JIMIT-PARIKH-01/ctf-extras-toolkit
一款无第三方依赖的 CTF 辅助工具包,提供 24 位 BMP 图像 LSB 隐写和 Markdown Writeup 生成功能,支持 GUI 与 CLI 双模式。
Stars: 0 | Forks: 0
# CTF Extras 工具包
两个 CTF 辅助工具 —— **无依赖**,支持 GUI + CLI。
1. **LSB 隐写术** —— 将文本信息隐藏到
**24 位 BMP** 图像的最低有效位中(已验证往返一致性),或从中提取信息。经典的隐写挑战工具。
2. **Writeup 生成器** —— 将挑战详情转换为整洁、一致的 Markdown writeup。
仅使用标准库(`struct`、`datetime`)。Python 3.8+。
(BMP 使隐写无需依赖外部库;PNG/JPEG 则需要 Pillow。)
## 运行
```
python ctfextras/gui.py # GUI (tabs: Steganography / Writeup), or run.bat
python -m ctfextras stego hide in.bmp "flag{hidden}" --out out.bmp
python -m ctfextras stego extract out.bmp
python -m ctfextras writeup --name "Baby RSA" --category crypto --points 100 ^
--flag "flag{...}" --step "Recover p,q" --step "Compute d" --tool RsaCtfTool
```
## 目录结构
```
ctf-extras-toolkit/
└── ctfextras/
├── stego.py # 24-bit BMP LSB hide/extract
├── writeup.py # Markdown writeup generator
├── cli.py gui.py run.bat
```
MIT —— 见 [LICENSE](./LICENSE)。
标签:DNS 反向解析, Markdown, meg, Python, 信息安全, 图形界面工具, 无后门, 网络信息收集, 逆向工具, 隐写术