2005-05-21 17:57:00 +00:00
|
|
|
###
|
|
|
|
#
|
|
|
|
# framework-core
|
|
|
|
# --------------
|
|
|
|
#
|
|
|
|
# The core library provides all of the means by which to interact
|
|
|
|
# with the framework insofar as maniuplating encoders, nops,
|
2006-01-24 03:59:44 +00:00
|
|
|
# payloads, exploits, auxiliary, and sessions.
|
2005-05-21 17:57:00 +00:00
|
|
|
#
|
|
|
|
###
|
|
|
|
|
2005-12-08 18:26:38 +00:00
|
|
|
# Sanity check this version of ruby
|
|
|
|
require 'msf/sanity'
|
|
|
|
|
|
|
|
# The framework-core depends on Rex
|
2005-07-09 21:18:49 +00:00
|
|
|
require 'rex'
|
2005-11-01 02:42:48 +00:00
|
|
|
require 'rex/ui'
|
2005-05-21 17:57:00 +00:00
|
|
|
|
2005-10-30 23:40:27 +00:00
|
|
|
module Msf
|
|
|
|
LogSource = "core"
|
|
|
|
end
|
|
|
|
|
2005-05-21 17:57:00 +00:00
|
|
|
# General
|
2005-07-09 21:18:49 +00:00
|
|
|
require 'msf/core/constants'
|
|
|
|
require 'msf/core/exceptions'
|
|
|
|
require 'msf/core/event_dispatcher'
|
|
|
|
require 'msf/core/data_store'
|
|
|
|
require 'msf/core/option_container'
|
2005-05-21 17:57:00 +00:00
|
|
|
|
|
|
|
# Framework context and core classes
|
2005-07-13 18:06:12 +00:00
|
|
|
require 'msf/core/framework'
|
2005-07-09 21:18:49 +00:00
|
|
|
require 'msf/core/session_manager'
|
|
|
|
require 'msf/core/session'
|
2005-11-19 16:25:26 +00:00
|
|
|
require 'msf/core/plugin_manager'
|
2005-05-21 17:57:00 +00:00
|
|
|
|
2005-07-13 21:09:07 +00:00
|
|
|
# Wrappers
|
|
|
|
require 'msf/core/encoded_payload'
|
|
|
|
|
2005-07-11 02:03:48 +00:00
|
|
|
# Pseudo-modules
|
|
|
|
require 'msf/core/handler'
|
|
|
|
|
2005-05-21 17:57:00 +00:00
|
|
|
# Modules
|
2005-07-09 21:18:49 +00:00
|
|
|
require 'msf/core/module'
|
|
|
|
require 'msf/core/encoder'
|
|
|
|
require 'msf/core/exploit'
|
|
|
|
require 'msf/core/nop'
|
|
|
|
require 'msf/core/payload'
|
2006-01-24 03:59:44 +00:00
|
|
|
require 'msf/core/auxiliary'
|
2005-07-15 22:30:04 +00:00
|
|
|
|
|
|
|
# Drivers
|
|
|
|
require 'msf/core/exploit_driver'
|