normalize osx to darwin so python meterp works
parent
422bba87d3
commit
9720e8e081
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue