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

Allow `connection_info` for container challenges #120

Closed pl4nty closed 1 year ago

pl4nty commented 1 year ago

connection_info for container challenges is currently set by the deployment handler. It would be helpful to be able to override this in challenge.yml for certain challenges.

https://github.com/CTFd/ctfcli/blob/de3dcee5aef90d2b3a02f2625a623e3e6914903d/ctfcli/cli/challenges.py#L340

ColdHeat commented 1 year ago

Makes sense, feel free to submit a PR for this if you can. I think if specified the connection info in challenge.yml should take priority.