Path: blob/master/lib/msf/util/exe/linux/ppc.rb
36045 views
module Msf::Util::EXE::Linux::Ppc1include Msf::Util::EXE::Common2include Msf::Util::EXE::Linux::Common34def self.included(base)5base.extend(ClassMethods)6end78module ClassMethods910# Create a PPC 32-bit BE Linux ELF containing the payload provided in +code+11# to_linux_ppc_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_ppc_elf(framework, code, opts = {})19to_exe_elf(framework, opts, "template_ppc_linux.bin", code)20end21end2223class << self24include ClassMethods25end262728end293031