When playing a dynamic challenge, the user may wish to submit the acquired flag, after the instance has already expired.
This is especially true, if a solution can also be found locally, without launching an instance and the instance is only provided to make it easier to get started.
Currently the user is met with this error message:
|
# If the instance no longer exists |
|
if data["since"] is None: |
|
logger.debug( |
|
"instance for source_id %s and challenge_id %s no longer exists", |
|
source_id, |
|
challenge.id, |
|
) |
|
logger.info( |
|
"invalid submission due to expired instance for challenge %s source %s", |
|
challenge.id, |
|
source_id, |
|
) |
|
return ChallengeResponse( |
|
status="incorrect", |
|
message="Expired (the instance must be running to submit)", |
|
) |
If there is no technical reason this is impossible, I would like to be able to allow such submissions.
When playing a dynamic challenge, the user may wish to submit the acquired flag, after the instance has already expired.
This is especially true, if a solution can also be found locally, without launching an instance and the instance is only provided to make it easier to get started.
Currently the user is met with this error message:
ctfd-chall-manager/models.py
Lines 450 to 465 in c70e28b
If there is no technical reason this is impossible, I would like to be able to allow such submissions.