Skip to content

JFalnes/vulnerable_flask_application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Vulnerable Flask Application

A Vulnerable Flask Application for beginning pen-testers. Contains a few minor vulnerabilities, could be fun for beginners.

Suggestions to improvements is welcome.

Originally designed as a Final Year Project for my BSc.

Installation

Should work on both Windows and Linux (Ubuntu 18.04), with some minor tweaking to fit your system

  • pip install -r requirements.txt
  • Create database
  • IMPORTANT: Put it in project folder. Ex: flask_auth_app/project/db.sqlite
CREATE TABLE user (
	id		INTEGER,
	email		VARCHAR(50),
	password	VARCHAR(50),
	name		VARCHAR(50),
	PRIMARY KEY(id AUTOINCREMENT)
);
CREATE TABLE products (
	item_no 	INT,
	item_name 	VARCHAR(50),
	qty 		INT,
	price 		VARCHAR(50)
);
  • Code is written for SQLite 3, your mileage may vary using other databases
  • Create a virtualenv and use it
  • export FLASK_APP={Path/to/your/project}
  • flask run

LICENSE

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •