Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[🚀] Support multiple flags #129

Closed
mal-tee opened this issue Feb 15, 2023 · 3 comments
Closed

[🚀] Support multiple flags #129

mal-tee opened this issue Feb 15, 2023 · 3 comments

Comments

@mal-tee
Copy link

mal-tee commented Feb 15, 2023

🚀 Feature request

Description

In a ctf setting it can be useful to have multiple flag strings for a task --> every team/instance can get its own unique flag.

Solution ideas

Overload the configuration option ctfKey.

@github-actions
Copy link

Thanks a lot for opening your first issue with us! 🧡 We'll get back to you shortly! ⏳ If it was a Support Request, please check our extensive CTF manual first. Also, please consider asking on the community chat next time! 💬

@bkimminich
Copy link
Member

Most straightforward solution might be to accept a comma separated string or even JSON array as ctfKey and then splitting it and looping over them when creating flags per challenge.

@bkimminich
Copy link
Member

every team/instance can get its own unique flag

Sidenote: Binding flags to users or teams wouldn't be possible, though, as we don't know what teams will exist on the Score Server, so unless you somehow solve this on the Score Server itself, teams could always submit any of the valid flags, no matter which ctfKey was used to create the flag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants