Skip to content

🌩 Cloud infrastructure-as-code for attack and defense CTFs on GCP

License

Notifications You must be signed in to change notification settings

emu-iasa/competition-practice-env

 
 

Repository files navigation

competition-practice-env

Actions Status

Open in Cloud Shell

Read the wiki here.

scoreboard

scoreboard

diagram

The scoring engine application, like the rest of the infrastructure, is defined as HCL:

server {
  ip   = "0.0.0.0"
  port = "6767"
}

scoring_interval = "1m"

state {
  save_interval = "5m"
  save_path     = "/tmp/service-registry.json"
}

team "team-1" {
  service "http" {
    protocol = "tcp"
    ip       = "192.168.1.2"
    port     = 80
  }

  service "ssh" {
    protocol = "tcp"
    ip       = "192.168.1.3"
    port     = 22
  }

  service "rdp" {
    protocol = "tcp"
    ip       = "192.168.1.4"
    port     = 3389
  }
}

team "team-2" {
  service "http" {
    protocol = "tcp"
    ip       = "192.168.2.2"
    port     = 80
  }

  service "ssh" {
    protocol = "tcp"
    ip       = "192.168.2.3"
    port     = 22
  }

  service "rdp" {
    protocol = "tcp"
    ip       = "192.168.2.4"
    port     = 3389
  }
}

About

🌩 Cloud infrastructure-as-code for attack and defense CTFs on GCP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 40.7%
  • HCL 24.9%
  • HTML 21.8%
  • Shell 4.7%
  • PHP 4.6%
  • JavaScript 3.3%