Sha256: 973e0c827de9547eea53588a52057162bbedbc875378bcd3c96af6ba736e073a
Contents?: true
Size: 446 Bytes
Versions: 80
Compression:
Stored size: 446 Bytes
Contents
# A blank password class Metasploit::Credential::BlankPassword < Metasploit::Credential::Password # # Callbacks # before_save :blank_data # # Validations # validates :data, uniqueness: true # # Instance Methods # # Always makes sure the {Metasploit::Credential::Password#data} is set to an empty string. # # @return [void] def blank_data self.data = '' end Metasploit::Concern.run(self) end
Version data entries
80 entries across 80 versions & 1 rubygems