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

Chall-Manager cannot be used on imported CTFd configuration #72

Open
NicoFgrx opened this issue Dec 20, 2024 · 0 comments
Open

Chall-Manager cannot be used on imported CTFd configuration #72

NicoFgrx opened this issue Dec 20, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@NicoFgrx
Copy link
Member

NicoFgrx commented Dec 20, 2024

Context

If I export the configuration of a CTFd A, configured with a Chall-Manager B.
And I use this export on a CTFd C, configured with a Chall-Manager D.

Issue

The CTFd C will have all configured challenges, scenarios and all CTFd attributes (submission, ....).
But the Chall-Manager D will NOT have the required challenge/scenario to use the new instance easily "plug and play".
This is because scenarios are uploaded while executing the create method of the class DynamicIaCChallenge.

What can we do ?

  1. The "hard" workaround: delete and (re)create all dynamic_iac type challenges.
  2. Create a new feature in order to : Manually update all dynamic_iac challenges and if they are not exsits in the Chall-Managerr API, create them with the data stored in CTFd.
  3. Create a new feature "Import existing challenge to configured Chall-Manager API"

Poke @pandatix

@NicoFgrx NicoFgrx changed the title Create challenge if a cannot update it Chall-Manager cannot be used on imported CTFd configuration Dec 20, 2024
@NicoFgrx NicoFgrx added the enhancement New feature or request label Dec 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant