Skip to content
This repository has been archived by the owner on Dec 15, 2023. It is now read-only.
/ dvwa Public archive

Installs Damn Vulnerable Web Application 1.0.7 on top of XAMPP

Notifications You must be signed in to change notification settings

rapid7-cookbooks/dvwa

Repository files navigation

Damn Vulnerable Web Application Build Status

Description

Installs Damn Vulnerable Web Application to a XAMPP installation (recommended by the DVWA documentation).

To run in a Vagrant Environment, install VirtualBox here and then install Vagrant here. Run the following commands to get started with this cookbook:

git clone https://github.com/rapid7-cookbooks/dvwa
cd dvwa
bundle install
vagrant plugin install bindler
vagrant bindler setup # Only needed once
vagrant plugin bundle
vagrant up xampp # or you can run standalone to install without XAMPP

When finished using the Vagrant instance simply run vagrant destroy -f xampp.

Cookbooks

  • apache2
  • mysql
  • xampp

Requirements

Platform

  • Debian (Untested)
  • Ubuntu (Tested on 12.04)

Attributes

  • Includes attributes from xampp::default.
  • node[:dvwa][:dir] Where to install DVWA, defaults to /opt/lampp/htdocs
  • node[:dvwa][:flavor] The type of install to use, defaults to :xampp, alternatively use :apache2
  • node[:dvwa][:url] From where to install DVWA, defaults to http://downloads.sourceforge.net/project/dvwa/DVWA-1.0.7.zip
  • node[:dvwa][:version] What version of DVWA to install, defaults to 1.0.7
  • node[:dvwa][:zip_name] The name of the archive to install from, DVWA-1.0.7.zip

Usage

dvwa::default

Installs DVWA on a web server. Select the install method by explicitly calling the following recipes or by setting node[:dvwa][:flavor] to :xampp (default) or :standalone.

dvwa::xampp

Includes the XAMPP recipe and unarchives DVWA inside of /opt/lampp/htdocs.

dvwa::standalone

Downloads packages used by DVWA and includes the apache2 and mysql recipes to run a web server.

License and Author

Authors

About

Installs Damn Vulnerable Web Application 1.0.7 on top of XAMPP

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages