Skip to content

Commit 8f09e0c

Browse files
committed
Fix metadata by copying the mysql_mof data
1 parent da6496f commit 8f09e0c

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

modules/exploits/windows/mysql/mysql_start_up.rb

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,20 @@ def initialize(info = {})
3030
'DisablePayloadHandler' => 'true'
3131
},
3232
'License' => MSF_LICENSE,
33-
'References' => [ ],
33+
'References' =>
34+
[
35+
['CVE', '2012-5613'], #DISPUTED
36+
['OSVDB', '88118'],
37+
['EDB', '23083'],
38+
['URL', 'http://seclists.org/fulldisclosure/2012/Dec/13']
39+
],
3440
'Platform' => 'win',
3541
'Targets' =>
3642
[
3743
[ 'MySQL on Windows', { } ]
3844
],
3945
'DefaultTarget' => 0,
46+
'DisclosureDate' => 'Dec 01 2012'
4047
))
4148

4249
register_options(
@@ -48,10 +55,11 @@ def initialize(info = {})
4855

4956
def check
5057
m = mysql_login(datastore['USERNAME'], datastore['PASSWORD'])
51-
return Exploit::CheckCode::Safe if not m
58+
return Exploit::CheckCode::Safe unless m
5259

5360
return Exploit::CheckCode::Appears if is_windows?
54-
return Exploit::CheckCode::Safe
61+
62+
Exploit::CheckCode::Safe
5563
end
5664

5765
def peer

0 commit comments

Comments
 (0)