Path: blob/master/lib/msf/util/exe/linux/armbe.rb
36043 views
module Msf::Util::EXE::Linux::Armbe1include Msf::Util::EXE::Common2include Msf::Util::EXE::Linux::Common34def self.included(base)5base.extend(ClassMethods)6end78module ClassMethods910# Create a ARM Little Endian Linux ELF containing the payload provided in +code+11# to_linux_armbe_elf12#13# @param framework [Msf::Framework]14# @param code [String]15# @param opts [Hash]16# @option [String] :template17# @return [String] Returns an elf18def to_linux_armbe_elf(framework, code, opts = {})19to_exe_elf(framework, opts, "template_armbe_linux.bin", code)20end2122# Create a ARM Little Endian Linux ELF_DYN containing the payload provided in +code+23# to_linux_armbe_elf_dll24#25# @param framework [Msf::Framework]26# @param code [String]27# @param opts [Hash]28# @option [String] :template29# @return [String] Returns an elf-so30def to_linux_armbe_elf_dll(framework, code, opts = {})31to_exe_elf(framework, opts, "template_armbe_linux_dll.bin", code)32end33end3435class << self36include ClassMethods37end3839end404142