Module: Msf::Util::EXE::Linux::Ppce500v2::ClassMethods

Included in:
Msf::Util::EXE::Linux::Ppce500v2
Defined in:
lib/msf/util/exe/linux/ppce500v2.rb

Instance Method Summary collapse

Instance Method Details

#to_linux_ppce500v2_elf(framework, code, opts = {}) ⇒ String

Create a PPC64 64-bit BE Linux ELF containing the payload provided in code to_linux_ppce500v2_elf

Parameters:

  • framework (Msf::Framework)
  • code (String)
  • opts (Hash) (defaults to: {})
  • [String] (Hash)

    a customizable set of options

Returns:

  • (String)

    Returns an elf



18
19
20
# File 'lib/msf/util/exe/linux/ppce500v2.rb', line 18

def to_linux_ppce500v2_elf(framework, code, opts = {})
  to_exe_elf(framework, opts, "template_ppce500v2_linux.bin", code, true)
end