[root@kvm11 ~]# cd /var/www/html/config/ [root@kvm11 config]# cp config.inc.php config.inc.php.bak
[root@kvm11 ~]# cd /var/www/html/config/ [root@kvm11 config]# cp config.inc.php config.inc.php.bak
[root@kvm11 config]# grep DVWA.*db_ config.inc.php $_DVWA[ 'db_server' ] = '127.0.0.1'; $_DVWA[ 'db_database' ] = 'dvwadb'; $_DVWA[ 'db_user' ] = 'dvwamgr'; $_DVWA[ 'db_password' ] = 'xxxxxx'; $_DVWA[ 'db_port '] = '5432';