| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Simple SQL injection demo, written in Bottle. Intended to explain this comic strip:
This software is intended for educational purposes only. Do not attempt to run any of this software on any computer/network that you do not own.
This was made for a lunch talk; it's not particularly polished. If you are not already somewhat familiar with Python and PostgreSQL, you probably won't get much out of this.
Requirements:
I've only tested this on Linux with PostgreSQL 9/12, but it should be pretty portable
python -m venv sql-injection-demo-env
source sql-injection-demo-env/bin/activate
pip install -r requirements.txtOkay, now what?
The basic_site/ folder contains some examples of a very basic website. If you've never worked with websites before, it might be good to play around here to get a feel for the Bottle framework, etc., before diving into the SQL injection portion
The advanced_site/ folder contains the core of the repo: the SQL injection demo. To run it:
Once running, there are two main things you can do:
Both of these forms execute queries that are vulnerable to SQL injection. There are also "safe" versions of each form available at /login/fixed and /students/fixed; these are not vulnerable.
| Back | FazBrowse Home | New Git URL |