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

TODO: figure out what to do here


21
22
23
# File 'lib/msf/core/payload/multi.rb', line 21

def apply_prepends(raw)
  ''
end

#handle_intermediate_stage(conn, payload) ⇒ Object

TODO: figure out what to do here


44
45
46
# File 'lib/msf/core/payload/multi.rb', line 44

def handle_intermediate_stage(conn, payload)
  return true
end

#initialize(info = {}) ⇒ Object

TODO: figure out what to do here


26
27
28
29
30
31
32
33
34
35
36
# File 'lib/msf/core/payload/multi.rb', line 26

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


39
40
41
# File 'lib/msf/core/payload/multi.rb', line 39

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