Introduce and use OS matching constants

This commit is contained in:
HD Moore
2014-05-28 14:35:22 -05:00
parent eda8a90cea
commit 583dab62b2
63 changed files with 97 additions and 68 deletions
@@ -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
}
))