Skip to content

Commit cefbdbb

Browse files
committed
Avoid unreliable targets
If we can't garantee GreatRanking on specific targets, avoid them.
1 parent a12c84d commit cefbdbb

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

modules/exploits/multi/browser/adobe_flash_hacking_team_uaf.rb

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ def initialize(info={})
2121
2222
Windows 7 SP1 (32-bit), IE11 and Adobe Flash 18.0.0.194,
2323
Windows 7 SP1 (32-bit), Firefox 38.0.5 and Adobe Flash 18.0.0.194,
24-
Windows 8.1 (32-bit), Firefox and Adobe Flash 18.0.0.194,
25-
Windows 8.1 (32-bit), IE11 and Flash 17.0.0.169, and
24+
Windows 8.1 (32-bit), Firefox and Adobe Flash 18.0.0.194, and
2625
Linux Mint "Rebecca" (32 bits), Firefox 33.0 and Adobe Flash 11.2.202.468.
2726
},
2827
'License' => MSF_LICENSE,
@@ -66,6 +65,15 @@ def initialize(info={})
6665

6766
false
6867
end,
68+
:ua_ver => lambda do |ver|
69+
# Not reliable enough yet, don't fire
70+
case target.name
71+
when 'Windows'
72+
return false if ver == '11.0'
73+
end
74+
75+
true
76+
end,
6977
:flash => lambda do |ver|
7078
case target.name
7179
when 'Windows'

0 commit comments

Comments
 (0)