Module: Msf::Util::EXE::OSX::Armle::ClassMethods

Included in:
Msf::Util::EXE::OSX::Armle
Defined in:
lib/msf/util/exe/osx/armle.rb

Instance Method Summary collapse

Instance Method Details

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

Create an ARM Little Endian OSX Mach-O containing the payload provided in code self.to_osx_arm_macho

Parameters:

  • framework (Msf::Framework)

    The framework of you want to use

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

    a customizable set of options

Returns:

  • (String)


18
19
20
# File 'lib/msf/util/exe/osx/armle.rb', line 18

def to_osx_arm_macho(framework, code, opts = {})
  to_executable_with_template("template_armle_darwin.bin", framework, code, opts)
end