CTFd / ctfcli

ctfcli is a tool to manage Capture The Flag events and challenges
https://ctfd.io/
Apache License 2.0
165 stars 67 forks source link

Add option to use certain commands outside of a ctfcli project #136

Closed MilyMilo closed 9 months ago

MilyMilo commented 9 months ago

Closes #135

MilyMilo commented 9 months ago

I've made the challenge resolving methods static, so that they can be used outside of the challenge class (as utility functons).

I've also fixed 2 issues with plugins:

  1. It was not possible to add a custom command, because fire always received the vanilla CTFCLI class, instead of the one that can be modified with plugins
  2. __pycache__ inside the plugin directory would cause ctfcli to break