class Metasploit::Credential::PostgresMD5

A {Metasploit::Credential::PasswordHash password hash} that can be {Metasploit::Credential::ReplayableHash replayed} to authenticate to PostgreSQL servers. It is composed of a hexadecimal string of 32 charachters prepended by the string ‘md5’

Constants

DATA_REGEXP

Valid format for {Metasploit::Credential::Private#data}

Private Instance Methods

data_format() click to toggle source
# File app/models/metasploit/credential/postgres_md5.rb, line 31
def data_format
  unless DATA_REGEXP.match(data)
    errors.add(:data, 'is not in Postgres MD5 Hash format')
  end
end