Skip to content

Module 3 - Example 1

Pre-release
Pre-release

Choose a tag to compare

@johnathanhuutri johnathanhuutri released this 03 May 21:15
· 1 commit to master since this release

Service

All services require SSH public key to put flag

  • team 1 - web 1 (port 10101) - ssh (port 10121)
  • team 1 - web 2 (port 10102) - ssh (port 10122)
  • team 2 - web 1 (port 10201) - ssh (port 10221)
  • team 2 - web 2 (port 10202) - ssh (port 10222)

Checker

Not checked!

Config

Sample of config.yml for ForcAD

admin:
  username: forcad
  password: forcad

game:
  mode: classic
  round_time: 20
  start_time: 2024-10-25 09:10:00
  timezone: Etc/UTC

  default_score: 2500
  flag_lifetime: 1
  game_hardness: 10.0
  inflation: true

tasks:
  - checker: web1/checker.py
    checker_timeout: 10
    checker_type: hackerdom
    gets: 2
    name: web1
    places: 2
    puts: 2

  - checker: web2/checker.py
    checker_timeout: 10
    checker_type: hackerdom
    gets: 2
    name: web2
    places: 2
    puts: 2

teams:
  - ip: 192.168.0.1
    name: "Team 1"

  - ip: 192.168.0.2
    name: "Team 2 (highlighted)"
    highlighted: true