normalize osx to darwin so python meterp works

bug/bundler_fix
Brent Cook 2015-08-15 19:49:55 -05:00
parent 422bba87d3
commit 9720e8e081
1 changed files with 1 additions and 1 deletions

View File

@ -114,9 +114,9 @@ class Metasploit3 < Msf::Post
else else
# For Meterpreter use the sysinfo OS since java Meterpreter returns java as platform # For Meterpreter use the sysinfo OS since java Meterpreter returns java as platform
platform = session.sys.config.sysinfo['OS'] platform = session.sys.config.sysinfo['OS']
platform = 'osx' if platform =~ /darwin/i
end end
case platform case platform
when /win/i when /win/i