Path: blob/master/lib/msf/util/exe/linux/ppce500v2.rb
36043 views
module Msf::Util::EXE::Linux::Ppce500v21include Msf::Util::EXE::Common2include Msf::Util::EXE::Linux::Common3def self.included(base)4base.extend(ClassMethods)5end67module ClassMethods89# Create a PPC64 64-bit BE Linux ELF containing the payload provided in +code+10# to_linux_ppce500v2_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_ppce500v2_elf(framework, code, opts = {})18to_exe_elf(framework, opts, "template_ppce500v2_linux.bin", code, true)19end20end2122class << self23include ClassMethods24end252627end282930