You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A set of scripts to help with hosting a Linux kernel exploitation CTF challenge. Deploys a challenge VM for each team.
Maintains a list of deployed VMs in droplets.json. Designed around the use of Ubuntu droplets in DigitalOcean, though it should be easy to switch out either.
Configure challenge details in deploy.py (challenge name must match kernel module source directory)
Put DigitalOcean API key in the file API_KEY
Configure droplet details in deploy.py
deploy.py
Automatically deploy DigitalOcean droplets and install the challenge
deploy.py multiple <number>
Deploy and install the challenge on <number> droplets (with names team1 .. teamX)
deploy.py single <droplet name>
Deploy a single droplet with name <droplet name> and install the challenge
deploy.py ip <IP address>
Install the challenge on an already deployed droplet
deploy.py server
Deploy a management server so teams can power cycle their droplets
This should only be run AFTER all droplets are deployed, as it copies over the current droplets.json
server.py
Simple HTTP server on port 80 that teams can query to power cycle their VM
/reboot?ip_address=1.2.3.4&password=password
print.py
Print out droplets.json in a human-readable form
About
Helper scripts for hosting a Linux kernel exploitation CTF challenge