quick fix for issues #6359
parent
f9d74143c3
commit
be9197fc97
|
@ -93,7 +93,7 @@ class Metasploit3 < Msf::Post
|
|||
vprint_status("Platform: Solaris")
|
||||
else
|
||||
# Find the best fit, be specific with uname to avoid matching hostname or something else
|
||||
target_info = cmd_exec('uname -mo')
|
||||
target_info = cmd_exec('uname -ms')
|
||||
if target_info =~ /linux/i && target_info =~ /86/
|
||||
# Handle linux shells that were identified as 'unix'
|
||||
platform = 'linux'
|
||||
|
|
Loading…
Reference in New Issue