Class: Metasploit::Credential::BlankUsername

Inherits:
Public
  • Object
show all
Defined in:
app/models/metasploit/credential/blank_username.rb

Overview

A public credential in the form of a Username.

Instance Attribute Summary

Attributes inherited from Public

#cores, #created_at, #updated_at, #username

Instance Method Summary collapse

Methods inherited from Public

#to_s

Instance Method Details

#blank_usernamevoid

This method returns an undefined value.

This method always makes sure the BlankUsername is set to an empty string.



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

def blank_username
  self.username = ''
end