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

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

Overview

Basic block_api stubs for Windows ARCH_X64 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/x64/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.x64.graphml'),
    arch: ARCH_X64,
    name: 'api_call'
  )
end