34 lines
950 B
Ruby
34 lines
950 B
Ruby
###
|
|
#
|
|
# 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
|
|
# module distribution of Metasploit and are depended on by their
|
|
# 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
|
|
require 'msf/core'
|
|
|
|
# Simple wrapper
|
|
require 'msf/base/simple/buffer'
|
|
require 'msf/base/simple/nop'
|
|
require 'msf/base/simple/payload'
|
|
|
|
# Sessions
|
|
require 'msf/base/session/command_shell'
|
|
require 'msf/base/session/meterpreter'
|
|
require 'msf/base/session/dispatch_ninja'
|
|
require 'msf/base/session/vnc'
|
|
|
|
# Serialization
|
|
require 'msf/base/serializer/readable_text'
|