Comments

Pages

Thursday, 13 September 2012

Installing DVWA on Backtrack 5

Posted by at 12:03 Read our previous post
What is DVWA?

Damn Vulnerability Web Application (DVWA) is a Vulnerable Wep Application, designed for pentetration labs. Please note that not recommended to install it on your hosting.


  1. Download DVWA here
  2. Extract into local web server root (var/www)
    root@hatikamu# unzip DVWA-1.0.7.zip -d /var/www/
  3. Set permission of DVWA into 755
    root@hatikamu# chmod -R 755 /var/www/dvwa
  4. Edit database configuration for database connection with text editor
    root@hatikamu# kate /var/www/dvwa/config/config.inc.php
  5. Run MySQL, Start menu->Backtrack->Service->MySQL->Start Mysql
  6. Run Apache, Star menu->Backtrack->Service->HTTPD->Start HTTPD
  7. Create database for DVWA
    root@hatikamu# mysql -u root -p
    Welcome to MySQL
    mysql> create database dvwa;
    mysql> exit
  8. Now run your dvwa from your favorit browser, http://127.0.0.1/dvwa
  9. Done

5 comments:

  1. i did every thing but when i come to this step
    mysql> create database dvwa; there will be error

    ERROR 1007 (HY000): Can't create database 'dvwa'; database exists

    ReplyDelete
  2. It's because the database named DVWA exists. May be you have install DVWA before.
    You can jump into step 8.

    ReplyDelete
  3. Every time i try to login its shows an error saying " Table 'dvwa.users' doesnt exist ".

    ReplyDelete
  4. my problem same at shiva gautam..

    ReplyDelete
  5. "kate /var/www/dvwa/config/config.inc.php" after what?

    ReplyDelete

©2012 SECURITY is powered by Blogger - Template designed by Stramaxon - Best SEO Template