Skip to content

A light work which helps you to deploy ctf pwn challenges rapidly

Notifications You must be signed in to change notification settings

r3dhun9/EasyPwnDeploy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation


Features

  • You can deploy pwn challenges rapidly

  • You may modify the directory's name to whatever you want, but you should modify the Dockerfile as well as ctf config


Installation

First, change your binary and flag into ctf-pwn directory

git clone https://github.com/r3dhun9/EasyPwnDeploy.git ~/EasyPwnDeploy
cd ~/EasyPwnDeploy/ctf-pwn
vim flag                     # modify your flag
vim run.sh                   # modify ${this_is_your_binary}
rm this_is_your_binary       # replace the binary into yours

Second, build the challenge's image from Dockerfile

cd ~/EasyPwnDeploy
sudo docker build -t ${your_image_name} . --no-cache

And lastly, run this command

sudo docker run --name ${your_containers_name} -d -p ${your_port}:9999 -it ${your_images_name} /bin/bash -c "/usr/sbin/xinetd -dontfork"

More maintenance

  • You should restart the container every month or every week
  • Add your restart script into your crontab is a good choice

TODO

  • using tcpdump to check the exploits

About

A light work which helps you to deploy ctf pwn challenges rapidly

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published