A simple platform based on php to host you CTF.
- Move the files in htdoc to the root of your server (which supports php).
- Change the variables in file named env_var.php according to need.
- Import the database.sql file onto your sql server.
- Create a user with
USER_ID
= 0 for the admin user. - Each challenge should consist of a
index.php
(for challenge description) andhints.php
(for challenge hints) in a folder named as the challenge name. This folder should be placed in the$challenge_base_path
folder. - To activate a challenge login as the admin user and go to
admin.php
. Here create the challenge. - Later use the
admin.php
for other admin related tasks.
There are a lot of bugs and vulnerabilities in this project. Creation of issues and pull requests would be appriciated. While making a pull request make sure to add your name to the list of countributors in the readme.