Class: Metasploit::Credential::BlankPassword

Inherits:
Password
  • Object
show all
Defined in:
app/models/metasploit/credential/blank_password.rb

Overview

A blank password

Instance Attribute Summary

Attributes inherited from Password

#data

Attributes inherited from Private

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

Instance Method Summary collapse

Methods inherited from Private

#to_s

Instance Method Details

#blank_datavoid

This method returns an undefined value.

Always makes sure the Password#data is set to an empty string.



23
24
25
# File 'app/models/metasploit/credential/blank_password.rb', line 23

def blank_data
  self.data = ''
end