presentations/introduction-to-sql-injection/example
Stefan Friese 0e2175a8fc worked on sql injection, added example page 2024-04-12 14:21:09 +00:00
..
static worked on sql injection, added example page 2024-04-12 14:21:09 +00:00
templates worked on sql injection, added example page 2024-04-12 14:21:09 +00:00
README.md worked on sql injection, added example page 2024-04-12 14:21:09 +00:00
create_db.py worked on sql injection, added example page 2024-04-12 14:21:09 +00:00
flask_sqli.py worked on sql injection, added example page 2024-04-12 14:21:09 +00:00
poetry.lock worked on sql injection, added example page 2024-04-12 14:21:09 +00:00
pyproject.toml worked on sql injection, added example page 2024-04-12 14:21:09 +00:00

README.md

Example project of a website including an SQL injection

This implementation is meant to be used for training purposes. Do not use the code in production or development.

Usage

Use python poetry to install dependencies in the following way.

poetry install

If you want to install the dependencies manually use a venv in the following way.

python3 -m venv venv
source venv/bin/activate
pip install flask

Dependencies can be found inside the ./pyproject.toml file.

After installation has been done, start the flask server.

poetry run python3 ./flask_sqli.py

Now, the website is accessible at localhost:5000