Skip to content
Sql injection labs via docker.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
code
web
.env
README.md
docker-compose.yml

README.md

Sqli labs for Docker

Sql injection labs via docker.

How to use

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

Tip

  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.