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



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

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



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

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