Skip to content

A simple CTF platfrom to host Capture the flag Challenges

Notifications You must be signed in to change notification settings

muhammed-ajmal/anton-ctf-php

 
 

Repository files navigation

ANTON CTF Server [PHP]

This is a simple CTF platform built using PHP. It contains basic features like, adding categories, challenges, leaderboard etc. This is far from perfect, any contributions on improving code quality and features are welcomed.

dash admin

SETUP

Clone the repository to your local machine. Hit big green button on the top right to download the project as zip. Extract the contents.
If you are using windows, u need to install XAMPP You can use the same for linux too, else you gotta setup a lamp server in your linux system.

Windows users

  • Copy/Move the extracted files into c:/xampp/htdocs/anton and goto localhost/anton to check the site live.
  • Goto localhost/phpmyadmin, sign in and navigate to import tab.
  • Click on upload .sql file and browse for the anton.sql file in the project's root directory.
  • This will setup all the databases and table with sample contents for the project.

Linux users

If you are using XAMMP on linux, you can follow the same steps above except the htdocs folder will residing in /opt/lampp/htdocs either you can copy the extracted project files there or you can create a sym link to the project folder. eg:

$ sudo ln -s PATH_OF_YOR_EXTRACTED_FOLDER /opt/lampp/htdocs

Creating an admin user

Sign up as a normal user into the platform. Goto phpmyadmin and change the role of the user to admin. If you are using mysql shell, execute the following query.

> use anton
> update users set role="admin" where email="YOUR-USER_EMAIL";

About

A simple CTF platfrom to host Capture the flag Challenges

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 52.6%
  • PHP 38.5%
  • JavaScript 5.1%
  • HTML 2.7%
  • Hack 1.1%