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
9 10 11 |
# File 'lib/msf/util/exe/solaris/x86.rb', line 9 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
19 20 21 |
# File 'lib/msf/util/exe/solaris/x86.rb', line 19 def to_solaris_x86_elf(framework, code, opts = {}) to_exe_elf(framework, opts, "template_x86_solaris.bin", code) end |