How To Install Mutillidae And Try A Little Test
Bismillah...
So, bofore we start sharing about Mutillidae. Better for us to know it's definition. Open the spoiler to read it, but if you aren't patient enough, just pass it by :D
Requirements (1-5):
So, bofore we start sharing about Mutillidae. Better for us to know it's definition. Open the spoiler to read it, but if you aren't patient enough, just pass it by :D
Open:
- First we need to install Apache, type this in your terminal:
sudo apt-get install apache2 - Then install PHP:
sudo apt-get install php5 libapache2-mod-php5 - Install the MYSQL server:
sudo apt-get install mysql-server - After that it should prompt you to setup the password for your Mysql server. In my case, I put ‘roo’ as my password just for demo purposes really although it’s not really advisable to use a weak password in a live server. Now setup your phpmyadmin (Optional):
sudo apt-get install libapache2-mod-auth-mysql php5-mysql phpmyadmin - Change the permission of your /var/www folder to make sure you will have all the rights to read, write and execute files by typing this command in your terminal:
sudo chmod -R 0777 /var/www - To check if the installation is successful navigate through this link in your browser: http://localhost/ or http://127.0.0.1/
If you see something that says ‘It Works!’ then you are done setting up your LAMP server. Now time to install Mutillidae! Download and extract Mutillidae in the /var/www directory:
=>Download mutillidae here
=>Extract to www directory, you can copas it or open terminal and type "unzip /home/name_user/Download/LATEST-mutillidae-2.3.7.zip" then "copy -r /home/name_user/Download/mutillidae/ /var/www/". - Next up we need to configure the config.inc and MySQLHandler.php which contains the dbhost, dbuser, dppass, and dbname configurations:
Use your fav editor "gedit /var/www/mutillidae/config.inc"
$dbhost = 'localhost';
$dbuser = 'root;
$dbpass = 'root';
$dbname = 'nowasp'; ---you must create it, open your browser localhost/phpmyadmin---
When you are done next type "gedit /var/www/mutillidae/classes/MySQLHandler.php"
and do the same steps as above. - By default the value $dbpass is left blank so we need to put the root password for Mysql which you entered during the installation of mysql-server. In my case I put root.
- Make sure you have already started the services for Mysql and Apache but if not you can just type these commands in the terminal:
service mysql start && service apache2 start - Then open your web browser again and point it to 127.0.0.1/mutillidae/ or localhost/mutillidae/. Next, let’s have the web application setup the database automatically by clicking Core Controls > Setup/Reset the DB at the left side or Setup/Reset the DB at the upperight corner.
Comments
Post a Comment