{"id":19670203,"url":"https://github.com/mcpt/ctf","last_synced_at":"2025-04-29T00:31:36.818Z","repository":{"id":42458791,"uuid":"425122053","full_name":"mcpt/ctf","owner":"mcpt","description":"CTF website with support for many simultaneous contests.","archived":false,"fork":false,"pushed_at":"2024-04-23T21:15:06.000Z","size":1064,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-04-23T23:10:40.590Z","etag":null,"topics":["ctf","ctf-platform","cybersecurity","django","jeopardy"],"latest_commit_sha":null,"homepage":"https://ctf.mcpt.ca","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mcpt.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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2021-11-06T00:46:58.000Z","updated_at":"2024-04-23T21:15:10.000Z","dependencies_parsed_at":"2024-03-08T20:10:00.644Z","dependency_job_id":"8438f938-3a1b-4fbe-a440-3e932728f45f","html_url":"https://github.com/mcpt/ctf","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/mcpt%2Fctf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcpt%2Fctf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcpt%2Fctf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcpt%2Fctf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mcpt","download_url":"https://codeload.github.com/mcpt/ctf/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224142846,"owners_count":17262884,"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":["ctf","ctf-platform","cybersecurity","django","jeopardy"],"created_at":"2024-11-11T17:05:15.297Z","updated_at":"2024-11-11T17:05:15.956Z","avatar_url":"https://github.com/mcpt.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"mCTF\n=====\nA platform to host as many CTF contests and problems as you want.\n\n## Features\n- Admin Interface to add Problems, Contests, Organizations, etc.\n- Contests for individuals, or enable participants to team up\n- Public Problems for everyone to view and solve outside of contests\n\n## Installation\nInstallation instructions are currently a work in progress. Feel free to join [our Discord](https://discord.gg/cXzz9eR) if you have any questions.\n\n\n## Development Setup\n1. Clone the repository\n### Using Poetry (Recommended) \n2. Run `pip install poetry`\n3. Run `poetry install`\n4. Run `poetry shell`\n5. Create a file called config.py with the contents of [Docker Setup #2](#using-docker) \n5. Run `python manage.py migrate \u0026\u0026 python manage.py createsuperuser`\n6. To start the server, run `python manage.py runserver`\n\n### Using Docker\n2. Go to mCTF/docker_config.py, Set DEBUG to True and root to \"http://localhost:28730\" as well as deleting import config2.\n3. docker build -t mctf .\n4. docker run -p 28730:28730 mctf\n5. docker exec -it \u003ccontainer_id\u003e /bin/bash\n6. \n\n```\n. .venv/bin/activate\npython manage.py migrate\npython manage.py createsuperuser\n```\n7. in the docker container, go to /public/scss and delete all *.css files (`rm *.css`)\n\n\n## Troubleshooting\n- If Django hangs while booting (e.g. no response comes from uWSGI, or worker is killed frequently in Gunicorn), it may be hanging trying to connect to the cluster.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcpt%2Fctf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmcpt%2Fctf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcpt%2Fctf/lists"}