Module: Msf::Util::EXE::Linux::X64::ClassMethods
- Included in:
- Msf::Util::EXE::Linux::X64
- Defined in:
- lib/msf/util/exe/linux/x64.rb
Instance Method Summary collapse
-
#to_linux_x64_elf(framework, code, opts = {}) ⇒ String
Create a 64-bit Linux ELF containing the payload provided in
codeto_linux_x64_elf. -
#to_linux_x64_elf_dll(framework, code, opts = {}) ⇒ String
Create a 64-bit Linux ELF_DYN containing the payload provided in
codeto_linux_x64_elf_dll.
Instance Method Details
#to_linux_x64_elf(framework, code, opts = {}) ⇒ String
Create a 64-bit Linux ELF containing the payload provided in code to_linux_x64_elf
18 19 20 |
# File 'lib/msf/util/exe/linux/x64.rb', line 18 def to_linux_x64_elf(framework, code, opts = {}) Msf::Util::EXE::Common.to_exe_elf(framework, opts, "template_x64_linux.bin", code) end |
#to_linux_x64_elf_dll(framework, code, opts = {}) ⇒ String
Create a 64-bit Linux ELF_DYN containing the payload provided in code to_linux_x64_elf_dll
30 31 32 |
# File 'lib/msf/util/exe/linux/x64.rb', line 30 def to_linux_x64_elf_dll(framework, code, opts = {}) Msf::Util::EXE::Common.to_exe_elf(framework, opts, "template_x64_linux_dll.bin", code) end |