Setup own PenTesting Environment (DVWA) on your Kali Linux

0
3183

Setup own PenTesting Environment in your Kali Linux. Penetration game Tester now plays more than a few years ago, because the Internet is now a work of daily life and habits.

Hackers need a platform where they can attack and penetrate the system of learning ethical hacking. So, Setup own PenTesting Environment.

“How can I practice without going illegal or hurting other systems?”

How can we do it?

Just install the penetration test environment.

What are the things we need?

[sociallocker id=”1998″]

XAMPP Apache Server: Download
DVWA: Download

[/sociallocker]

Also Read: How To Hack Facebook ID Using Phishing Attack 2017

First, download the XAMPP Apache server and install it.

setup own pentesting environment - Setup own PenTesting Environment (DVWA) on your Kali Linux

After downloading let’s move that xampp….run file to desktop and follow me.!

To execute .run file type this:

setup own pentesting environment1 - Setup own PenTesting Environment (DVWA) on your Kali Linux

setup own pentesting environment2 - Setup own PenTesting Environment (DVWA) on your Kali Linux

 

Also Read: Marcus Hutchins (MalwareTech) Gets Bail For $30,000

 

setup own pentesting environment3 - Setup own PenTesting Environment (DVWA) on your Kali Linux

setup own pentesting environment4 - Setup own PenTesting Environment (DVWA) on your Kali Linux

setup own pentesting environment5 - Setup own PenTesting Environment (DVWA) on your Kali Linux

After copying all DVWA files to directory: /opt/lampp/htdocs. It’s time to setup database and config file for DVWA.

Visitlocalhost/phpmyadmin and create a new database.

setup own pentesting environment6 - Setup own PenTesting Environment (DVWA) on your Kali Linux

Now we have to add database information to our config file. In directory /opt/lampp/htdocs/config/ we have a file: config.inc.php.dist rename that to config.inc.phpand add database information.

setup own pentesting environment7 - Setup own PenTesting Environment (DVWA) on your Kali Linux

After that visit: localhost / Username: admin / Password: password

setup own pentesting environment8 - Setup own PenTesting Environment (DVWA) on your Kali Linux

As you can see we’re getting so error we have to fix it.

setup own pentesting environment10 - Setup own PenTesting Environment (DVWA) on your Kali Linux

To fix that error locate a php.ini file and edit it. Search for: allow_url_include = Off and change to allow_url_include = On

After making that change you have to restart Apache from xampp control panel and visit localhost again and install.

setup own pentesting environment12 - Setup own PenTesting Environment (DVWA) on your Kali Linux

When you’re done with fixing those errors you have to visit localhost/index.php and click on create DB and install from the button and your done!

setup own pentesting environment13 - Setup own PenTesting Environment (DVWA) on your Kali Linux

 

 

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.