Add the x86 fetch payloads

This commit is contained in:
Spencer McIntyre
2023-06-09 16:47:45 -04:00
parent fce6450a95
commit 0ba65b7393
4 changed files with 76 additions and 1 deletions
@@ -12,7 +12,7 @@ module MetasploitModule
update_info(
info,
'Name' => 'HTTPS Fetch',
'Description' => 'Fetch and execute an x64 payload from an HTTPS server.',
'Description' => 'Fetch and execute an MIPS64 payload from an HTTPS server.',
'Author' => ['Brendan Watters', 'Spencer McIntyre'],
'Platform' => 'linux',
'Arch' => ARCH_CMD,
@@ -0,0 +1,25 @@
##
# This module requires Metasploit: https://metasploit.com/download
# Current source: https://github.com/rapid7/metasploit-framework
##
module MetasploitModule
include Msf::Payload::Adapter::Fetch::Https
include Msf::Payload::Adapter::Fetch::LinuxOptions
def initialize(info = {})
super(
update_info(
info,
'Name' => 'HTTPS Fetch',
'Description' => 'Fetch and execute an x86 payload from an HTTPS server.',
'Author' => ['Brendan Watters', 'Spencer McIntyre'],
'Platform' => 'linux',
'Arch' => ARCH_CMD,
'License' => MSF_LICENSE,
'AdaptedArch' => ARCH_X86,
'AdaptedPlatform' => 'linux'
)
)
end
end