Sha256: b9d661361c2134b823a793dc648b435690cd58ff917c40f27db35b71c3df94e9

Contents?: true

Size: 1.51 KB

Versions: 31

Compression:

Stored size: 1.51 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 :Login
    autoload :Migrator
    autoload :NonreplayableHash
    autoload :NTLMHash
    autoload :Origin
    autoload :Password
    autoload :PasswordHash
    autoload :PostgresMD5
    autoload :Private
    autoload :Public
    autoload :Realm
    autoload :ReplayableHash
    autoload :Search
    autoload :SSHKey
    autoload :Text
    autoload :Username

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

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
metasploit-credential-3.0.4 lib/metasploit/credential.rb
metasploit-credential-3.0.3 lib/metasploit/credential.rb
metasploit-credential-3.0.2 lib/metasploit/credential.rb
metasploit-credential-3.0.1 lib/metasploit/credential.rb
metasploit-credential-3.0.0 lib/metasploit/credential.rb
metasploit-credential-2.0.14 lib/metasploit/credential.rb
metasploit-credential-2.0.13 lib/metasploit/credential.rb
metasploit-credential-2.0.12 lib/metasploit/credential.rb
metasploit-credential-2.0.11 lib/metasploit/credential.rb
metasploit-credential-2.0.10 lib/metasploit/credential.rb
metasploit-credential-2.0.9 lib/metasploit/credential.rb
metasploit-credential-2.0.8 lib/metasploit/credential.rb
metasploit-credential-2.0.7 lib/metasploit/credential.rb
metasploit-credential-2.0.6 lib/metasploit/credential.rb
metasploit-credential-2.0.5 lib/metasploit/credential.rb
metasploit-credential-2.0.4 lib/metasploit/credential.rb
metasploit-credential-2.0.3 lib/metasploit/credential.rb
metasploit-credential-2.0.2 lib/metasploit/credential.rb
metasploit-credential-2.0.1 lib/metasploit/credential.rb
metasploit-credential-2.0.0 lib/metasploit/credential.rb