Skip to content
Open dashboard (opens in a new tab)

Resources

Python example applications

Three Python applications. Before you start, see Before you start.

Terminal window
git clone https://github.com/vulnerable-apps/vuln_django_play.git
cd vuln_django_play
# Start the application
docker compose up --build -d
# Create a web application and scan
APP=vuln-django-play
nightvision target create $APP http://127.0.0.1:8020 --type web
nightvision scan $APP
Terminal window
git clone https://github.com/vulnerable-apps/Remediation-Demo
cd Remediation-Demo
# Start the application
docker compose up -d
# Create an API application, build its specification from the code, and scan
APP=remediation-demo
nightvision target create $APP http://127.0.0.1:5000 --type api
nightvision openapi extract . --target $APP --lang python
nightvision scan $APP
  • What it is: Damn Vulnerable Python Web App.
  • Source: github.com/vulnerable-apps/dvpwa
  • Expect to find: cross-site scripting and SQL injection.
  • Login: username superadmin, password superadmin.
Terminal window
git clone https://github.com/vulnerable-apps/dvpwa.git
cd dvpwa
# Start the application
docker compose up -d
APP=dvpwa
URL=http://127.0.0.1:8080
# Create a web application and record the login: superadmin / superadmin
nightvision target create $APP $URL --type web
nightvision auth playwright create $APP $URL
# Scan, signed in
nightvision scan $APP --auth $APP

For the frameworks Source intelligence reads in Python, see Python frameworks.