{"id":30026928,"url":"https://github.com/karstenpedersen/bachelor-thesis","last_synced_at":"2026-07-03T19:03:52.688Z","repository":{"id":300498116,"uuid":"1006322263","full_name":"karstenpedersen/bachelor-thesis","owner":"karstenpedersen","description":"Investigating and Creating Capture the Flag (CTF) Challenges","archived":false,"fork":false,"pushed_at":"2025-06-22T10:49:47.000Z","size":15294,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-30T10:45:41.657Z","etag":null,"topics":["bachelor-thesis","capture-the-flag","ctf-challenges","sdu","university"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","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/karstenpedersen.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":"2025-06-22T02:06:17.000Z","updated_at":"2025-09-05T21:07:36.000Z","dependencies_parsed_at":"2025-06-22T03:34:38.229Z","dependency_job_id":"286502e7-a07e-45b5-9cc7-ba8a5dd4f09c","html_url":"https://github.com/karstenpedersen/bachelor-thesis","commit_stats":null,"previous_names":["karstenpedersen/bachelor-thesis"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/karstenpedersen/bachelor-thesis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karstenpedersen%2Fbachelor-thesis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karstenpedersen%2Fbachelor-thesis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karstenpedersen%2Fbachelor-thesis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karstenpedersen%2Fbachelor-thesis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/karstenpedersen","download_url":"https://codeload.github.com/karstenpedersen/bachelor-thesis/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karstenpedersen%2Fbachelor-thesis/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35097760,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-03T02:00:05.635Z","response_time":110,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["bachelor-thesis","capture-the-flag","ctf-challenges","sdu","university"],"created_at":"2025-08-06T11:55:42.839Z","updated_at":"2026-07-03T19:03:52.657Z","avatar_url":"https://github.com/karstenpedersen.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bachelor-thesis\n\nBachelor thesis project for the [BADM500 course](https://odin.sdu.dk/sitecore/index.php?a=searchfagbesk\u0026internkode=badm500\u0026lang=en) (2025) at the [University of Southern Denmark](https://www.sdu.dk/en), [Department of Mathematics and Computer Science](https://www.sdu.dk/en/om-sdu/institutter-centre/imada_matematik_og_datalogi).\n\nThe project explores Capture the Flag (CTF) challenges and how they can help educate people about subjects in computer science and cybersecurity.\n\nThe challenges were created for the CTF platform: https://github.com/KianBankeLarsen/CTF-Platform.\n\n## Challenges\n\n1. [challenge-xss](./challenges/challenge-xss/): Cross site scripting (XSS) challenge.\n2. [challenge-blog](./challenges/challenge-blog/): Open-source intelligence (OSINT) challenge.\n3. [challenge-mail](./challenges/challenge-mail/): Phishing attack challenge.\n4. [challenge-pwn](./challenges/challenge-pwn/): Pwn challenge.\n5. [challenge-maze](./challenges/challenge-maze/): Maze game challenge.\n5. [template](./challenges/template/): Template challenge. Copy this when creating new challenges.\n\n## Prerequisites\n\nYou need the following programs on your machine:\n\n- [QEMU](https://www.qemu.org)\n- [Python](https://www.python.org)\n- [just](https://github.com/casey/just)\n- [zip](https://infozip.sourceforge.net)\n\nYou can also get these by using the provided [flake.nix](./flake.nix) file. [Read more about flakes](https://nixos.wiki/wiki/Flakes).\n\n## Getting Started\n\n### Download Virtual Machine Image\n\nDownload the [VM file](https://drive.google.com/file/d/15oGi7wfHXGdRP8Wk3V1T9C3243ypQxHd/view?usp=sharing) and copy it to the root folder of the project.\n\n### Run CTF Challenges\n\n```bash\n# list available recipes\njust\n\n# list available CTF challenges\njust challenges\n\n# run CTF challenge in QEMU\njust run \u003cchallenge\u003e\n\n# run CTF challenge in development mode\njust dev \u003cchallenge\u003e\n\n# run CTF challenge solution\njust solution \u003cchallenge\u003e\n```\n\nThe username and password for the VM are the following:\n\n- Username: alpine\n- Password: password\n\nExit the VM by pressing `Ctrl-a` followed by `x`.\n\n### Failure Starting HTTP Server\n\nIf something fails, then the Python HTTP server might not shut down properly. You will need to kill the process yourself, which can be done like this:\n\n```bash\n# see processes\nps\n\n# find the Python process and copy its PID\n\n# kill the process\nkill \u003cpid\u003e\n```\n\nYou can now try and rerun the CTF challenge.\n\n## Creating New Challenges\n\nCopy the [template](./challenges/template) challenge to the [challenges](./challenges) directory.\n\n```bash\ncp challenges/template challenges/\u003cchallenge\u003e\n```\n\nStart developing :D\n\n## Project Group\n\nThis project was developed by the following group members:\n\n- Esben Kylling Petersen\n- Karsten Finderup Pedersen\n- Tobias Samsøe Sørensen\n- Yannick Gennadij Nustajev Mikkelsen\n\nThanks to our supervisor [Jacopo Mauro](https://jacopomauro.com/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkarstenpedersen%2Fbachelor-thesis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkarstenpedersen%2Fbachelor-thesis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkarstenpedersen%2Fbachelor-thesis/lists"}