Skip to content

pengdrop/solveme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rawsec's CyberSecurity Inventory GitHub stars GitHub license

SolveMe

main

It's jeopardy style wargame website called SolveMe.

This source code tested on PHP 7.2 and MariaDB 10.1.40.

Official Website: http://solveme.kr/

Demo Website: http://211.239.124.233:20813/

How to set-up?

# in main server
docker run -it -p {website_port}:80 --name solveme ubuntu /bin/bash
# in docker container
apt update
apt install -y vim lrzsz unzip

# apache
apt install -y apache2
apache2 -t
a2enmod rewrite
vim /etc/apache2/sites-available/000-default.conf
>> <Directory /var/www/>
>>     Options Indexes FollowSymLinks MultiViews
>>     AllowOverride All
>>     Order allow,deny
>>     allow from all
>> </Directory>
service apache2 start

# php
apt install -y php7.2 php-mbstring php-pdo-mysql
php -v
vim /etc/php/7.2/apache2/php.ini
# plz enable `mbstring` and `pdo-mysql`

# mysql
apt install -y mariadb-server
service mysql start
mysql_secure_installation
mysql -u root -p
>> grant all privileges on *.* to root@localhost identified by '{mysql_password}';
>> create database `solveme`;
>> flush privileges;
>> exit;

# download source code
cd /var/www/html
rz
unzip solveme.zip