Module: Metasploit::Framework::LoginScanner::SMB::StatusCodes

Defined in:
lib/metasploit/framework/login_scanner/smb.rb

Constant Summary collapse

CORRECT_CREDENTIAL_STATUS_CODES =
[
  WindowsError::NTStatus::STATUS_ACCOUNT_DISABLED,
  WindowsError::NTStatus::STATUS_ACCOUNT_EXPIRED,
  WindowsError::NTStatus::STATUS_ACCOUNT_RESTRICTION,
  WindowsError::NTStatus::STATUS_INVALID_LOGON_HOURS,
  WindowsError::NTStatus::STATUS_INVALID_WORKSTATION,
  WindowsError::NTStatus::STATUS_LOGON_TYPE_NOT_GRANTED,
  WindowsError::NTStatus::STATUS_PASSWORD_EXPIRED,
  WindowsError::NTStatus::STATUS_PASSWORD_MUST_CHANGE,
].freeze