module Metasploit::Credential::Importer::Base
Defines common attributes and helpers for all importers.
Constants
- LONG_FORM_ALLOWED_PRIVATE_TYPE_NAMES
Whitelist of the {Metasploit::Credential::Private} subclass names allowed in long-form CSV imports.
- SHORT_FORM_ALLOWED_PRIVATE_TYPE_NAMES
Whitelist of the {Metasploit::Credential::Private} subclass names allowed in short-form CSV imports.
Public Class Methods
new(attributes={})
click to toggle source
@param attributes [Hash{Symbol => String,nil}]
# File lib/metasploit/credential/importer/base.rb, line 65 def initialize(attributes={}) attributes.each do |attribute, value| public_send("#{attribute}=", value) end end