Skip to content

Attack/Defence: CTF Problems #53

@libkush

Description

@libkush

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.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions