A very simple CTF scoring engine
- A Linux cloud server machine
- Some questions and answers for students
To easily create CTF-style gamified learning contests. This system is designed to be simple and easy to set up. It is probably not very secure--if you hack it, please let me know!
You need Apache and PHP.
On Ubuntu 18.04, these commands work:
sudo apt update
sudo apt install apache2 php libapache2-mod-php -y
Open your server's IP address in a Web browser. You should see the default Apache page, as shown below.
Execute this comman to make a simple PHP
test file:
echo "<?php phpinfo() ?>" | sudo tee /var/www/html/test.php
Open your server's IP address followed by "/test.php" in a Web browser. You should see a PHP info page, as shown below.
In a Terminal, execute these commands:
sudo apt install git -y
cd /var/www/html
sudo git clone https://github.com/sambowne/lamectf.git
sudo bash lamectf/setup.sh
Open your server's IP address in a Web browser. You should see the demonstration CTF.
Customize the answers.php file to use it.

