Sha256: 94a3bcd235dd3200ec2978702699e2da59c9011315992376024bd1c3ac4aa266

Contents?: true

Size: 1.13 KB

Versions: 28

Compression:

Stored size: 1.13 KB

Contents

#
# Core
#
require 'shellwords'
# So that Mdm::WebPage#cookie can support serializing a WEBrick::Cookie
require 'webrick'

#
# Gems
#
# gems must load explicitly any gem declared in gemspec
# @see https://github.com/bundler/bundler/issues/2018#issuecomment-6819359
#
#
require 'active_record'
require 'active_support'
require 'active_support/all'
require 'metasploit/concern'
require 'metasploit/model'
require 'arel-helpers'
require 'postgres_ext'

#
# Project
#

require 'metasploit_data_models/version'

autoload :Mdm, 'mdm'

# Core database models for metasploit-framework.
module MetasploitDataModels
  extend ActiveSupport::Autoload

  autoload :AutomaticExploitation
  autoload :Base64Serializer
  autoload :ChangeRequiredColumnsToNullFalse
  autoload :IPAddress
  autoload :Match
  autoload :ModuleRun
  autoload :Search
  autoload :SerializedPrefs

  # The root directory of `metasploit_data_models` gem in both development and gem installs.
  #
  # @return [Pathname]
  def self.root
    unless instance_variable_defined? :@root
      lib_pathname = Pathname.new(__FILE__).dirname

      @root = lib_pathname.parent
    end

    @root
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
metasploit_data_models-3.0.10 lib/metasploit_data_models.rb
metasploit_data_models-3.0.9 lib/metasploit_data_models.rb
metasploit_data_models-3.0.8 lib/metasploit_data_models.rb
metasploit_data_models-3.0.7 lib/metasploit_data_models.rb
metasploit_data_models-3.0.6 lib/metasploit_data_models.rb
metasploit_data_models-3.0.5 lib/metasploit_data_models.rb
metasploit_data_models-2.0.17 lib/metasploit_data_models.rb
metasploit_data_models-3.0.4 lib/metasploit_data_models.rb
metasploit_data_models-3.0.2 lib/metasploit_data_models.rb
metasploit_data_models-3.0.1 lib/metasploit_data_models.rb
metasploit_data_models-3.0.0 lib/metasploit_data_models.rb
metasploit_data_models-2.0.16 lib/metasploit_data_models.rb
metasploit_data_models-2.0.15 lib/metasploit_data_models.rb
metasploit_data_models-2.0.14 lib/metasploit_data_models.rb
metasploit_data_models-2.0.13 lib/metasploit_data_models.rb
metasploit_data_models-2.0.12 lib/metasploit_data_models.rb
metasploit_data_models-2.0.11 lib/metasploit_data_models.rb
metasploit_data_models-2.0.10 lib/metasploit_data_models.rb
metasploit_data_models-2.0.9 lib/metasploit_data_models.rb
metasploit_data_models-2.0.8 lib/metasploit_data_models.rb