{"id":15546860,"url":"https://github.com/picatz/competition-practice-env","last_synced_at":"2025-10-12T15:30:40.623Z","repository":{"id":50043593,"uuid":"167449640","full_name":"picatz/competition-practice-env","owner":"picatz","description":"🌩  Cloud infrastructure-as-code for attack and defense CTFs on GCP","archived":true,"fork":false,"pushed_at":"2022-12-04T22:02:22.000Z","size":17720,"stargazers_count":8,"open_issues_count":6,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-15T03:54:58.292Z","etag":null,"topics":["cloud","ctf-platform","google-cloud-platform","linux","packer","terraform","windows"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/picatz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-01-24T22:47:40.000Z","updated_at":"2024-08-25T20:37:45.000Z","dependencies_parsed_at":"2023-01-24T08:00:56.792Z","dependency_job_id":null,"html_url":"https://github.com/picatz/competition-practice-env","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/picatz%2Fcompetition-practice-env","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/picatz%2Fcompetition-practice-env/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/picatz%2Fcompetition-practice-env/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/picatz%2Fcompetition-practice-env/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/picatz","download_url":"https://codeload.github.com/picatz/competition-practice-env/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":236235049,"owners_count":19116618,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cloud","ctf-platform","google-cloud-platform","linux","packer","terraform","windows"],"created_at":"2024-10-02T13:05:05.834Z","updated_at":"2025-10-12T15:30:37.690Z","avatar_url":"https://github.com/picatz.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# competition-practice-env\n\n[![Actions Status](https://github.com/picatz/competition-practice-env/workflows/CI/badge.svg)](https://github.com/picatz/competition-practice-env/actions)\n\n\u003c!-- Casey, plz help me, you're my only hope! --\u003e\n[![Open in Cloud Shell](https://gstatic.com/cloudssh/images/open-btn.svg)](https://ssh.cloud.google.com/cloudshell/editor?cloudshell_git_repo=https%3A%2F%2Fgithub.com%2Fpicatz%2Fcompetition-practice-env\u0026open_in_editor=README.md)\n\nRead the wiki [here](https://github.com/picatz/competition-practice-env/wiki).\n\n\u003cp align=\"center\"\u003e\n  \u003cimg alt=\"scoreboard\" src=\"https://github.com/picatz/competition-practice-env/blob/master/scoreboard.png\"/\u003e\n\u003cp\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg alt=\"scoreboard\" src=\"https://github.com/picatz/competition-practice-env/blob/master/click_on_scoreboard.png\"/\u003e\n\u003cp\u003e\n\n\n\u003cp align=\"center\"\u003e\n  \u003cimg alt=\"diagram\" src=\"https://github.com/picatz/competition-practice-env/blob/master/diagram.png\"/\u003e\n\u003cp\u003e\n\nThe scoring engine application, like the rest of the infrastructure, is [defined as HCL](https://github.com/picatz/competition-practice-env/blob/master/scoring_engine/template/service_registry.hcl):\n\n```hcl\nserver {\n  ip   = \"0.0.0.0\"\n  port = \"6767\"\n}\n\nscoring_interval = \"1m\"\n\nstate {\n  save_interval = \"5m\"\n  save_path     = \"/tmp/service-registry.json\"\n}\n\nteam \"team-1\" {\n  service \"http\" {\n    protocol = \"tcp\"\n    ip       = \"192.168.1.2\"\n    port     = 80\n  }\n\n  service \"ssh\" {\n    protocol = \"tcp\"\n    ip       = \"192.168.1.3\"\n    port     = 22\n  }\n\n  service \"rdp\" {\n    protocol = \"tcp\"\n    ip       = \"192.168.1.4\"\n    port     = 3389\n  }\n}\n\nteam \"team-2\" {\n  service \"http\" {\n    protocol = \"tcp\"\n    ip       = \"192.168.2.2\"\n    port     = 80\n  }\n\n  service \"ssh\" {\n    protocol = \"tcp\"\n    ip       = \"192.168.2.3\"\n    port     = 22\n  }\n\n  service \"rdp\" {\n    protocol = \"tcp\"\n    ip       = \"192.168.2.4\"\n    port     = 3389\n  }\n}\n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpicatz%2Fcompetition-practice-env","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpicatz%2Fcompetition-practice-env","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpicatz%2Fcompetition-practice-env/lists"}