Class: Metasploit::Credential::PasswordHash

Inherits:
Private
  • Object
show all
Defined in:
app/models/metasploit/credential/password_hash.rb

Overview

The cryptographic hash of a password.

Direct Known Subclasses

NonreplayableHash, ReplayableHash

Instance Attribute Summary collapse

Attributes inherited from Private

#cores, #created_at, #id, #type, #updated_at

Method Summary

Methods inherited from Private

#to_s

Instance Attribute Details

#dataString

Note:

Unlike Metasploit::Credential::Private#data, #data cannot be blank because blank hashes have no meaning.

The cryptographic hash of Metasploit::Credential::Password#data.

Returns:

  • (String)


# File 'app/models/metasploit/credential/password_hash.rb', line 7