Change BSD regex as per Brent's suggestion

bug/bundler_fix
OJ 2016-11-01 01:26:45 +10:00
parent e4edbb16fe
commit eeff24d2ef
No known key found for this signature in database
GPG Key ID: D5DC61FB93260597
1 changed files with 1 additions and 1 deletions

View File

@ -355,7 +355,7 @@ class Meterpreter < Rex::Post::Meterpreter::Client
Msf::Module::Platform::OSX.realname.downcase Msf::Module::Platform::OSX.realname.downcase
when /freebsd/i when /freebsd/i
Msf::Module::Platform::FreeBSD.realname.downcase Msf::Module::Platform::FreeBSD.realname.downcase
when /GENERIC\.MP/i, /netbsd/i when /openbsd/i, /netbsd/i
Msf::Module::Platform::BSD.realname.downcase Msf::Module::Platform::BSD.realname.downcase
else else
Msf::Module::Platform::Linux.realname.downcase Msf::Module::Platform::Linux.realname.downcase