Sha256: 7484097ae92fe56f294632775b59033c961958f41614666ce4d556dbba79ca0b

Contents?: true

Size: 1.55 KB

Versions: 1

Compression:

Stored size: 1.55 KB

Contents

#
# Gems
#
# gems must load explicitly any gem declared in gemspec
# @see https://github.com/bundler/bundler/issues/2018#issuecomment-6819359
#
#

require 'metasploit/concern'
require 'metasploit_data_models'
require 'metasploit/model'
require 'zip'

#
# Project
#

autoload :NonNilValidator, 'non_nil_validator'

# Shared namespace for metasploit gems; used in {https://github.com/rapid7/metasploit-credential metasploit-credential},
# {https://github.com/rapid7/metasploit-framework metasploit-framework}, and
# {https://github.com/rapid7/metasploit-model metasploit-model}
module Metasploit
  # The namespace for this gem.
  module Credential
    extend ActiveSupport::Autoload

    autoload :BlankPassword
    autoload :BlankUsername
    autoload :Core
    autoload :CoreValidations
    autoload :Creation
    autoload :Engine
    autoload :EntityRelationshipDiagram
    autoload :Exporter
    autoload :Importer
    autoload :KrbEncKey
    autoload :Login
    autoload :Migrator
    autoload :NonreplayableHash
    autoload :NTLMHash
    autoload :Origin
    autoload :Password
    autoload :PasswordHash
    autoload :Pkcs12
    autoload :PostgresMD5
    autoload :Private
    autoload :Public
    autoload :Realm
    autoload :ReplayableHash
    autoload :Search
    autoload :SSHKey
    autoload :Text
    autoload :Username

    # The prefix for all `ApplicationRecord#table_name`s for `ApplicationRecord` subclasses under this namespace.
    #
    # @return [String] `'metasploit_credential_'`
    def self.table_name_prefix
      'metasploit_credential_'
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
metasploit-credential-6.0.4 lib/metasploit/credential.rb