Module: Msf::Payload::Multi

Included in:
ReverseHttp
Defined in:
lib/msf/core/payload/multi.rb

Defined Under Namespace

Modules: ReverseHttp, ReverseHttps

Instance Method Summary collapse

Instance Method Details

#apply_prepends(raw) ⇒ Object

TOOD: require the appropriate stuff! TODO: figure out what to do here


12
13
14
# File 'lib/msf/core/payload/multi.rb', line 12

def apply_prepends(raw)
  ''
end

#handle_intermediate_stage(conn, payload) ⇒ Object

TODO: figure out what to do here


35
36
37
# File 'lib/msf/core/payload/multi.rb', line 35

def handle_intermediate_stage(conn, payload)
  return true
end

#initialize(info = {}) ⇒ Object

TODO: figure out what to do here


17
18
19
20
21
22
23
24
25
26
27
# File 'lib/msf/core/payload/multi.rb', line 17

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

#replace_var(raw, name, offset, pack) ⇒ Object

TODO: figure out what to do here


30
31
32
# File 'lib/msf/core/payload/multi.rb', line 30

def replace_var(raw, name, offset, pack)
  return true
end