Skip to content

A plugin for CTFd to facilitate generating and serving unique problem instances to compeitors

Notifications You must be signed in to change notification settings

tamuctf/ctfd-instancing-plugin

Repository files navigation

ctfd-instancing-plugin

A plugin for CTFd to facilitate generating and serving unique problem instances to compeitors

Install instructions

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

  1. git clone this repo into the CTFd/plugins directory
  2. Move the models.patch file into the base directory or your CTFd repo
  3. In the base repo run git checkout 1.0.2 to checkout to the currently working ctfd version.
  4. Run git apply --check models.patch to test the patch
  5. Run git apply models.patch to add the instancing models and suppress flask migrations
  6. Move the template/user and template/admin files into CTFd/static/<theme>/js/templates/challenges/instanced and CTFd/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!

About

A plugin for CTFd to facilitate generating and serving unique problem instances to compeitors

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published