A plugin for CTFd to facilitate generating and serving unique problem instances to compeitors
The install of this plugin is not entirely intuitive. This is partly because the CTFd plugin mechanics are in flux. I will make this plugin a bit simpler when those mechanics are settled. In the meantime it's not too hard either
git clone
this repo into the CTFd/plugins directory- Move the
models.patch
file into the base directory or your CTFd repo - In the base repo run
git checkout 1.0.2
to checkout to the currently working ctfd version. - Run
git apply --check models.patch
to test the patch - Run
git apply models.patch
to add the instancing models and suppress flask migrations - Move the
template/user
andtemplate/admin
files intoCTFd/static/<theme>/js/templates/challenges/instanced
andCTFd/static/admin/js/templates/challenges/instanced
respectively, where<theme>
is your theme ('original' by default)
Boot everything up and you should be good to go!