Posted by shinigami 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.
- Download DVWA here
- Extract into local web server root (var/www)
root@hatikamu# unzip DVWA-1.0.7.zip -d /var/www/
- Set permission of DVWA into 755
root@hatikamu# chmod -R 755 /var/www/dvwa
- Edit database configuration for database connection with text editor
root@hatikamu# kate /var/www/dvwa/config/config.inc.php
- Run MySQL, Start menu->Backtrack->Service->MySQL->Start Mysql
- Run Apache, Star menu->Backtrack->Service->HTTPD->Start HTTPD
- Create database for DVWA
root@hatikamu# mysql -u root -p
Welcome to MySQL mysql> create database dvwa;
mysql> exit
- Now run your dvwa from your favorit browser, http://127.0.0.1/dvwa
- Done
i did every thing but when i come to this step
ReplyDeletemysql> create database dvwa; there will be error
ERROR 1007 (HY000): Can't create database 'dvwa'; database exists
It's because the database named DVWA exists. May be you have install DVWA before.
ReplyDeleteYou can jump into step 8.
Every time i try to login its shows an error saying " Table 'dvwa.users' doesnt exist ".
ReplyDeletemy problem same at shiva gautam..
ReplyDelete"kate /var/www/dvwa/config/config.inc.php" after what?
ReplyDelete