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

Distant scenarios and key=value configuration #403

Open
pandatix opened this issue Dec 29, 2024 · 0 comments
Open

Distant scenarios and key=value configuration #403

pandatix opened this issue Dec 29, 2024 · 0 comments
Assignees
Labels
chall-manager Related to chall-manager documentation Improvements or additions to documentation enhancement New feature or request go Pull requests that update Go code sdk Related to chall-manager SDK

Comments

@pandatix
Copy link
Member

Currently, scenarios are provided as zip archives. This is sufficient, but we observed multiple usages of the same scenario with constants redefined.

For instance, during the NoBrackets 2024 we used 13 kubernetes.ExposedMonopod for the SDK, and in the main.go file we only changed the private registry, Docker image name and connection info... To compile it thus become 50 Mo, and at scale 650 Mo for a small CTF.

This highlighted the need to configure a generic ExposedMonopod binary, with a key=value mecanism.

The idea to implement could be to permit a challenge to use a distant scenario, put it in a cache (locally ?), and pass key=value pairs to the state on deployment. This could further enhance current capabilities, with the possibility to pass, for instance, a VLAN id for network segregation.

@pandatix pandatix added documentation Improvements or additions to documentation enhancement New feature or request go Pull requests that update Go code chall-manager Related to chall-manager sdk Related to chall-manager SDK labels Dec 29, 2024
@pandatix pandatix self-assigned this Dec 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chall-manager Related to chall-manager documentation Improvements or additions to documentation enhancement New feature or request go Pull requests that update Go code sdk Related to chall-manager SDK
Projects
None yet
Development

No branches or pull requests

1 participant