Friday, July 29, 2011

Installing DVWA (Damn Vulnerable Web Application) in Opensuse 11.4

DVWA (Damn Vulnerable Web Application ) is a web application that is damn vulnerable , its that for test web developer skills and tools in legal environtment . Help us to prevent our web from attacker , better understanding our project to build more secure .

Download DVWA in here

copy to directory /srv/www/htdocs [ in open suse ]
#chmod 777 DVWA-1.0.7.zip

create a database in your local machine
>mysql create database dvwa;

to C0nfigure it , change your database c0nfiguration in /config/config.inc.php

# Database variables

$_DVWA = array();
$_DVWA[ 'db_server' ] = 'localhost';
$_DVWA[ 'db_database' ] = 'dvwa'; >> your database name
$_DVWA[ 'db_user' ] = 'root'; >> your database user
$_DVWA[ 'db_password' ] = ''; >> your database password

config php.ini in /srv/www/htdocs/dvwa/php.ini
change it to be
; This file attempts to overwrite the original php.ini file. Doesnt always work.

magic_quotes_gpc = Off
allow_url_fopen on
allow_url_include on

open in localhost

for setup

c0nfig database

No comments:

Post a Comment