Skip to content

Commit 771fc07

Browse files
committed
Change :vuln_test to :os_name for checking OS.
1 parent efcdb10 commit 771fc07

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

modules/exploits/multi/browser/itms_overflow.rb

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,7 @@ class Metasploit3 < Msf::Exploit::Remote
2121
:ua_minver => "4.0.5",
2222
:javascript => false,
2323
:rank => NormalRanking,
24-
:vuln_test => # only attempt on OSX (no windows exploit atm)
25-
%q{
26-
is_vuln = (navigator.userAgent.indexOf("Mac OS X") > -1);
27-
}
24+
:os_name => OperatingSystems::MAC_OSX
2825
})
2926

3027
def initialize(info = {})

0 commit comments

Comments
 (0)