Bug 258569

Summary: security/metasploit: update to 6.1.6
Product: Ports & Packages Reporter: Marco Beishuizen <mbeis>
Component: Individual Port(s)Assignee: Neel Chauhan <nc>
Status: Closed FIXED    
Severity: Affects Only Me CC: nc, tanawts
Priority: --- Flags: mbeis: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
security/metasploit: update to 6.1.6
mbeis: maintainer-approval+
security/metasploit: update to 6.1.6 mbeis: maintainer-approval+

Description Marco Beishuizen 2021-09-18 10:21:23 UTC
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
Comment 1 Marco Beishuizen 2021-09-18 11:20:18 UTC
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.
Comment 2 Marco Beishuizen 2021-09-20 19:12:22 UTC
Created attachment 228060 [details]
security/metasploit: update to 6.1.6
Comment 3 Marco Beishuizen 2021-09-20 19:18:47 UTC
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.
Comment 4 Neel Chauhan freebsd_committer freebsd_triage 2021-09-20 20:13:35 UTC
Committed!
Comment 5 commit-hook freebsd_committer freebsd_triage 2021-09-20 20:15:06 UTC
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(-)