diff --git a/modules/post/multi/manage/shell_to_meterpreter.rb b/modules/post/multi/manage/shell_to_meterpreter.rb index b47e779fba..2c0fb99649 100644 --- a/modules/post/multi/manage/shell_to_meterpreter.rb +++ b/modules/post/multi/manage/shell_to_meterpreter.rb @@ -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'