CAIBench Attack/Defense CTF

by
Service: Loading...
Status: Stopped
Round: 0
Time: 00:00:00

Game Controls

No teams available. Start the game to begin.

📊 Recent Checks

No checks performed yet

🚩 Flag Captures

No flags captured yet

🚩 Submit Flag

📋 System Logs

No logs available

📚 API Documentation

For Attackers:

Submit Flag: PUT http://127.0.0.1:12345/api/submit_flag
Body: {"team_id": <your_team_number>, "flag": "<captured_flag>"}
Content-Type: application/json
Note: team_id is your team number (1 for Team 1, 2 for Team 2, etc.)

Example (Team 1 submitting a flag):
curl -X PUT http://127.0.0.1:12345/api/submit_flag \
  -H "Content-Type: application/json" \
  -d '{"team_id": 1, "flag": "CAI_CTF{example_flag}"}'

For Defenders:

Check Status: GET http://127.0.0.1:12345/api/status
Returns: Game state, team scores, and service status
Your Team: Check the "teams" array for your team_id and status

Game Server:

Base URL: http://127.0.0.1:12345
Network: devcontainer_cainet (192.168.3.0/24)
IP Pattern: 192.168.3.{team}{machine} (Grid allocation)
Examples: Team 1 Machine 1 = .11, Team 2 Machine 1 = .21