normalize osx to darwin so python meterp works
parent
422bba87d3
commit
9720e8e081
|
@ -114,9 +114,9 @@ class Metasploit3 < Msf::Post
|
|||
else
|
||||
# For Meterpreter use the sysinfo OS since java Meterpreter returns java as platform
|
||||
platform = session.sys.config.sysinfo['OS']
|
||||
platform = 'osx' if platform =~ /darwin/i
|
||||
end
|
||||
|
||||
|
||||
case platform
|
||||
when /win/i
|
||||
|
||||
|
|
Loading…
Reference in New Issue