0x01下载:
https://github.com/CTFd/CTFd/archive/1.0.3.tar.gz
0x02安装
Ubuntu 14.04.3 LTS
./prepare.sh to install dependencies using apt.
Modify CTFd/config.py to your liking. 默认即可
Use python serve.py in a terminal to drop into debug mode.
hostIP改成需要的IP;host=”10.160.11.191”
Here are some deployment options
You can check out the Getting Started guide for a breakdown of some of the features you need to get started.
:4000/admin/containers 添加容器
:4000/admin/chals 添加题目
:4000/admin/config 修改界面配置,定义ctf
0x03:结构解释
├── CHANGELOG.md
├── CTFd
│ ├── admin
│ ├── auth.py
│ ├── auth.pyc
│ ├── challenges.py
│ ├── challenges.pyc
│ ├── config.py
配置脚本
│ ├── config.pyc
│ ├── ctfd.db
│ ├── init.py