This plugin allows the CTFd administrator to include solutions in their challenges
- Clone this repository to CTFd/plugins.
- There are no specific python requirements for this package
- You'll need to restart CTFd after installing the plugin. However, you'll also need to restart if you change the theme, as the challenge html template is only overwritten during the startup of CTFd for the needs of the solution plugin. If you change the theme and do not restart CTFd, the solution plugin will attempt to write to non existent places in the templates and crash.
- In the
Admin Panel
go toPlugins
->solutions
. There you will find the list of all of the challenges and the state of their solutions - Click on the challenge desired and you can add a solution in markdown, including images, and mark the visibility of the solution to the users. Possible values include
Hidden
: The solution is completely hidden on the challenge modal screenAdmin Only
: Only users with the administrator role are capable of seeing the solutionsSolved
: Administrators and users who have solved the challenge can see the solutionVisible
: All users can see the solution