Skip to content

adb014/CTFd-solutions

Repository files navigation

CTFd Solutions plugin

This plugin allows the CTFd administrator to include solutions in their challenges

Installation

  1. Clone this repository to CTFd/plugins.
  2. There are no specific python requirements for this package
  3. 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.
  4. In the Admin Panel go to Plugins -> solutions. There you will find the list of all of the challenges and the state of their solutions
  5. 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 screen
    • Admin Only : Only users with the administrator role are capable of seeing the solutions
    • Solved : Administrators and users who have solved the challenge can see the solution
    • Visible : All users can see the solution

Screenshots

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published