pwnlandia / mhn

Modern Honey Network
GNU Lesser General Public License v2.1
2.42k stars 631 forks source link

Unauthenticated git protocol no longer supported #846

Open 4N6Guy opened 2 years ago

4N6Guy commented 2 years ago

While trying to install the Glastopf honeypot, the script failed at "git clone git://github.com/mushorg/BFR.git.

The error message reads "The unauthenticated git protocol on port 9418 is no longer supported."

wrharding commented 2 years ago

Replacing git with https on this line fixed the issue you are describing, however, there seems to be an additional issue on my installation:

https://github.com/pwnlandia/mhn/blob/be58cbf8c726c29c4c0f993023688fdbd026ee05/scripts/deploy_glastopf.sh#L42

New error:

image

I'm unfamiliar with this error. I'll have to look at it later this week.

wrharding commented 2 years ago

Note, I'm running Ubuntu 16.04, per the Wiki's notes on what glastopf supports.

4N6Guy commented 2 years ago

Thank you for the reply. I have made the change but I have run into other issues. The first was the pathname used in the "Updated php.ini to add bro.so. Here's the new script:

'# Updated php.ini to add bfr.so if [ "$(lsb_release -r -s)" == "14.04" ]; then BFR_BUILD_OUTPUT=find /usr/lib/php5/ -type f -name "bfr.so" | awk -F"/" '{print $5}' echo "zend_extension = /usr/lib/php5/$BFR_BUILD_OUTPUT/bfr.so" >> /etc/php5/apache2/php.ini else BFR_BUILD_OUTPUT=find /usr/lib/php/ -type f -name "bfr.so" | awk -F"/" '{print $5}' echo "zend_extension = /usr/lib/php/$BFR_BUILD_OUTPUT/bfr.so" >> /etc/php/7.2/apache2/php.ini fi'

However, I now have run into another issue as seen below,

Error 1a Error 1b

Note: I am running Ubuntu 18.04 and the installation automatically upgrades Python to 3.6.9