2005-07-09 21:18:49 +00:00
|
|
|
require 'msf/core'
|
2005-07-09 00:24:02 +00:00
|
|
|
|
|
|
|
###
|
|
|
|
#
|
|
|
|
# Base mixin interface for use by single payloads. Single
|
|
|
|
# payloads are differentiated from stagers and stages by the
|
|
|
|
# fact that they run as part of the first stage and have
|
|
|
|
# no subsequent stages.
|
|
|
|
#
|
|
|
|
###
|
|
|
|
module Msf::Payload::Single
|
|
|
|
|
2005-11-15 15:11:43 +00:00
|
|
|
#
|
|
|
|
# Sets the payload type to that of a single payload.
|
|
|
|
#
|
2005-07-09 00:24:02 +00:00
|
|
|
def payload_type
|
|
|
|
return Msf::Payload::Type::Single
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|