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

Included in:
BindNamedPipe, BindTcp, MigrateCommon, 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


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

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