2012-06-29 05:18:28 +00:00
|
|
|
# -*- coding: binary -*-
|
2005-05-27 05:34:15 +00:00
|
|
|
#
|
|
|
|
# framework-base
|
|
|
|
# --------------
|
|
|
|
#
|
|
|
|
# The base library provides implementations for some of the default
|
|
|
|
# sessions, such as Shell, Meterpreter, DispatchNinja, and VNC. These
|
|
|
|
# sessions are used by modules that come pre-packaged with the default
|
2011-11-20 01:32:06 +00:00
|
|
|
# module distribution of Metasploit and are depended on by their
|
2005-05-27 05:34:15 +00:00
|
|
|
# respective payloads.
|
|
|
|
#
|
|
|
|
# Beyond providing the default sessions, framework-base also provides
|
|
|
|
# a wrapper interface to framework-core that makes some of the tasks,
|
|
|
|
# such as exploitation, into easier to manage functions.
|
|
|
|
|
|
|
|
# framework-base depends on framework-core
|
2005-07-09 21:18:49 +00:00
|
|
|
require 'msf/core'
|
2005-05-27 05:34:15 +00:00
|
|
|
|
2005-07-15 22:30:04 +00:00
|
|
|
# Configuration
|
|
|
|
require 'msf/base/config'
|
2005-10-01 07:02:33 +00:00
|
|
|
require 'msf/base/logging'
|
2005-07-15 22:30:04 +00:00
|
|
|
|
2011-05-12 20:03:55 +00:00
|
|
|
# Simple wrapper
|
|
|
|
require 'msf/base/simple'
|
2005-07-10 09:42:49 +00:00
|
|
|
|
2011-05-12 20:03:55 +00:00
|
|
|
# Sessions
|
|
|
|
require 'msf/base/sessions/command_shell'
|
|
|
|
require 'msf/base/sessions/tty'
|
2005-07-09 19:35:29 +00:00
|
|
|
|
2011-05-12 20:03:55 +00:00
|
|
|
# Serialization
|
|
|
|
require 'msf/base/serializer/readable_text'
|
2015-12-29 19:57:35 +00:00
|
|
|
require 'msf/base/serializer/json'
|
2005-11-09 03:28:21 +00:00
|
|
|
|
2011-05-12 20:03:55 +00:00
|
|
|
# Persistent Storage
|
|
|
|
require 'msf/base/persistent_storage'
|
2009-06-20 17:42:17 +00:00
|
|
|
|
2011-05-12 20:03:55 +00:00
|
|
|
# Utilities
|
|
|
|
require 'msf/util'
|
2010-01-15 01:24:45 +00:00
|
|
|
|