Rapid7 Vulnerability & Exploit Database

TFTP File Transfer Utility

Back to Search

TFTP File Transfer Utility

Created
05/30/2018

Description

This module will transfer a file to or from a remote TFTP server. Note that the target must be able to connect back to the Metasploit system, and NAT traversal for TFTP is often unsupported. Two actions are supported: "Upload" and "Download," which behave as one might expect -- use 'set action Actionname' to use either mode of operation. If "Download" is selected, at least one of FILENAME or REMOTE_FILENAME must be set. If "Upload" is selected, either FILENAME must be set to a valid path to a source file, or FILEDATA must be populated. FILENAME may be a fully qualified path, or the name of a file in the Msf::Config.local_directory or Msf::Config.data_directory.

Author(s)

  • todb <todb@metasploit.com>

Development

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use auxiliary/admin/tftp/tftp_transfer_util
msf auxiliary(tftp_transfer_util) > show actions
    ...actions...
msf auxiliary(tftp_transfer_util) > set ACTION < action-name >
msf auxiliary(tftp_transfer_util) > show options
    ...show and set options...
msf auxiliary(tftp_transfer_util) > run 

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;