SniperOJ is an open source CTF(Capture The Flag) Platform.
- Everything is open source, including platform and all challenges.
- Dockfiles never use private images, so you can see all operations while build a vulnerability environment.
This repo will store all Dockerfiles of challenges running on SniperOJ.
You don't need to worry about how to build a challenging environment.
All you need to do is typing a few commands and then you can start to solve the challenges.
Enjoy your CTF career, Keep running!
# Docker
sudo apt install docker.io
# Docker-compose
sudo apt install docker-compose
# 1. Make sure that you have docker and docker-compose installed
# 2. Clone this repo
git clone https://github.com/SniperOJ/CTF-Challenge-Dockerfiles.git
# Enter the challenge directory which you are interested, eg: web/bypass-php-exit/
cd web/bypass-php-exit/
# 3. Change the listen port for forwarding if you want
# A example of docker-compose.yml will be like that:
# version: '2'
# services:
# web:
# build: .
# ports:
# - '80:80' # you can change the port if you want
# stdin_open: true
# tty: true
vim docker-compose.yml
# 4. Build the docker image
docker-compose build
# 5. Run the environment
docker-compose run
# 6. Enjoy the challenge
Competition | Name | Type | Author | Level | Writeup |
---|---|---|---|---|---|
SniperOJ | compare-flag | MISC | WangYihang | ⭐ | RESERVED |
Ringzer0team | bash-jail | MISC | ringzer0team | ⭐ | RESERVED |
SniperOJ | md5-collision | MISC | WangYihang | ⭐ | RESERVED |
Competition | Name | Type | Author | Level | Writeup |
---|---|---|---|---|---|
2016-ACTF | run-circles | PWN | Reversed | ⭐ | RESERVED |
SniperOJ | advanced-leak-x86 | PWN | WangYihang | ⭐⭐ | RESERVED |
SniperOJ | bof-x86-64 | PWN | WangYihang | ⭐ | RESERVED |
SniperOJ | leak-x86 | PWN | WangYihang | ⭐ | RESERVED |
SniperOJ | printable | PWN | WangYihang | ⭐⭐ | RESERVED |
SniperOJ | shellcode-x86-64 | PWN | WangYihang | ⭐ | RESERVED |
SniperOJ | shorter-shellcode-x86-64 | PWN | WangYihang | ⭐⭐ | RESERVED |