module Metasploit::Credential::Exporter::Base
Defines attributes common to allow exporters.
Attributes
@!attribute data
A {Hash} that holds the credentials data to be exported. @return [Hash]
@!attribute output
An {IO} that holds the exported data. {File} in normal usage. @return [IO]
@!attribute workspace
The {Mdm::Workspace} that the credentials will be exported from @return[Mdm::Workspace]
Public Class Methods
Source
# File lib/metasploit/credential/exporter/base.rb, line 29 def initialize(attributes={}) attributes.each do |attribute, value| public_send("#{attribute}=", value) end end
@param attributes [Hash{Symbol => String,nil}]