Module: Msf::Util::EXE::Linux::Mipsbe::ClassMethods

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

Instance Method Summary collapse

Instance Method Details

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

Create a MIPSBE 64-bit BE Linux ELF containing the payload provided in code to_linux_mipsbe_elf

Parameters:

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

    a customizable set of options

Returns:

  • (String)

    Returns an elf



19
20
21
# File 'lib/msf/util/exe/linux/mipsbe.rb', line 19

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