Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Utility scripts to serve docker container factory: one connects and gets personal docker container.

License

Notifications You must be signed in to change notification settings

JustHitTheCore/docker_spawner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker_spawner

Utility scripts to serve docker container factory: one connects and gets personal docker container.

This repo can be used to host local exploitation CTF challenges e.g. for workshops.

I don't really recommend using it for real CTFs.

For real ctf hosting, you should probably research either setting capabilities or probably even better - use nsjail (for this you might want to look at my unofficial nsjail docker image)

HowTo

This requires socat to be installed. After that you can prepare directory with tasks in ./tasks and then launch ./host.sh.

This will build docker image called ctf_workshops and then host a forking server through socat on port 4444.

After connecting to the server it will spawn a docker container based on ctf_workshops image.

The image consists some tooling that might be needed for exploitation/pwn challenges - to see what exactly, just look into Dockerfile.

About

Utility scripts to serve docker container factory: one connects and gets personal docker container.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published