Advice for HackerHow To'sLinuxPenetration Testing

Setup your own Penetration Testing Environment (DVWA) on your Kali Linux

Setup your own Penetration Testing Environment on your Kali Linux. The Penetration Tester Play’s bigger role now than some years ago, Because Internet now is a everyday life work and habits.

Hackers need a platform where they can perform attacks and penetrate system to learn ethical hacking.

“How can I practice myself without go illegal or make damages to other one’s systems?”

How can we do that?

Simply installing penetration testing environment.

What things we need?

  1. XAMPP Apache Server: Download
  2. DVWA: Download

First we’re going to download XAMPP Apache server and install it.

Setup your own Penetration Testing 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:

ls
chmod +x xampp-linux-x64-5.6.31-0-installer.run
./xampp-linux-x64-5.6.31-0-installer.run

Setup your own Penetration Testing Environment (DVWA) on your Kali Linux

Setup your own Penetration Testing Environment (DVWA) on your Kali Linux

Setup your own Penetration Testing Environment (DVWA) on your Kali Linux

Setup your own Penetration Testing Environment (DVWA) on your Kali Linux

Setup your own Penetration Testing Environment (DVWA) on your Kali Linux

Setup your own Penetration Testing Environment (DVWA) on your Kali Linux

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

Visit: localhost/phpmyadmin and create a new database.

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.php and add database information.

Setup your own Penetration Testing Environment (DVWA) on your Kali Linux

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

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

Setup your own Penetration Testing Environment (DVWA) on your Kali Linux

To fix that error locate php.ini file an 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.

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

Setup your own Penetration Testing Environment (DVWA) on your Kali Linux

Noor Qureshi

Experienced Founder with a demonstrated history of working in the computer software industry. Skilled in Network Security and Information Security.

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button