moloch-- / RootTheBox

A Game of Hackers (CTF Scoreboard & Game Manager)
http://root-the-box.com/
Apache License 2.0
937 stars 295 forks source link

Support CTFd-Whale plugin #310

Open cohux opened 4 years ago

cohux commented 4 years ago

Can you add support for docker instance examples

  1. Allow users to create their own independent target aircraft. (When solving the problem, it is not affected by other users' operation of the problem like the shared target machine, and the experience is better)
  2. Questions can be deployed quickly (question images are available on dockerhub, and you can quickly use questions packaged by others)
  3. Can deploy hundreds or thousands of questions on a low-configuration machine (as long as the hard disk is large enough, because the questions are started on demand, not simultaneously)
eljeffeg commented 4 years ago

I think this probably goes to a larger request of RTB support for CTFd plugins. CTFd is also Python based and structured similarly to RTB, so it's within the realm of possible. They use Flask and we use Tornado, so I'm not sure about the compatibility there. I'm open to trying to copy their plugin API if it's workable. As for the features of Whale, I'd love to include it as an option for RTB. Maybe @glzjin could add thoughts as I'm unfamiliar with CTFd's plugins. If not supporting the plugin, would be great to maybe add the functionality directly.

cohux commented 4 years ago

Looking forward to supporting docker functionality, thanks to the developers

glzjin commented 4 years ago

Sure. I'd like to help you~