Module: Msf::Util::EXE::Solaris::ClassMethods

Included in:
Msf::Util::EXE::Solaris
Defined in:
lib/msf/util/exe/solaris.rb

Instance Method Summary collapse

Instance Method Details

#to_executable_solaris(framework, arch, code, fmt = 'elf', opts = {}) ⇒ Object



10
11
12
# File 'lib/msf/util/exe/solaris.rb', line 10

def to_executable_solaris(framework, arch, code, fmt = 'elf', opts = {})
  return to_executable_solaris_x86(framework, code, fmt, opts) if arch.index(ARCH_X86)
end

#to_executable_solaris_x86(framework, code, fmt = 'elf', opts = {}) ⇒ Object



14
15
16
# File 'lib/msf/util/exe/solaris.rb', line 14

def to_executable_solaris_x86(framework, code, fmt = 'elf', opts = {})
  return to_solaris_x86_elf(framework, code, opts) if fmt == 'elf'
end