Module: Msf::Payload::Windows::MigrateHttp

Includes:
MigrateCommon
Defined in:
lib/msf/core/payload/windows/migrate_http.rb

Overview

Payload that supports migration over HTTP/S transports on x86.

Instance Method Summary collapse

Methods included from MigrateCommon

#generate

Methods included from BlockApi

#asm_block_api

Methods included from Msf::Payload::Windows

#apply_prepends, exit_types, #handle_intermediate_stage, #include_send_uuid, #replace_var

Methods included from PrependMigrate

#apply_prepend_migrate, #prepend_migrate, #prepend_migrate?, #prepend_migrate_64

Instance Method Details

#generate_migrate(opts = {}) ⇒ Object

Constructs the migrate stub on the fly



29
30
31
32
33
# File 'lib/msf/core/payload/windows/migrate_http.rb', line 29

def generate_migrate(opts={})
  # This payload only requires the common features, so return
  # an empty string indicating no code requires.
  ''
end

#initialize(info = {}) ⇒ Object



15
16
17
18
19
20
21
22
23
24
# File 'lib/msf/core/payload/windows/migrate_http.rb', line 15

def initialize(info={})
  super(update_info(info,
    'Name'        => 'HTTP/S Transport Migration (x86)',
    'Description' => 'Migration stub to use over HTTP/S transports via x86',
    'Author'      => ['OJ Reeves'],
    'License'     => MSF_LICENSE,
    'Platform'    => 'win',
    'Arch'        => ARCH_X86
  ))
end