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

Attack/Defence: CTF Problems #53

Open
libkush opened this issue Feb 2, 2025 · 0 comments
Open

Attack/Defence: CTF Problems #53

libkush opened this issue Feb 2, 2025 · 0 comments

Comments

@libkush
Copy link

libkush commented Feb 2, 2025

CTF Problems (Attack/Def)

Create an implementation of a problem entity for round 2 (attack/defence style CTFs) and it's corresponding CRUD in the API.

Models Required

  • AttackDefProblem

    • attackdef_team: Foreign key of AttackDefTeam model. Represents the team who is attacked by solving this CTF problem.
    • problem: Foreign key of Problem model. Represents the underlying CTF problem.
  • Modify underlying Problem model:

    • Add difficulty_level field. Will be used for selecting and upgrading AttackDefProblem using powerup(s).
    • Add problem_type field. Will be used to distinguish attack/def CTFs from jeopardy style CTFs.

API Endpoints

  • Modify all CTF routes to not accept submissions of attack/def CTFs.
  • Create similar CTF routes for attack/def CTFs that respect powerups' logic.
@libkush libkush changed the title Attack/def: CTF Problems Attack/Defence: CTF Problems Feb 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant