Module: Msf::Payload::Windows::BlockApi

Included in:
BindNamedPipe, BindTcp, MigrateCommon, ReflectivePELoader, ReverseHttp, ReverseNamedPipe, ReverseTcp
Defined in:
lib/msf/core/payload/windows/block_api.rb

Overview

Basic block_api stubs for Windows ARCH_X86 payloads

Instance Method Summary collapse

Instance Method Details

#asm_block_api(opts = {}) ⇒ Object



13
14
15
16
17
18
19
# File 'lib/msf/core/payload/windows/block_api.rb', line 13

def asm_block_api(opts={})
  Rex::Payloads::Shuffle.from_graphml_file(
    File.join(Msf::Config.install_root, 'data', 'shellcode', 'block_api.x86.graphml'),
    arch: ARCH_X86,
    name: 'api_call'
  )
end