Created attachment 227975 [details] security/metasploit: update to 6.1.6 security/metasploit: update to 6.1.6 See for changes: https://github.com/rapid7/metasploit-framework/releases
Got some warnings now: 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 I'll try to correct this and submit a new patch.
Created attachment 228060 [details] security/metasploit: update to 6.1.6
I updated the patch. The warnings about modules not being in GOROOT are caused bij a go environment setting GO111MODULES. This should be set to off, which is the default afaics. My env setting was probably old and not updated by go upgrades I guess. Setting go env -w GO111MODULES=off manually results in the warning going away.
Committed!
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=5b0fadb1eb48d1d5d19e52669f19a91fa9ebb00f commit 5b0fadb1eb48d1d5d19e52669f19a91fa9ebb00f Author: Marco Beishuizen <mbeis@xs4all.nl> AuthorDate: 2021-09-20 20:13:05 +0000 Commit: Neel Chauhan <nc@FreeBSD.org> CommitDate: 2021-09-20 20:14:08 +0000 security/metasploit: update to 6.1.6 PR: 258569 security/metasploit/Makefile | 17 ++++++++++++++--- security/metasploit/distinfo | 6 +++--- 2 files changed, 17 insertions(+), 6 deletions(-)