metasploit-framework/lib/msf/core.rb

75 lines
1.5 KiB
Ruby
Raw Normal View History

# -*- coding: binary -*-
###
#
# framework-core
# --------------
#
# The core library provides all of the means by which to interact
# with the framework insofar as manipulating encoders, nops,
# payloads, exploits, auxiliary, and sessions.
#
###
# Sanity check this version of ruby
require 'msf/sanity'
# The framework-core depends on Rex
require 'rex'
require 'rex/ui'
2016-07-27 18:34:48 +00:00
require 'rex/arch'
include Rex::Arch
module Msf
2014-10-16 19:59:15 +00:00
autoload :Author, 'msf/core/author'
2014-10-16 20:11:59 +00:00
autoload :Platform, 'msf/core/platform'
2014-10-16 20:03:21 +00:00
autoload :Reference, 'msf/core/reference'
2014-10-16 20:09:55 +00:00
autoload :SiteReference, 'msf/core/site_reference'
2014-10-16 20:13:18 +00:00
autoload :Target, 'msf/core/target'
2014-10-16 19:59:15 +00:00
#
# Constants
#
2013-08-30 21:28:33 +00:00
LogSource = "core"
end
# General
require 'msf/core/constants'
require 'msf/core/exceptions'
require 'msf/core/data_store'
require 'msf/core/option_container'
# Event subscriber interfaces
require 'msf/events'
# Framework context and core classes
require 'msf/core/framework'
require 'msf/core/db_manager'
require 'msf/core/event_dispatcher'
require 'msf/core/module_manager'
require 'msf/core/module_set'
require 'msf/core/plugin_manager'
require 'msf/core/session'
require 'msf/core/session_manager'
2013-03-08 00:20:08 +00:00
# Wrappers
require 'msf/core/encoded_payload'
# Pseudo-modules
require 'msf/core/handler'
# Modules
require 'msf/core/module'
require 'msf/core/encoder'
require 'msf/core/auxiliary'
require 'msf/core/exploit'
require 'msf/core/nop'
require 'msf/core/payload'
require 'msf/core/post'
# Drivers
require 'msf/core/exploit_driver'