Demo for SQL injection
How to use:
-
Start a local postgres
docker run --rm -it -p 5432:5432 -e POSTGRES_USER=admin -e POSTGRES_PASSWORD=admin -e POSTGRES_DB=db postgres:latest
-
Run spring application
./mvnw spring-boot:run
-
Navigate to
http://localhost/
and have fun!