Skip to content

Commit 7b1148c

Browse files
author
Brent Cook
committed
disambiguate NetBSD/OpenBSD
1 parent 71a6744 commit 7b1148c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lib/msf/base/sessions/meterpreter.rb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -336,8 +336,10 @@ def update_session_info
336336
Msf::Module::Platform::OSX
337337
when /freebsd/i
338338
Msf::Module::Platform::FreeBSD
339-
when /openbsd/i, /netbsd/i
340-
Msf::Module::Platform::BSD
339+
when /netbsd/i
340+
Msf::Module::Platform::NetBSD
341+
when /openbsd/i
342+
Msf::Module::Platform::OpenBSD
341343
when /sunos/i
342344
Msf::Module::Platform::Solaris
343345
else

0 commit comments

Comments
 (0)