Skip to content

Commit 532ea5d

Browse files
committed
Make sure there's a ref and checkcode
1 parent d923a5d commit 532ea5d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

modules/exploits/windows/local/ms16_016_webdav.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,7 @@ def initialize(info={})
5050
'References' =>
5151
[
5252
[ 'CVE', '2016-0051' ],
53-
[ 'MSB', 'MS16-016' ],
54-
[ 'URL', 'http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-0051' ]
53+
[ 'MSB', 'MS16-016' ]
5554
],
5655
'DisclosureDate' => 'Feb 09 2016',
5756
'DefaultTarget' => 0
@@ -62,6 +61,8 @@ def check
6261
if sysinfo["Architecture"] =~ /wow64/i or sysinfo["Architecture"] =~ /x64/
6362
return Exploit::CheckCode::Safe
6463
end
64+
65+
Exploit::CheckCode::Detected
6566
end
6667

6768
def exploit

0 commit comments

Comments
 (0)