Files
metasploit-gs/lib/msf/core/payload/multi.rb
T
2024-01-06 15:54:49 -05:00

42 lines
895 B
Ruby

# -*- coding: binary -*-
###
#
#
#
###
module Msf::Payload::Multi
# TODO: require the appropriate stuff!
# TODO: figure out what to do here
def apply_prepends(raw)
''
end
# TODO: figure out what to do here
def initialize(info={})
super(update_info(info,
'Name' => 'Multi-Platform Meterpreter Payload',
'Description' => 'Detect and generate the appropriate payload based on platform/arch',
'Author' => ['OJ Reeves'],
'Platform' => ['multi'],
'Arch' => ARCH_ALL,
'Stage' => {'Payload' => ''},
'PayloadCompat' => {'Convention' => 'sockedi sockrdi http https'},
))
end
# TODO: figure out what to do here
def replace_var(raw, name, offset, pack)
return true
end
# TODO: figure out what to do here
def handle_intermediate_stage(conn, payload)
return true
end
end