Path: blob/master/lib/msf/util/exe/osx/armle.rb
36043 views
module Msf::Util::EXE::OSX::Armle1include Msf::Util::EXE::Common2include Msf::Util::EXE::OSX::Common34def self.included(base)5base.extend(ClassMethods)6end78module ClassMethods9# Create an ARM Little Endian OSX Mach-O containing the payload provided in +code+10# self.to_osx_arm_macho11#12# @param framework [Msf::Framework] The framework of you want to use13# @param code [String]14# @param opts [Hash]15# @option [String] :template16# @return [String]17def to_osx_arm_macho(framework, code, opts = {})18to_executable_with_template("template_armle_darwin.bin", framework, code, opts)19end20end21class << self22include ClassMethods23end24end252627