Skip to content

alex-nightvision/remediation-demo

Repository files navigation

Remediation Demo

A flask app with SQL injection and leaked passwords to be used for remediation demo.

SQL injection

curl "http://127.0.0.1:5000/users?name='%20OR%20'1'='1"

Leaking passwords

curl http://127.0.0.1:5000/.env
wget http://127.0.0.1:5000/.env

Local Setup

nightvision app create -n remediation-demo
nightvision target create -n remediation-demo -u http://127.0.0.1:5000 --type api
nightvision swagger extract ./ -t remediation-demo --lang python 
pip install -r requirements.txt
python app.py
nightvision scan -t remediation-demo -a remediation-demo

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published