Skip to content

Commit 20d4d1c

Browse files
committed
Move report_goods before the return
1 parent 3d851d8 commit 20d4d1c

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)