class Metasploit::Credential::Private

Base `Class` for all private credentials. A private credential is any credential that should not be publicly disclosed, such as a {Metasploit::Credential::Password password}, password hash, or key file.

Uses Single Table Inheritance to store subclass name in {#type} per Rails convention.

Public Instance Methods

to_s() click to toggle source

A string suitable for displaying to the user

@return [String]

# File app/models/metasploit/credential/private.rb, line 95
def to_s
  data.to_s
end