Path: blob/master/lib/msf/util/exe/linux/mips64.rb
36043 views
module Msf::Util::EXE::Linux::Mips641include Msf::Util::EXE::Common2include Msf::Util::EXE::Linux::Common3def self.included(base)4base.extend(ClassMethods)5end67module ClassMethods89# Create a MIPS64 64-bit LE Linux ELF containing the payload provided in +code+10# to_linux_mips64_elf11#12# @param framework [Msf::Framework]13# @param code [String]14# @param opts [Hash]15# @option [String] :template16# @return [String] Returns an elf17def to_linux_mips64_elf(framework, code, opts = {})18Msf::Util::EXE::Common.to_exe_elf(framework, opts, "template_mips64_linux.bin", code)19end20end2122class << self23include ClassMethods24end2526end272829