Amodio/ctfd-helper
GitHub: Amodio/ctfd-helper
基于 CTFd 平台的 CTF 比赛辅助客户端,提供本地化的挑战题目和 flag 管理界面。
Stars: 2 | Forks: 0
# ctfd-helper
用于 Capture The Flags 比赛的备用 Web 客户端界面。它会在本地存储挑战、flag 等内容。
## 安装说明
### 前置准备(必需)
```
# 最低要求:带有 Flask 的 Python3
apt install python3-pip unzip
pip install Flask requests --break-system-packages # (or use python -m venv ctfd-helper)
```
### 完成安装
```
wget https://github.com/Amodio/ctfd-helper/releases/latest/download/ctfd-helper.zip && \
unzip ctfd-helper.zip && cd ctfd-helper/
./ctfd-helper.py
```
注意:在 Windows 上,您也可以直接使用打包好的独立文件(速度会稍慢一点):[ctfd-helper.exe](https://github.com/Amodio/ctfd-helper/releases/latest/download/ctfd-helper.exe)。
### 或者面向开发者
```
git clone https://github.com/Amodio/ctfd-helper.git
cd ctfd-helper/
# Node 模块(依赖项)
apt install npm rollup
npm ci
# 在 clone 之后以及每次更改 JS/HTML src/ 代码时需要
npm run clean; npm run dev
./ctfd-helper.py
```
## 注意事项
如果您没有解锁所有的挑战,某些统计数据(挑战的数量和分数)可能会与计分板上的显示有所不同。
最终目标是为 CTFd 提供一个能够自动解决某些挑战的界面。
目前尚未实现这方面的任何自动化功能。
后端由 Python3/Flask 驱动,前端使用 [Lit](https://lit.dev)(通过 rollup 打包)。
标签:CTFd, CTF辅助, Flask, Lit, MITM代理, Web客户端, 暗色界面, 自定义脚本