PDA

View Full Version : How to Install Mutillidae?



Mike9876
2019-08-29, 23:28
Hi, I'm on a Kali USB with Persistence. I also have Kali on VMware with Windows 10 Host. I'm trying to install Mutillidae 2 on my 128GB Live USB. I installed XAMPP but can't get apache running. It says "stopped." The other 2 work. Also, when I enter localhost/mutillidae it takes me to Openvas (localhost:9392.) So I uninstalled Openvas and now it says "problem loading page" and can't connect (can't connect to localhost.) So how do I connect to Mutillidae? Do I need XAMPP and it's apache running? I'm attaching screenshots. I also tried installing a second time using a video on YouTube. I downloaded Mutillidae on Sourceforge, unzipped, copied folder "mutillidae" to /opt/lampp/htdocs. Still can't connect. The first time I installed I used folder /var/www/html. mutiliidae folder is unzipped and in that folder. So how do I install Mutillidae? Please reply. Thanks

3562
3563
3564
3565

Mike9876
2019-08-30, 20:47
Hi, me again...I decided to go back to Windows 10 and try XAMPP on my Kali VM. I'll report back if I have problems.

Mike9876
2019-08-31, 06:53
I'm back. I tried XAMPP on Kali on VMware and it won't start apache. Won't connect to localhost. Then I tried it on Windows host. Can't start apache. Should I install apache somehow else so I can start it in XAMPP? On my Kali VM and Windows 10 host? Also, XAMPP Control Panel does't show up in Cortana search. Just the exe in my Downloads folder. Do I have to reinstall it everytime I want to open XAMPP? The videos on YouTube don't need that.

Mike9876
2019-09-01, 03:59
Hi, I tried Installing Apache24 on Windows 10. I'm not sure if I installed it right. The internet has a lot of steps. Can't find confhttpd.conf. I'm not sure if I need that. When I run "httpd.exe" I can start it fine. My web browser (Edge) Says "It worked" and goes to a page called "Index of /mutillidae." It shows the Mutillidae files but doesn't go to it's web page. I also installed Apache2 as a Windows service. I copied the folder Mutillidae to C:\Apache24\bin\htdocs. I get the "Index of mutillidae." Does anyone have this problem? XAMPP stil can't start Apache. I will try to attach logs in a second. Thanks again

Mike9876
2019-09-01, 07:08
Hello, I have been searching the Internet trying to fix it myself. Not working but here's an update. First, I installed C:/Apache24 on Windows 10. ApacheMonitor.exe and httpd.exe start fine and Apache starts fine (Green light on ApacheMonitor.) I copied Mutillidae into C:/Apache24/htdocs/mutillidae. When I enter localhost I get a white page saying "It works!" When I enter localhost/mutillidae I can't connect (error 404). Apache on XAMPP still won't start. When I run C:\Xampp\apache\bin\httpd.exe in CMD I get the error:

(OS 10048)Only one usage of each socket address (protocol/network address/port) is normally permitted. : AH00072: make_sock: could not bind to address [::]:443 Apache.

I tried editing the C:/Xampp/apache/conf/httpd.conf file. (Found on the Internet.) Trying to change port of Apache since 443 is in use. (Above error.) I can't get XAMPP to change the port after editing it to "Listen *:81" or "*:4443". It keeps 443 as port. What I ports should i use? I entered "netstat -ano" but there's too many results to find Port 443. So I can't End the Task. I'll try rebooting. Changes in httpd.conf:

ServerRoot “c:/Apache24”
DocumentRoot “c:/Websites”
<Directory “c:/Websites”>
ServerName localhost:80
Listen *:80

I tried "Listen *:4443" and *:81 for ports. Since :443 was in use. Mutillidae still doesn't work. (Can't connect to localhost/mutillidae.) Mutillidae is copied to my C:/Apache24/htdocs Folder. So I can't get Apache to start on XAMPP Control Panel and can't connect to localhost/mutillidae. I'm attaching screenshots. Please reply. Thanks

3567
3568
3569
3570

Mike9876
2019-09-01, 08:54
I thought about it and think all I need is to get Apache running on XAMPP. Then Mutillidae should work fine. I'm trying DVWA. Following a Video on YouTube. So does anyone know how to get apache started? Sorry about the long posts. This shouldn't be difficult. I deleted Apache24 and will reinstall XAMPP with less services. Just what I need.

markwiering
2019-09-01, 09:08
I always start apache2 with: service apache2 start

This should work. :)

Mike9876
2019-09-01, 09:33
Thanks for your reply. "service apache2 start" on Windows? I will have Geek Squad look at it tomorrow.

'service' is not recognized as an internal or external command,
operable program or batch file.

Mike9876
2019-09-02, 05:01
Success! I got DVWA working. On my Kali Virtual Machine. I have XAMPP and can start apache. What works better is "service apache2 start". I followed a long with a video. I had to edit "allow_url_include" and "reCpatcha Key." After that and restarting apache and MYSQL it takes me to the main webpage. Super happy. Next is Mutillidae. I'll report back if I need anything.

Mike9876
2019-09-02, 07:37
I got Mutillidae to work. I had to change passwords of MySQL. And do a few other things. Now I have them both working. This is solved. Thank you for the help.