ScoringEngine for Red/White/Blue Team Competitions. Download Docker. If you are on Mac or Windows, Docker Compose will be automatically installed.
On Linux, make sure you have the latest version of Compose. If you’re using Docker for Windows on Windows 10 pro or later, you must also switch to Linux containers.
docker-compose build
docker-compose up
If you want to delete the database before starting, set the SCORINGENGINE_OVERWRITE_DB environment variable:
SCORINGENGINE_OVERWRITE_DB=true docker-compose up
We also provide the ability to run it in an ‘example’ mode. This means only the web ui runs, and the database is prepopulated with example data. Set the SCORINGENGINE_EXAMPLE environment variable to true:
SCORINGENGINE_EXAMPLE=true docker-compose up
The app will be running at http://localhost
Log in with any of the following logins at http://localhost:
whiteteamuser:testpass
team1user1:testpass
team2user1:testpass
team2user2:testpass
redteamuser:testpass
Installation
Note :It takes a minute or 2 for all of the containers to start up and get going!
TestBed Environment
make rebuild-testbed-new
This command will build, stop any pre-existing scoring engine containers, and start a new environment. As part of the environment, multiple containers will be used as part of the testbed environment.
Environment Variables
We use certain environment variables to control the functionality of certain docker containers.
You can set each environment variable before each command executed, for example:
SCORINGENGINE_EXAMPLE=true make rebuild-new
Production Environment
Modify the bin/competition.yaml file to configure the engine according to your competition environment. Then, run the following make command to build, and run the scoring engine.
Warning: This will delete the previous database, exclude the ‘new’ part from the command to not rebuild the db.
make rebuild-new
Then, to ‘pause’ the scoring engine (Ex: At the end of the day):
docker-compose -f docker-compose.yml stop engine
To ‘unpause’ the engine:
docker-compose -f docker-compose.yml start engine
Also Read – Lazydocker : The Lazier Way To Manage Everything Docker
Manual Setup
Note: Currently, the only OS we have documentation on is Ubuntu 16.04.
apt-get update
apt-get install -y python3.5 wget git python3.5-dev build-essential libmysqlclient-dev
useradd -m engine
wget -O /root/get-pip.py https://bootstrap.pypa.io/get-pip.py
python3.5 /root/get-pip.py
rm /root/get-pip.py
pip install virtualenv
su engine
cd ~/
mkdir /home/engine/scoring_engine
virtualenv -p /usr/bin/python3.5 /home/engine/scoring_engine/env
git clone https://github.com/scoringengine/scoringengine /home/engine/scoring_engine/src
source /home/engine/scoring_engine/env/bin/activate pip install -e /home/engine/scoring_engine/src/
cp /home/engine/scoring_engine/src/engine.conf.inc /home/engine/scoring_engine/src/engine.conf
vi /home/engine/scoring_engine/src/engine.conf
mkdir /var/log/scoring_engine
chown -R syslog:adm /var/log/scoring_engine
cp /home/engine/scoring_engine/src/configs/rsyslog.conf /etc/rsyslog.d/10-scoring_engine.conf
systemctl restart rsyslog
shadow-rs is a Windows kernel rootkit written in Rust, demonstrating advanced techniques for kernel manipulation…
Extract and execute a PE embedded within a PNG file using an LNK file. The…
Embark on the journey of becoming a certified Red Team professional with our definitive guide.…
This repository contains proof of concept exploits for CVE-2024-5836 and CVE-2024-6778, which are vulnerabilities within…
This took me like 4 days (+2 days for an update), but I got it…
MaLDAPtive is a framework for LDAP SearchFilter parsing, obfuscation, deobfuscation and detection. Its foundation is…