Skip to content

Commit

Permalink
Fix incorrect severity_code check in drda proto implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
adfoster-r7 committed Jan 8, 2024
1 parent 6a85185 commit b4a043f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rex/proto/drda/utils.rb
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def self._info_secchkrm(ddm)
next
end
end
if info_hash[:severity].to_i.zero? and info_hash[:security_check_code].to_i.zero?
if info_hash[:severity_code].to_i.zero? and info_hash[:security_check_code].to_i.zero?
info_hash[:db_login_success] = true
end
return info_hash
Expand Down

0 comments on commit b4a043f

Please sign in to comment.