Description
Installs Damn Vulnerable Web Application to a XAMPP installation (recommended by the DVWA documentation).
Run the following commands to get started with this cookbook:
bundle install
vagrant plugin install vagrant-berkshelf
vagrant up
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/htdocsnode[:dvwa][:flavor]
The type of install to use, defaults to :xampp, alternatively use :apache2node[:dvwa][:url]
From where to install DVWA, defaults to http://downloads.sourceforge.net/project/dvwa/DVWA-1.0.7.zipnode[:dvwa][:version]
What version of DVWA to install, defaults to 1.0.7node[:dvwa][:zip_name]
The name of the archive to install from, DVWA-1.0.7.zip
Usage
dvwa::default
Includes the dvwa::server recipe.
dvwa::server
Installs DVWA on a web server. Select the install method 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
- Erran Carey ([email protected])