Path: blob/master/lib/msf/util/exe/bsd/x64.rb
57477 views
# -*- coding: binary -*-1module Msf::Util::EXE::Bsd::X642include Msf::Util::EXE::Common34def self.included(base)5base.extend(ClassMethods)6end78module ClassMethods9# Create a 64-bit Linux ELF containing the payload provided in +code+10#11# @param framework [Msf::Framework]12# @param code [String]13# @param opts [Hash]14# @option [String] :template15# @return [String] Returns an elf16def to_bsd_x64_elf(framework, code, opts = {})17to_exe_elf(framework, opts, "template_x64_bsd.bin", code)18end19end2021class << self22include ClassMethods23end24end252627