This contains the PSU IST 415 SQL Injection lab wrapped in Docker Compose. To install Docker Compose on your system, install Docker Desktop.
- Clone this repo with
git clone https://github.com/bman46/SQL-Injection-Lab.git
- CD to the project root
cd SQL-Injection-Lab
- To set your version of the lab, modify the
VERSION
variable to match your assigned version in thecompose.yaml
file - Run the website with
docker compose up --build
- Navigate to localhost port 8080 to access the website
- Setup the database using the database setup page
- Complete the lab
Should you need to make a modification to any of the files in this lab, press ctrl-c
to shutdown the current docker compose session. Then you can make your changes and run docker compose up --build
to run the lab with your changes. You will need to rerun the database setup.