Path: blob/master/lib/msf/util/exe/linux/mipsbe.rb
36043 views
module Msf::Util::EXE::Linux::Mipsbe1include Msf::Util::EXE::Common2include Msf::Util::EXE::Linux::Common34def self.included(base)5base.extend(ClassMethods)6end78module ClassMethods910# Create a MIPSBE 64-bit BE Linux ELF containing the payload provided in +code+11# to_linux_mipsbe_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_mipsbe_elf(framework, code, opts = {})19to_exe_elf(framework, opts, "template_mipsbe_linux.bin", code, true)20end21end2223class << self24include ClassMethods25end26end272829