Skip to content

This application is a demonstration prototype just to show how to perform SQLi attack.

License

Notifications You must be signed in to change notification settings

0xdbe-appsec/sqli-django-postgresql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SQL Injection with Django

This application is a demonstration prototype just to show how to perform SQLi attack.

Install

  • Setup postgresql database
sudo -u postgres createuser -P me
sudo -u postgres createdb -O me data
export PGPASSWORD=******
  • Install
pipenv install
  • run
pipenv shell
cd sqli
python manage.py runserver

Hack

Open http://localhost:8000/?user=me

Find SQL injection to see all tasks (not only for one user).

Fix

Create a new branch and try to fix this SQL Injection.

To see solution:

git checkout fix

About

This application is a demonstration prototype just to show how to perform SQLi attack.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published