Sha256: 860dd74cd81bb3e661b5f80c86cc0383fa77f1d5ea8ea0154bd3e09408e4b5ca

Contents?: true

Size: 1.18 KB

Versions: 15

Compression:

Stored size: 1.18 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
#

# Only include the Rails engine when using Rails.  This is for compatibility with metasploit-framework.
if defined? Rails
  require 'metasploit/credential/engine'
end

# 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 :Creation
    autoload :EntityRelationshipDiagram
    autoload :Importer
    autoload :Exporter
    autoload :Origin
    autoload :Text

    # 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

15 entries across 15 versions & 1 rubygems

Version Path
metasploit-credential-0.7.15-java lib/metasploit/credential.rb
metasploit-credential-0.7.15 lib/metasploit/credential.rb
metasploit-credential-0.7.14 lib/metasploit/credential.rb
metasploit-credential-0.7.13-java lib/metasploit/credential.rb
metasploit-credential-0.7.13 lib/metasploit/credential.rb
metasploit-credential-0.7.12-java lib/metasploit/credential.rb
metasploit-credential-0.7.12 lib/metasploit/credential.rb
metasploit-credential-0.7.11-java lib/metasploit/credential.rb
metasploit-credential-0.7.11 lib/metasploit/credential.rb
metasploit-credential-0.7.10-java lib/metasploit/credential.rb
metasploit-credential-0.7.10 lib/metasploit/credential.rb
metasploit-credential-0.7.10.pre.core.pre.search lib/metasploit/credential.rb
metasploit-credential-0.7.9.pre.core.pre.search lib/metasploit/credential.rb
metasploit-credential-0.7.8 lib/metasploit/credential.rb
metasploit-credential-0.7.8-java lib/metasploit/credential.rb