Date: Mon, 20 Sep 2021 20:11:42 +0200 (CEST) From: Marco Beishuizen <mbeis.bsd@xs4all.nl> To: freebsd-ports@freebsd.org Subject: Re: security/metasploit: package ... is not in GOROOT Message-ID: <665bd892-bdff-ffdd-6beb-f0280b2ac54@xs4all.nl> In-Reply-To: <123eeb3e-e6cc-e9ec-c31-99e0386e108c@xs4all.nl> References: <123eeb3e-e6cc-e9ec-c31-99e0386e108c@xs4all.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 19 Sep 2021, the wise Marco Beishuizen wrote: > Hi, > > I'm trying to create an portupdate for metasploit. The created patch is > working fine and the new metasploit works, but when starting metasploit I get > some warnings: > > [...] > [!] The following modules could not be loaded!..| > [!] > /usr/local/share/metasploit/modules/auxiliary/scanner/msmail/exchange_enum.go > [!] > /usr/local/share/metasploit/modules/auxiliary/scanner/msmail/onprem_enum.go > [!] /usr/local/share/metasploit/modules/auxiliary/scanner/msmail/host_id.go > [!] Please see /home/marco/.msf4/logs/framework.log for details. > [...] I discovered that in the default go env a setting "GO111MODULE" is set to "". Changing this to "GO111MODULE=off" results the error to disappear. So anyone got an idea how to alter the go environment in the metasploit makefile? Thanks in advance, Regards, Marco -- The fact that people are poor or discriminated against doesn't necessarily endow them with any special qualities of justice, nobility, charity or compassion. -- Saul Alinsky
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?665bd892-bdff-ffdd-6beb-f0280b2ac54>