{"id":15705327,"url":"https://github.com/brahmlower/simple-ctf-engine","last_synced_at":"2025-03-30T15:43:27.602Z","repository":{"id":77400738,"uuid":"43263000","full_name":"brahmlower/Simple-CTF-Engine","owner":"brahmlower","description":"This is a simple CTF engine for the UAF CSC lectures","archived":false,"fork":false,"pushed_at":"2016-05-19T08:28:52.000Z","size":312,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-05T17:17:23.420Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/brahmlower.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}},"created_at":"2015-09-27T20:12:17.000Z","updated_at":"2016-04-07T17:36:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"69abe000-3a0a-49f1-b708-93ed17f21751","html_url":"https://github.com/brahmlower/Simple-CTF-Engine","commit_stats":{"total_commits":15,"total_committers":4,"mean_commits":3.75,"dds":0.4666666666666667,"last_synced_commit":"d7539ad018e41c8f3c8056e69933c82fd310ee89"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brahmlower%2FSimple-CTF-Engine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brahmlower%2FSimple-CTF-Engine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brahmlower%2FSimple-CTF-Engine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brahmlower%2FSimple-CTF-Engine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brahmlower","download_url":"https://codeload.github.com/brahmlower/Simple-CTF-Engine/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246342713,"owners_count":20761938,"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":[],"created_at":"2024-10-03T20:15:26.737Z","updated_at":"2025-03-30T15:43:27.581Z","avatar_url":"https://github.com/brahmlower.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple-CTF-Engine\nThis is a simple CTF engine for the UAF CSC lectures\n\n\u003cimg src=\"http://i.imgur.com/DlNOop3.png\" alt=\"Main page/score board\" width=\"32%\"\u003e\n\u003cimg src=\"http://i.imgur.com/xoxiAnV.png\" alt=\"Key creation page\" width=\"32%\"\u003e\n\u003cimg src=\"http://i.imgur.com/S2TwiMp.png\" alt=\"Key submission page\" width=\"32%\"\u003e\n\n## Ubuntu Install\n```\nsudo apt-get update\nsudo apt-get upgrade\nsudo apt-get install build-essential libldap2-dev libsasl2-dev python-dev python-pip\ngit clone https://github.com/bplower/Simple-CTF-Engine.git\ncd Simple-CTF-Engine\nsudo pip install -r requirements.txt\npython manage.py syncdb\npython manage.py runserver\n```\n\n### secretConfigs.py\nAuthentication is meant to be done via LDAP/AD. Before running the server, make sure you have created the secretConfigs.py file within the Simple-CTF-Engine directory. There is an example file called secretConfigs-example.py in the same directory. The values that should be in the file are as follows:\n\n**SECRET_KEY**\u003cbr\u003e\nThis is the key that django uses. It's not good to run a publicly available key on a production system, so replace this string with some long line of gibberish.\n\u003cbr\u003e```SECRET_KEY = 'SOME-LONG-SECRET-KEY-GOES-HERE'```\n\n**AUTH_LDAP_SERVER_URI**\u003cbr\u003e\nThis is the URI for the location of the domain controller. If the FQDN for your domain controller was ad.example.com, then your URI would be as follows.\n\u003cbr\u003e```AUTH_LDAP_SERVER_URI = \"ldap://ad.example.com\"```\n\n**AUTH_LDAP_BIND_DN**\u003cbr\u003e\nThis is the distinguished name for the user to authenticate as with the domain controller. This should point directly to your user with the 'cn'. The following would point to the domain administrator in a default environment. Don't authenticate with your domain controller using your domain administrator- that's a very bad idea...\n\u003cbr\u003e```AUTH_LDAP_BIND_DN = \"cn=administrator,ou=Users,dc=example,dc=com\"```\n\n**AUTH_LDAP_BIND_PASSWORD**\u003cbr\u003e\nThis is the password for the user account that was specified in the previous section.\n\u003cbr\u003e```AUTH_LDAP_BIND_PASSWORD = \"django-agent-password\"```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrahmlower%2Fsimple-ctf-engine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrahmlower%2Fsimple-ctf-engine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrahmlower%2Fsimple-ctf-engine/lists"}