Module: Msf::Util::EXE::Solaris::X86::ClassMethods
- Included in:
- Msf::Util::EXE::Solaris::X86
- Defined in:
- lib/msf/util/exe/solaris/x86.rb
Instance Method Summary collapse
- #to_executable(framework, code, fmt = 'elf', opts = {}) ⇒ Object
-
#to_solaris_x86_elf(framework, code, opts = {}) ⇒ String
Create a 32-bit Solaris ELF containing the payload provided in
code.
Instance Method Details
#to_executable(framework, code, fmt = 'elf', opts = {}) ⇒ Object
10 11 12 |
# File 'lib/msf/util/exe/solaris/x86.rb', line 10 def to_executable(framework, code, fmt='elf', opts = {}) return to_solaris_x86_elf(framework, code, opts) if fmt == 'elf' end |
#to_solaris_x86_elf(framework, code, opts = {}) ⇒ String
Create a 32-bit Solaris ELF containing the payload provided in code
20 21 22 |
# File 'lib/msf/util/exe/solaris/x86.rb', line 20 def to_solaris_x86_elf(framework, code, opts = {}) to_exe_elf(framework, opts, "template_x86_solaris.bin", code) end |