{"id":16629581,"url":"https://github.com/entkenntnis/htw","last_synced_at":"2026-04-22T22:02:17.560Z","repository":{"id":158649491,"uuid":"615349331","full_name":"Entkenntnis/htw","owner":"Entkenntnis","description":"Hack The Web - source code and build instructions","archived":false,"fork":false,"pushed_at":"2026-02-01T13:55:27.000Z","size":98930,"stargazers_count":13,"open_issues_count":0,"forks_count":11,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-02-01T23:29:24.236Z","etag":null,"topics":["ctf","fun","game","hacking","learning"],"latest_commit_sha":null,"homepage":"https://hack.arrrg.de","language":"JavaScript","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/Entkenntnis.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,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-03-17T13:50:03.000Z","updated_at":"2026-02-01T13:54:37.000Z","dependencies_parsed_at":"2024-04-28T09:22:18.396Z","dependency_job_id":"670066a7-2eb8-4f3c-8b25-76796f6e34ba","html_url":"https://github.com/Entkenntnis/htw","commit_stats":null,"previous_names":[],"tags_count":196,"template":false,"template_full_name":null,"purl":"pkg:github/Entkenntnis/htw","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Entkenntnis%2Fhtw","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Entkenntnis%2Fhtw/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Entkenntnis%2Fhtw/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Entkenntnis%2Fhtw/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Entkenntnis","download_url":"https://codeload.github.com/Entkenntnis/htw/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Entkenntnis%2Fhtw/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29140051,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-05T23:14:48.546Z","status":"ssl_error","status_checked_at":"2026-02-05T23:14:35.724Z","response_time":65,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["ctf","fun","game","hacking","learning"],"created_at":"2024-10-12T04:42:11.978Z","updated_at":"2026-02-06T00:05:52.072Z","avatar_url":"https://github.com/Entkenntnis.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hack The Web - source code and build instructions\n\nIn this repo you will find the source code of Hack The Web. This readme gives you instructions on how to get this source code up and running. This is intended as a backup solution in case https://hack.arrrg.de fails. There is a way to get the project up and running again.\n\nThe source code should not spoil the tasks - therefore I made sure to put all sensitive data in a separate file and not to deliver it. It contains mainly answers and a few passwords. If you have solved the tasks, you can fill in this file yourself.\n\n### Step 1: Setup\n\nInstall git and node.js v20+ (incl. npm) on your computer. Go to a directory of your choice and execute the following commands:\n\n```\ngit clone https://github.com/Entkenntnis/htw.git\ncd htw\nnpm install\n```\n\nNow all prerequisites are fulfilled. Start the dev server with `npm run dev` and have a local version of Hack The Web on `localhost:3000`. The code will automatically update on changes. Use `demo` / `htw123` to login or create a new user with the name `editor` to gain access to all admin features.\n\n### Step 2: Enter answers\n\nIn the next step it is your task to enter the answers in the file `secrets.js`. Some answers are given by the task and must have a certain value. Other answers you can define yourself.\n\n### Step 3: Hosting\n\nRun the server with `npm start` for production. Using an external database is recommended for more stable operation (sqlite has slow writes). In addition, an imprint must be inserted. Optionally, a main password can be set to moderate and access all accounts. For the server you need your own subdomain, because all URLs work from the root.\n\n### Step 4: Adaptations\n\nDepending on how you host the project, other requirements may arise. Feel free to adapt the source code accordingly.\n\n### Credits\n\nBackground image (milky way): scotbot, CC BY 2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fentkenntnis%2Fhtw","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fentkenntnis%2Fhtw","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fentkenntnis%2Fhtw/lists"}