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