Module: Msf::Payload::Windows::BlockApi_x64

Included in:
AddrLoader_x64, BindNamedPipe_x64, BindTcp_x64, MigrateCommon_x64, ReflectivePELoader_x64, ReverseHttp_x64, ReverseNamedPipe_x64, ReverseTcp_x64
Defined in:
lib/msf/core/payload/windows/x64/block_api_x64.rb

Overview

Basic block_api stubs for Windows ARCH_X64 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/x64/block_api_x64.rb', line 13

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