PDA

View Full Version : Unable to configure Masscan



_Ech0_
2018-04-16, 01:19
I'm trying Exercise 4 of chapter 5 on the Kali Linux Revealed online course: https://kali.training/topic/exercise-5-4-configuring-services-part-2-masscan-web-interface/

I followed all the steps exactly, but when I open up the webpage, I get quite a few errors. I've tried this both on a laptop, and a VM and they both have the exact same errors. Here's a screenshot of the page:

https://gyazo.com/029eda6833b1bd99f12c0b3e45f66dcc

I double checked, and php-xml is on the list of packages it has you install. To make sure, I tried purging that package, and installing it again. I've double checked the services are running, the config.php files which can be seen on the screenshot, and I've tried reaching the page from the machine itself, and from another computer connecting to it. Any ideas on what's causing these error? Thanks in advance.

UPDATE:
Solved.

Figured the issue was going to be a wrong version of something, somewhere along the line, but I wasn't really sure how to confirm that. Ended up needing php 7.0 versions of the packages which was resolved by just adding 7.0 to the end of all the installs (apt install php7.0-pgsql php7.0-xml)

re4son
2018-04-16, 11:42
Glad you got it sorted.

I've elaborated on my previous post and added a little HOWTO for dealing with these php version mismatches in the Kali training forum:

https://kali.training/forums/topic/masscan-importing-a-scan/#post-3769