ctf_xinetd
ctf 

所属分类:Docker
开发工具:Dockerfile
文件大小:5KB
下载次数:0
上传日期:2018-10-19 02:59:45
上 传 者sh-1993
说明:  用于在CTF中部署可编程挑战的docker存储库
(A docker repository for deploying pwnable challenges in CTF)

文件列表:
Dockerfile (965, 2018-10-19)
bin (0, 2018-10-19)
bin\flag (33, 2018-10-19)
bin\helloworld (8648, 2018-10-19)
ctf.xinetd (674, 2018-10-19)
start.sh (95, 2018-10-19)

# ctf_xinetd > A docker repository for deploying CTF challenges ## Configuration Put files to floder `bin`. They'll be copied to /home/ctf. **Update the flag** at the same time. Edit `ctf.xinetd`. replace `./helloworld` to your command. You can also edit `Dockerfile, ctf.xinetd, start.sh` to custom your environment. ## Build ```bash docker build -t "helloworld" . ``` DO NOT use *bin* as challenge's name ## Run ```bash docker run -d -p "0.0.0.0:pub_port:9999" -h "helloworld" --name="helloworld" helloworld ``` `pub_port` is the port you want to expose to the public network. ## Capture traffic If you want to capture challenge traffic, just run `tcpdump` on the host. Here is an example. ```bash tcpdump -w helloworld.pcap -i eth0 port pub_port ```

近期下载者

相关文件


收藏者