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?
First we’re going to download XAMPP Apache server and install it.
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
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.
After that visit: localhost / Username: admin / Password: password
As you can see we’re getting so error we have to fix it.
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!