diff --git a/lib/rex/proto/drda/utils.rb b/lib/rex/proto/drda/utils.rb index 728850b59794..5959a69165a9 100644 --- a/lib/rex/proto/drda/utils.rb +++ b/lib/rex/proto/drda/utils.rb @@ -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