Skip to content

A docker repository for deploying pwnable challenges in CTF

Notifications You must be signed in to change notification settings

kuekiko/CTF_arm_xinetd

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ctf_arm_pwn

未完成 修改中

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

docker build -t "helloworld" .

DO NOT use bin as challenge's name

Run

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.

tcpdump -w helloworld.pcap -i eth0 port pub_port

About

A docker repository for deploying pwnable challenges in CTF

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 92.1%
  • Shell 7.9%