2012-06-29 05:18:28 +00:00
|
|
|
# -*- coding: binary -*-
|
2005-05-21 17:57:00 +00:00
|
|
|
###
|
|
|
|
#
|
|
|
|
# framework-core
|
|
|
|
# --------------
|
|
|
|
#
|
|
|
|
# The core library provides all of the means by which to interact
|
2009-01-11 03:17:21 +00:00
|
|
|
# with the framework insofar as manipulating 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'
|
2011-05-12 20:03:55 +00:00
|
|
|
require 'rex/ui'
|
2005-05-21 17:57:00 +00:00
|
|
|
|
2005-10-30 23:40:27 +00:00
|
|
|
module Msf
|
2013-08-30 21:28:33 +00:00
|
|
|
LogSource = "core"
|
2005-10-30 23:40:27 +00:00
|
|
|
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/data_store'
|
|
|
|
require 'msf/core/option_container'
|
2005-05-21 17:57:00 +00:00
|
|
|
|
2011-05-12 20:03:55 +00:00
|
|
|
# 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'
|
2012-10-01 18:09:30 +00:00
|
|
|
require 'msf/core/module_set'
|
2011-05-12 20:03:55 +00:00
|
|
|
require 'msf/core/plugin_manager'
|
|
|
|
require 'msf/core/session'
|
|
|
|
require 'msf/core/session_manager'
|
|
|
|
|
2011-11-20 01:32:06 +00:00
|
|
|
|
2013-03-08 00:20:08 +00:00
|
|
|
|
2011-05-12 20:03:55 +00:00
|
|
|
# Wrappers
|
|
|
|
require 'msf/core/encoded_payload'
|
|
|
|
|
|
|
|
# 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'
|
2011-05-12 20:03:55 +00:00
|
|
|
require 'msf/core/encoder'
|
|
|
|
require 'msf/core/auxiliary'
|
|
|
|
require 'msf/core/exploit'
|
|
|
|
require 'msf/core/nop'
|
|
|
|
require 'msf/core/payload'
|
|
|
|
require 'msf/core/post'
|
|
|
|
|
2013-08-22 15:33:35 +00:00
|
|
|
# Custom HTTP Modules
|
|
|
|
require 'msf/http/wordpress'
|
2011-05-12 20:03:55 +00:00
|
|
|
|
|
|
|
# Drivers
|
|
|
|
require 'msf/core/exploit_driver'
|
|
|
|
|