This repository contains all the challenges for GCTF-Lite.
Every challenge folder will have a README.md
file that details what the challenge is about and how to solve it. The following explains the folders and their role.
distrib
contains all distributable files for all usersgenerate
contains all relevant source code used to generate the challenge (if not in service directory)lib
contains all libraries that may be used in the challenge creation processservice
contains all the files needed to host the challenge on a serversolution
contains all the solution scripts or files.
You may require sudo
permissions to run these commands.
Challenges that require hosting uses Docker to isolate the challenges.
To install Docker for the common Linux distributions, run the script at: https://get.docker.com/
- Change your directory to the challenge you would wish to host.
- Run the
build.sh
orinstall.sh
scripts in either the root directory of the challenge or the service directory. - Type
docker inspect <containername>
or enter the docker viadocker exec -ti sh
andifconfig
to find the IP address and head to that IP.
To create a new challenge, follow the template on challenges/template/README.md