Skip to content

immerio/websecdemos

Repository files navigation

Web Application Security Demos

A web application with several vulnerabilities for demonstration purposes. Included vulnerabilities:

  • Broken authentication
  • Broken session management
  • SQL Injection
  • Security Misconfiguration
  • Cross Site Scripting

websecdemos

Setup

Clone repository:

git clone https://github.com/immerio/websecdemos.git

cd websecdemos

Docker

docker build -t websecdemos .

docker run -d --rm -p 127.0.0.1:5000:5000 websecdemos

or with docker-compose installed:

docker-compose up -d

Then browse to http://localhost:5000

Local setup

With Python3 and Pip installed:

pip install -r requirements.txt python demos.py

Then browse to http://localhost:5000

Usage

Go to /select and choose one of the demos included. There is a short help text for each demo at /help

Secrets in code

There are some (invalid) AWS secrets checked into the code, these can be discovered using truffle hog or any other secret scanning tool

sudo docker run --rm -it trufflesecurity/trufflehog:latest git https://github.com/immerio/websecdemos

or if running on a local repo:

sudo docker run --rm -it -v "$PWD:/repo" trufflesecurity/trufflehog:latest git file:///repo

About

Web application with vulnerabilities. For demonstration purposes.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •