Skip to content

munsiwoo/christmas-ctf-platform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub stars GitHub license

Christmas CTF Platform

What is this?

This is a CTF platform that I used for 2019 Christmas CTF. (you can see challenges, here)
It is implemented in pure PHP and designed with the MVC pattern.
I chosen Jeopardy style and dynamic scoring method.

(This platform is based on munsiwoo/simple-mvc-php)

Dynamic scoring calculation formula (min_point=100 / max_point=1000)

round(min_point+(max_point-min_point)/(1+(max(0,(solve_cnt)-1)/4.0467890)**3.84))

You can change the hash salt in /src/config/config.php
The account below is default account for testing.

Username Password
admin admin
test_captain test_captain
test_member test_member

Preview images

main

prob

How to install

First, you need to install docker and docker-compose (apt install docker docker-compose)

Step 1. Download the repository.

1. git clone https://github.com/munsiwoo/christmas-ctf-platform.git
2. cd christmas-ctf-platform

Step 2. Run the docker-compose

3. docker-compose build
4. docker-compose up -d

When the installation is complete, you can connect to http://localhost:9999
If you wanna change the db connection information, please modify the following two files.

  • docker-compose.yml
    • MYSQL environments
  • src/config/config.php
    • __HOST__, __USER__, __PASS__, __NAME__

Mysql default password is root_password

About

2019 Christmas CTF Platform

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages