module Metasploit::Credential::Exporter::Base

Defines attributes common to allow exporters.

Attributes

data[RW]

@!attribute data

A {Hash} that holds the credentials data to be exported.
@return [Hash]
output[RW]

@!attribute output

An {IO} that holds the exported data. {File} in normal usage.
@return [IO]
workspace[RW]

@!attribute workspace

The {Mdm::Workspace} that the credentials will be exported from
@return[Mdm::Workspace]

Public Class Methods

new(attributes={}) click to toggle source

@param attributes [Hash{Symbol => String,nil}]

# File lib/metasploit/credential/exporter/base.rb, line 29
def initialize(attributes={})
  attributes.each do |attribute, value|
    public_send("#{attribute}=", value)
  end
end