Land #10621, Update Msf::Post::Solaris::System has_gcc? method
Updated the Msf::Post::Solaris::System has_gcc? method to also check the default path for gcc on Solaris: /usr/sfw/bin/gccGSoC/Meterpreter_Web_Console
commit
edbe4988d2
|
@ -93,7 +93,8 @@ module System
|
|||
# @return [Boolean]
|
||||
#
|
||||
def has_gcc?
|
||||
command_exists? 'gcc'
|
||||
# https://github.com/rapid7/metasploit-framework/pull/10437#issuecomment-419984613
|
||||
command_exists?('gcc') || command_exists?('/usr/sfw/bin/gcc')
|
||||
rescue
|
||||
raise 'Unable to check for gcc'
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue