0%

linux安装DVWA

linux安装DVWA

安装DVWA

https://blog.csdn.net/csdn_Pade/article/details/64518164 Ubuntu16.04安装dvwa

1
2
3
4
5
6
7
dassein@pad:~/Documents$ sudo mv DVWA-master /opt/lampp/htdocs/
[sudo] password for dassein:
Sorry, try again.
[sudo] password for dassein:
dassein@pad:~/Documents$ cd /opt/lampp/htdocs/DVWA-master/config/
dassein@pad:/opt/lampp/htdocs/DVWA-master/config$ sudo cp config.inc.php.dist config.inc.php
dassein@pad:/opt/lampp/htdocs/DVWA-master/config$ sudo gedit config.inc.php

将默认密码改成空,也就是 $_DVWA[ 'db_password' ] = '';
密码里面留有任何东西都是不行的

启动DVWA

启动服务

1
sudo /opt/lampp/xampp start

访问 http://127.0.0.1/DVWA-master/ 就可以进入DVWA的页面了
点击下方的 create database 按钮
点击之后,如果看到
证明是成功的创建了数据库,账号:admin , 密码:password,登录!