cristianmp80 / sqlinjection-lab

Dockerized SQLi Simulation Lab based on http://www.sqlinjection.net/simulation/ and https://github.com/EvilFreelancer/alpine-apache-php5

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dockerized SQLi Lab

Based on:

Where do I put my files?

  • MySQL Dump -> dump/
  • vulnerable php app -> html/public

Note: the database volume will be stored in ./database

How to start the lab?

login, pass and db name are hardcoded in docker-compose.yml and html/public/includes/config.inc. To start the lab, just run:

$ docker-compose up -d

Wait a minute before trying to connect to http://localhost:8888 (otherwise, you will get "Connection refused" errors from MariaDB/MySQL)

How to stop the lab?

$ docker compose down

About

Dockerized SQLi Simulation Lab based on http://www.sqlinjection.net/simulation/ and https://github.com/EvilFreelancer/alpine-apache-php5

License:MIT License


Languages

Language:PHP 68.6%Language:Shell 17.2%Language:CSS 7.1%Language:HTML 3.6%Language:Dockerfile 3.1%Language:JavaScript 0.5%