Introduce and use OS matching constants
This commit is contained in:
@@ -11,7 +11,7 @@ class Metasploit3 < Msf::Exploit::Remote
|
||||
include Msf::Exploit::Remote::BrowserAutopwn
|
||||
|
||||
autopwn_info({
|
||||
:os_name => "Android",
|
||||
:os_name => OperatingSystems::Match::ANDROID,
|
||||
:arch => ARCH_ARMLE,
|
||||
:javascript => true,
|
||||
:rank => ExcellentRanking,
|
||||
@@ -66,7 +66,7 @@ class Metasploit3 < Msf::Exploit::Remote
|
||||
'DefaultTarget' => 0,
|
||||
'BrowserRequirements' => {
|
||||
:source => 'script',
|
||||
:os_name => 'Android',
|
||||
:os_name => OperatingSystems::Match::ANDROID,
|
||||
:arch => ARCH_ARMLE
|
||||
}
|
||||
))
|
||||
|
||||
Reference in New Issue
Block a user