First of all, welcome to the pit. Ha ha. You may be curious or wondering. What is DVWA?

DVWA is a penetration test rehearsal system that is well known in the community. If you need to get started and can’t find the right target, I recommend DVWA.

We usually call the drill system the target machine. Now please follow me to build the DVWA test environment. If you have some basic knowledge, you can go straight to the next chapter.

** I’m using win7 here, why use Win7. Because I happen to have the system right here. In fact, you can use Windows 2008, etc.

I just use Win7 for example, please watch the following.

0x01 Installing the PHP integration Environment

I used PHPStudy 2016 here, which is convenient to use. Here is the latest version now.

http://www.phpstudy.net/phpstudy/phpStudy20161103.zip

After downloading and then put the installed Win7 execution.

Easy to install, keep clicking next. And then there’s the initialization prompt and click Yes.

The following window shows that the installation was successful.

0 x02 DVWA installation

Download it from here.

https://github.com/ethicalhack3r/DVWA

Put the DWVA package in C:\phpStudy\WWW (because I installed phpStudy on disk C, so it is C:\phpStudy) and unzip the DWVA package.

The next step. To configure the DVWA linked database, open the config folder and open config.inc.php.

 

Change db_password to root because the default MYSQL link username and password is root root. Don’t forget to save the modification.

0x03 Let’s log on to DVWA

You need to find your native IP and write it down.

Finally, use a browser to visit http://192.168.0.5/DVWA-master/index.php (my IP is 192.168.0.5, you can also use IP127.0.0.1 directly) and select the arrow pointing to.

Pull down the newly opened page and click the arrow pointing to it.

The creation succeeds. Ha ha.

Then we need to enter the user name and password to visit http://192.168.0.5/DVWA-master/login.php again. Default user name admin Default password password.

Finally successfully logged into DVWA, OK, scatter flowers.

This chapter is over, the next chapter for DWVA configuration and brute force cracking target aircraft.