Module: Msf::Util::EXE::Linux::Loongarch64::ClassMethods
- Included in:
- Msf::Util::EXE::Linux::Loongarch64
- Defined in:
- lib/msf/util/exe/linux/loongarch64.rb
Instance Method Summary collapse
-
#to_linux_loongarch64_elf(framework, code, opts = {}) ⇒ String
Create a LOONGARCH64 64-bit LE Linux ELF containing the payload provided in
codeto_linux_loongarch64_elf. -
#to_linux_loongarch64_elf_dll(framework, code, opts = {}) ⇒ String
Create a LOONGARCH64 64-bit LE Linux ELF_DYN containing the payload provided in
codeto_linux_loongarch64_elf_dll.
Instance Method Details
#to_linux_loongarch64_elf(framework, code, opts = {}) ⇒ String
Create a LOONGARCH64 64-bit LE Linux ELF containing the payload provided in code to_linux_loongarch64_elf
17 18 19 |
# File 'lib/msf/util/exe/linux/loongarch64.rb', line 17 def to_linux_loongarch64_elf(framework, code, opts = {}) to_exe_elf(framework, opts, "template_loongarch64_linux.bin", code) end |
#to_linux_loongarch64_elf_dll(framework, code, opts = {}) ⇒ String
Create a LOONGARCH64 64-bit LE Linux ELF_DYN containing the payload provided in code to_linux_loongarch64_elf_dll
29 30 31 |
# File 'lib/msf/util/exe/linux/loongarch64.rb', line 29 def to_linux_loongarch64_elf_dll(framework, code, opts = {}) to_exe_elf(framework, opts, "template_loongarch64_linux_dll.bin", code) end |