Skip to content

🇨🇳 🏁 🚩 Dockerfiles of CTF Challenges running on SniperOJ

Notifications You must be signed in to change notification settings

skyroot/Dockerfiles

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SniperOJ Dockerfiles

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!

Requirements

# Docker
sudo apt install docker.io
# Docker-compose
sudo apt install docker-compose

How to use?

# 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

How to contribute?

CONTRITUBE.md

Challenges

WEB

Competition Name Type Author Level Writeup
2018-SUCTF homework WEB Wisdom Tree ⭐⭐⭐ RESERVED
SniperOJ 2048 WEB WangYihang RESERVED
SniperOJ as-fast-as-you-can WEB WangYihang RESERVED
SniperOJ baby-eval WEB Reversed RESERVED
SniperOJ bypass-php-exit WEB Reversed RESERVED
SniperOJ guess-the-code WEB Reversed ⭐⭐ RESERVED
SniperOJ phar WEB WangYihang ⭐⭐⭐ RESERVED
RESERVED php-object-injection WEB Reversed RESERVED
SniperOJ php-weak-type WEB Reversed RESERVED
SniperOJ punctuation-webshell WEB WangYihang ⭐⭐ RESERVED
SniperOJ sniperoj-web-browser WEB WangYihang RESERVED
SniperOJ md5-vs-injection WEB WangYihang RESERVED
SniperOJ inject-again WEB WangYihang ⭐⭐ RESERVED
RESERVED hard-injection-via-update WEB Reversed ⭐⭐⭐ RESERVED
SniperOJ trick-on-base64 WEB XDCTF-2017 & WangYihang ⭐⭐⭐ RESERVED
SniperOJ r-cursive-revenge WEB 超威蓝猫 & WangYihang ⭐⭐⭐ RESERVED
SniperOJ pull-the-string WEB WangYihang ⭐⭐ RESERVED
SniperOJ baby-ssrf WEB WangYihang ⭐⭐ RESERVED

MISC

Competition Name Type Author Level Writeup
SniperOJ compare-flag MISC WangYihang RESERVED
Ringzer0team bash-jail MISC ringzer0team RESERVED
SniperOJ md5-collision MISC WangYihang RESERVED

PWN

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

FAQ

Freuqently Asked Questions

Acknownledgement

Reference

About

🇨🇳 🏁 🚩 Dockerfiles of CTF Challenges running on SniperOJ

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 44.7%
  • PHP 30.5%
  • CSS 16.2%
  • C 6.2%
  • Makefile 1.6%
  • Python 0.7%
  • Shell 0.1%