Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- echo Installing DVWA
- echo By Crazy Danish Hacker
- service apache2 start
- service mysql start
- wget https://github.com/ethicalhack3r/DVWA/archive/v1.9.zip
- unzip v1.9.zip
- cd DVWA-1.9
- cp -R * /var/www/html/
- cd /var/www/html/
- rm index.html
- sed -i 's/p@ssw0rd//g' config/config.inc.php
- chown www-data:www-data -R *
- chmod 755 hackable/uploads/
- chmod 644 external/phpids/0.6/lib/IDS/tmp/phpids_log.txt
- cd /etc/php5/apache2/
- sed -i 's/allow_url_include = Off/allow_url_include = On/g' php.ini
- service apache2 reload
- echo Installation complete.
- echo Now browse to http://localhost/setup.php
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement