Skip to content

Extensive documentation

Theo Henson edited this page Jul 28, 2021 · 5 revisions

Prerequisites

The server

First off, you will need a Linux computer to act as the server.

It could be running any Linux distribution, though this guide will show setup with Ubuntu; a few commands may differ if you are running something else, and those will be addressed.

This computer must be accessible via the network from the competitors computers.

Installing the necessary software

On the server you will need some additional software installed to run secprac, namely Docker, git, and Python 3.

The easiest way to install these is through your distribution's package manager.

For example, on a distribution that uses the apt package manager (Ubuntu, Debian, etc.) the command to install them would be:

sudo apt install git python3

To install Docker on a distribution that uses apt you must add another repository to your package manager. Do this by running the following:

sudo apt-get install apt-transport-https ca-certificates curl gnupg lsb-release # install prerequisites needed for adding another repository
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg # add docker's gpg key
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null # add the repository to your sources file
sudo apt update # update your package database with the new repository
sudo apt-get install docker-ce docker-ce-cli containerd.io # install docker

See Docker's website for further guidance on installation if needed.

If you are using a different distribution which doesn't use apt you should see which package manager you have to install these programs.

Setting up secprac

Downloading the secprac server

Now you will need to download secprac.

To do this we will you one of the programs that we installed earlier: git.

Run the following command:

git clone https://github.com/tteeoo/secprac-web

If you look with ls you should see a new directory secprac-web.

Move into that directory with:

cd secprac-web

Getting vulnerability scripts

Clone this wiki locally