Module: Metasploit::Credential::Exporter::Base

Extended by:
ActiveSupport::Concern
Included in:
Core, Pwdump
Defined in:
lib/metasploit/credential/exporter/base.rb

Overview

Defines attributes common to allow exporters.

Instance Method Summary collapse

Instance Method Details

#initialize(attributes = {}) ⇒ Object

Parameters:

  • attributes (Hash{Symbol => String,nil}) (defaults to: {})


29
30
31
32
33
# File 'lib/metasploit/credential/exporter/base.rb', line 29

def initialize(attributes={})
  attributes.each do |attribute, value|
    public_send("#{attribute}=", value)
  end
end