Packages and Binaries:

dvwa

Damn Vulnerable Web Application
This package contains a PHP/MySQL web application that is damn vulnerable. Its main goal is to be an aid for security professionals to test their skills and tools in a legal environment, help web developers better understand the processes of securing web applications and to aid both students & teachers to learn about web application security in a controlled class room environment.

The aim of DVWA is to practice some of the most common web vulnerabilities, with various levels of difficulty, with a simple straightforward interface. Please note, there are both documented and undocumented vulnerabilities with this software. This is intentional. You are encouraged to try and discover as many issues as possible.

WARNING: Do not upload it to your hosting provider’s public html folder or any Internet facing servers, as they will be compromised.

Installed size: 1.70 MB
How to install: sudo apt install dvwa

Dependencies:
  • adduser
  • apache2
  • kali-defaults
  • libapache2-mod-php
  • mariadb-server
  • nginx
  • php8.4
  • php8.4-fpm
  • php8.4-gd
  • php8.4-mysql
  • sudo
dvwa-start
root@kali:~# dvwa-start -h

┏━(Message from Kali developers)
┃ 
┃ Please wait for the dvwa service to start
┃ 
┃ [*] Web UI: http://127.0.0.1:42001
┃ [i] You might need to refresh your browser once it opens
┃ 
┗━

- Default User    : admin
- Default Password: password

dvwa-stop
root@kali:~# dvwa-stop -h

┏━(Message from Kali developers)
┃ 
┃ Service status:
┃   * dvwa.service - The Damn Vulnerable Web Application in its own nginx server
┃        Loaded: loaded (/usr/lib/systemd/system/dvwa.service; 5:185mdisabled; preset: 5:185mdisabled)
┃        Active: inactive (dead)
┃   
┃   Jun 17 12:19:25 kali sudo[817927]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
┃   Jun 17 12:19:25 kali sudo[817927]: pam_unix(sudo:session): session closed for user root
┃   Jun 17 12:19:25 kali systemd[1]: Started dvwa.service - The Damn Vulnerable Web Application in its own nginx server.
┃   Jun 17 12:19:27 kali systemd[1]: dvwa.service: Deactivated successfully.
┃   Jun 17 12:19:27 kali systemd[1]: Starting dvwa.service - The Damn Vulnerable Web Application in its own nginx server...
┃   Jun 17 12:19:27 kali systemd[1]: Started dvwa.service - The Damn Vulnerable Web Application in its own nginx server.
┃   Jun 17 12:19:29 kali systemd[1]: dvwa.service: Deactivated successfully.
┃   Jun 17 12:19:29 kali systemd[1]: Starting dvwa.service - The Damn Vulnerable Web Application in its own nginx server...
┃   Jun 17 12:19:29 kali systemd[1]: Started dvwa.service - The Damn Vulnerable Web Application in its own nginx server.
┃   Jun 17 12:19:31 kali systemd[1]: dvwa.service: Deactivated successfully.
┃ 
┗━




Updated on: 2026-Jun-17