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

ctf challenge test #56

Open ColdHeat opened 3 years ago

ColdHeat commented 3 years ago

We should have a ctf challenge test command. Some ideas:

Aurillium commented 5 months ago

I'm working on something like this at the moment, it needs a lot of testing and Docker support needs to be finished off (plus some of my additions to challenge.yml could be improved), but would you be interested in a PR and if so are there any specific requirements? Right now what mine does is:

It does kind of have the caveat that you need to be able to trust the test scripts though. That hasn't really been a major problem in my case because I was always going to virtualise the process anyway

pve commented 4 months ago

Can you add an example of a challenge.yml file that you wanted tested, in particular with a docker image to be build? I have some ideas and resources.