{"id":13840441,"url":"https://github.com/Eadom/ctf_xinetd","last_synced_at":"2025-07-11T07:33:56.347Z","repository":{"id":45912910,"uuid":"54394788","full_name":"Eadom/ctf_xinetd","owner":"Eadom","description":"A docker repository for deploying pwnable challenges in CTF","archived":false,"fork":false,"pushed_at":"2018-10-19T02:59:45.000Z","size":13,"stargazers_count":385,"open_issues_count":1,"forks_count":76,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-08-05T17:25:06.259Z","etag":null,"topics":["ctf"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","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/Eadom.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}},"created_at":"2016-03-21T14:17:32.000Z","updated_at":"2024-07-22T14:27:53.000Z","dependencies_parsed_at":"2022-08-31T12:40:37.287Z","dependency_job_id":null,"html_url":"https://github.com/Eadom/ctf_xinetd","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/Eadom%2Fctf_xinetd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eadom%2Fctf_xinetd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eadom%2Fctf_xinetd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eadom%2Fctf_xinetd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Eadom","download_url":"https://codeload.github.com/Eadom/ctf_xinetd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225705454,"owners_count":17511303,"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"],"created_at":"2024-08-04T17:00:48.431Z","updated_at":"2024-11-21T09:31:34.615Z","avatar_url":"https://github.com/Eadom.png","language":"Dockerfile","funding_links":[],"categories":["Dockerfile","Dockerfile (37)"],"sub_categories":[],"readme":"# ctf_xinetd\n\n\u003e A docker repository for deploying CTF challenges\n\n## Configuration\n\nPut files to floder `bin`. They'll be copied to /home/ctf. **Update the flag** at the same time.\n\nEdit `ctf.xinetd`. replace `./helloworld` to your command.\n\nYou can also edit `Dockerfile, ctf.xinetd, start.sh` to custom your environment.\n\n## Build\n\n```bash\ndocker build -t \"helloworld\" .\n```\n\nDO NOT use *bin* as challenge's name\n\n## Run\n\n```bash\ndocker run -d -p \"0.0.0.0:pub_port:9999\" -h \"helloworld\" --name=\"helloworld\" helloworld\n```\n\n`pub_port` is the port you want to expose to the public network.\n\n## Capture traffic\n\nIf you want to capture challenge traffic, just run `tcpdump` on the host. Here is an example.\n\n```bash\ntcpdump -w helloworld.pcap -i eth0 port pub_port\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FEadom%2Fctf_xinetd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FEadom%2Fctf_xinetd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FEadom%2Fctf_xinetd/lists"}