Skip to content

Commit beec0ba

Browse files
author
Brent Cook
committed
Land rapid7#5161, fix ms12_020_check not storing vulns in the db
2 parents 3d851d8 + 20d4d1c commit beec0ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/auxiliary/scanner/rdp/ms12_020_check.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,8 @@ def check_rdp_vuln
160160
# send ChannelRequestTwo - prevent BSoD
161161
sock.put(channel_request << [user2, chan2].pack("nn"))
162162

163-
return Exploit::CheckCode::Vulnerable
164163
report_goods
164+
return Exploit::CheckCode::Vulnerable
165165
else
166166
return Exploit::CheckCode::Safe
167167
end

0 commit comments

Comments
 (0)