Skip to content
Sql injection labs via docker.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Sqli labs for Docker

Sql injection labs via docker.

How to use

  1. clone this repository.
git clone
  1. edit config in .env. (optional)
  2. run it!
docker-compose up
  1. update mysql account in code/sqli-labs/sql-connections/
//give your mysql connection username n password
$dbuser ='root';
$dbpass ='root';
$dbname ="security";
$host = 'db';
$dbname1 = "challenges";
  1. enjoy it!


  1. You can view/edit valnerable code in code/sqli-labs.
  2. You can connect mysql server on port 8989.
You can’t perform that action at this time.