Module: Msf::Util::EXE::Linux::Riscv64le::ClassMethods
- Included in:
- Msf::Util::EXE::Linux::Riscv64le
- Defined in:
- lib/msf/util/exe/linux/riscv64le.rb
Instance Method Summary collapse
-
#to_linux_riscv64le_elf(framework, code, opts = {}) ⇒ String
Create a RISC-V 64-bit LE Linux ELF containing the payload provided in
codeto_linux_riscv64le_elf. -
#to_linux_riscv64le_elf_dll(framework, code, opts = {}) ⇒ String
Create a RISC-V 64-bit LE Linux ELF_DYN containing the payload provided in
codeto_linux_riscv64le_elf_dll.
Instance Method Details
#to_linux_riscv64le_elf(framework, code, opts = {}) ⇒ String
Create a RISC-V 64-bit LE Linux ELF containing the payload provided in code to_linux_riscv64le_elf
19 20 21 |
# File 'lib/msf/util/exe/linux/riscv64le.rb', line 19 def to_linux_riscv64le_elf(framework, code, opts = {}) to_exe_elf(framework, opts, "template_riscv64le_linux.bin", code) end |
#to_linux_riscv64le_elf_dll(framework, code, opts = {}) ⇒ String
Create a RISC-V 64-bit LE Linux ELF_DYN containing the payload provided in code to_linux_riscv64le_elf_dll
31 32 33 |
# File 'lib/msf/util/exe/linux/riscv64le.rb', line 31 def to_linux_riscv64le_elf_dll(framework, code, opts = {}) to_exe_elf(framework, opts, "template_riscv64le_linux_dll.bin", code) end |