Skip to content

NeuraLegion/sqli-lab

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dockerized SQLi Lab (ii)

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?

If you want to stop your containers without removing them from docker:

$ docker compose down

If you want to stop your containers and remove them from docker:

docker-compose rm -fsv

About

Dockerized SQLi Simulation Lab based on https://github.com/Audi-1/sqli-labs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 80.3%
  • HTML 9.5%
  • JavaScript 3.6%
  • CSS 3.1%
  • Hack 1.8%
  • Shell 1.0%
  • Dockerfile 0.7%