Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
rapid7
GitHub Repository: rapid7/metasploit-framework
Path: blob/master/lib/msf/util/exe/solaris.rb
36037 views
1
module Msf::Util::EXE::Solaris
2
include Msf::Util::EXE::Common
3
include Msf::Util::EXE::Solaris::X86
4
5
def self.included(base)
6
base.extend(ClassMethods)
7
end
8
9
module ClassMethods
10
def to_executable_solaris(framework, arch, code, fmt = 'elf', opts = {})
11
return to_executable_solaris_x86(framework, code, fmt, opts) if arch.index(ARCH_X86)
12
end
13
14
def to_executable_solaris_x86(framework, code, fmt = 'elf', opts = {})
15
return to_solaris_x86_elf(framework, code, opts) if fmt == 'elf'
16
end
17
end
18
19
class << self
20
include ClassMethods
21
end
22
end
23
24