Advertisement
Guest User

DVWA Installation Script Kali 2016.1 VM

a guest
Sep 14th, 2016
553
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. echo Installing DVWA
  2. echo By Crazy Danish Hacker
  3. service apache2 start
  4. service mysql start
  5. wget https://github.com/ethicalhack3r/DVWA/archive/v1.9.zip
  6. unzip v1.9.zip
  7. cd DVWA-1.9
  8. cp -R * /var/www/html/
  9. cd /var/www/html/
  10. rm index.html
  11. sed -i 's/p@ssw0rd//g' config/config.inc.php
  12. chown www-data:www-data -R *
  13. chmod 755 hackable/uploads/
  14. chmod 644 external/phpids/0.6/lib/IDS/tmp/phpids_log.txt
  15. cd /etc/php5/apache2/
  16. sed -i 's/allow_url_include = Off/allow_url_include = On/g' php.ini
  17. service apache2 reload
  18. echo Installation complete.
  19. echo Now browse to http://localhost/setup.php
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement