Skip to content

Commit 67dc467

Browse files
committed
Limit the module to IE 8 and IE9
1 parent f88d965 commit 67dc467

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/auxiliary/gather/ie_files_disclosure.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,11 +191,11 @@ def parse_target_files
191191

192192
def is_target_suitable?(user_agent)
193193
info = fingerprint_user_agent(user_agent)
194-
if info[:ua_name] == HttpClients::IE
194+
if info[:ua_name] == HttpClients::IE && (info[:ua_ver] == '8.0' || info[:ua_ver] == '9.0')
195195
return true
196196
end
197197

198-
true
198+
false
199199
end
200200

201201
def on_request_uri(cli, req)

0 commit comments

Comments
 (0)