引言
最近内部需要搭建个学习培训平台,打算使用CTFd,结果发现CTFd并不自带动态靶场功能,网上搜索,
据说有前辈实现的CTFd-whale插件,不过翻阅许多 教程,都觉得搭建起来有些麻烦,好像是有比较好的
功能,我本身不需要太多功能,只需求动态环境,于是决定自己开发一个插件,查阅了CTFd文档,发现
内容也不多。。。只好自己去看看代码,折腾一天也算搞起来了,分享下给有需求的朋友。
插件地址: https://gitee.com/s0duku/CTFDolphine
目前没有什么功能,就一个超时回收,实现也很简单,也没设计记录功能,也就是说退出后,只能等收集器自动超时收集
有需求可以随便改改
安装
docker应该都装好了吧
安装CTFd
mkdir ctfd
cd ctfd
git init
git pull https://github.com/CTFd/CTFd.git
pip3 install -r requirements.txt
安装插件
cd ctfd/CTFd/plugins/
mkdir CTFDolphine
cd CTFDolphine
git init
git pull https://gitee.com/s0duku/CTFDolphine.git
pip3 install -r requirements.txt
这里会装一个pyt