Kali Linux 2016.2 Dvwa Iso Install4/26/2021
After login we are in Damn Vulnerable Web Applications main page.Practice makes perfect, but where to practice our hacking skills A simple answer is on our localhost.There is a famous quote There is no place like 127.0.0.1.
This 127.0.0.1 is our home server or local server. In this web application security researchers, penetration testers or ethical hackers test their skills and run tools in a legal environment. In Linux environment localhost files are stored in varwwwhtml directory, so we open a terminal and change our directory to that directory using following command: cd varwwwhtml. Then we change the permission on dvwa directory by using following command:- chmod -R 777 dvwa. We need to make a copy of this file with.php extension name, we are coping this file because in future if anything goes wrong then we have the default values. So we copy this file with.php extension name using following command:- cp config.inc.php.dist config.inc.php. We start the mysql at first using following command:- service mysql start. Now lets login to mysql using following command:- mysql -u root -p. Here in our Kali Linux root is our superuser name, if we have something else then we need to change that user. Kali Linux 2016.2 DVWA ISO INSTALL Password Field WeIn the password field we press Enter without typing password; because we didnt set any password for it, now mysql will open like following screenshot:-. Here using this command we are creating a user called user running server on 127.0.0.1(localhost) and the password is pass. Remember that this username and password should exactly same as the password and username we have entered in the configuration file of dvwa web application. Then we grant this user all the privileges over the database. For that we type following command:- grant all privileges on dvwa. Lets change our directory to etcphp7.3apache2 Here we are using version 7.3, if we use another version then the path might be change. Here we configure the php.ini file using leafpad of any good text editor. We need to change the allowurlfopen and allowurlinclude values. In some cases when we are first time configuring it, we might find that one of this or both of this configuration is set to Off. We have turned both of these configuration to On, as the following screenshot:-. Then we start the apache2 server using following command:- service apache2 start. Then it will create and configure the database and we redirected to DVWA login page.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |