{"id":19259539,"url":"https://github.com/logalexus/ad","last_synced_at":"2026-03-07T22:03:06.540Z","repository":{"id":219098017,"uuid":"746343614","full_name":"logalexus/ad","owner":"logalexus","description":"CLI for deploying CTF Attack-Defense competition in the Yandex Cloud with ForcAD","archived":false,"fork":false,"pushed_at":"2025-10-03T18:28:55.000Z","size":11739,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-03T20:32:57.382Z","etag":null,"topics":["ansible","attack-defense","competition","ctf","ctf-tools","infrastructure","openvpn","terraform","vpn","yandex-cloud"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/logalexus.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-01-21T19:23:09.000Z","updated_at":"2025-10-03T18:29:02.000Z","dependencies_parsed_at":"2025-12-07T22:05:23.869Z","dependency_job_id":null,"html_url":"https://github.com/logalexus/ad","commit_stats":null,"previous_names":["logalexus/ad"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/logalexus/ad","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logalexus%2Fad","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logalexus%2Fad/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logalexus%2Fad/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logalexus%2Fad/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/logalexus","download_url":"https://codeload.github.com/logalexus/ad/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logalexus%2Fad/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30233429,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T19:01:10.287Z","status":"ssl_error","status_checked_at":"2026-03-07T18:59:58.103Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["ansible","attack-defense","competition","ctf","ctf-tools","infrastructure","openvpn","terraform","vpn","yandex-cloud"],"created_at":"2024-11-09T19:16:52.989Z","updated_at":"2026-03-07T22:03:06.519Z","avatar_url":"https://github.com/logalexus.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AD\n\nCLI for deploying CTF Attack-Defense competition in the Yandex Cloud with [ForcAD](https://github.com/pomo-mondreganto/ForcAD)\n\n## Requirements\n\nTo work with the cloud, you will need cli tool `yc` - [link](https://yandex.cloud/ru/docs/cli/quickstart)\n\nWhat you need to create in Yandex Cloud:\n- Service account and profile for terraform - [link](https://yandex.cloud/ru/docs/tutorials/infrastructure-management/terraform-quickstart#get-credentials)\n\n\nInstall Terraform and the provider for Yandex Cloud  - [link](https://yandex.cloud/ru/docs/tutorials/infrastructure-management/terraform-quickstart#configure-provider)\n\nInstall Ansible\n````\npip install --upgrade pip\npip install ansible passlib\n````\n\n## Usage\n\nThe CLI tool `ad.py` should be used to manage the entire infrastructure of the competition\n\nStarting AD:\n1. Configure the `config.yml` for the entire infrastructure\n2. Run `pip install -r requirements.txt`\n3. Run `./ad.py create` for create all infrastructure\n4. Run `./ad.py generate-ansible` for generate Ansible inventory file\n5. Run `./ad.py ping`  until you get a successful ping (everything must be green)\n6. Run `./ad.py provision` for provision all infrastructure\n7. Run `./ad.py start-services` for start services on the vulnboxes\n8. Run `./ad.py generate-result` for generate readme.txt for teams in `result` folder\n\nFor destroying all infrastructure:\n\n1. Run `./ad.py destroy` for delete all resources in Yandex Cloud\n\n## Configuration\n\nForcAD configuration part see [here](https://github.com/pomo-mondreganto/ForcAD)\n \nThere is a `config.yml` file to configure the infrastructure\n* `cloud` contains cloud setting\n    * `subnet_id` - subnet id from Yandex Cloud\n    * `dns_zone_id` - dns zone id from Yandex Cloud\n    * `cpu` - count of cpu cores\n    * `mem` - memory size\n    * `disk` - disk size\n* `teams` here you need to specify only the names of the teams, the rest will be generated\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flogalexus%2Fad","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flogalexus%2Fad","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flogalexus%2Fad/lists"}