Path: blob/master/lib/msf/util/exe/osx/armle.rb
57477 views
# -*- coding: binary -*-1module Msf::Util::EXE::OSX::Armle2include Msf::Util::EXE::Common3include Msf::Util::EXE::OSX::Common45def self.included(base)6base.extend(ClassMethods)7end89module ClassMethods10# Create an ARM Little Endian OSX Mach-O containing the payload provided in +code+11# self.to_osx_arm_macho12#13# @param framework [Msf::Framework] The framework of you want to use14# @param code [String]15# @param opts [Hash]16# @option [String] :template17# @return [String]18def to_osx_arm_macho(framework, code, opts = {})19to_executable_with_template("template_armle_darwin.bin", framework, code, opts)20end21end22class << self23include ClassMethods24end25end262728