TFTP File Transfer Utility | Metasploit Exploit Database (DB)

TFTP File Transfer Utility

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.

Search Other Modules


Rank

  • Normal

Authors

  • todb < todb [at] metasploit.com >

Vulnerability References


Development


Similar Modules


Usage Information

$ msfconsole

                ##                          ###           ##    ##
 ##  ##  #### ###### ####  #####   #####    ##    ####        ######
####### ##  ##  ##  ##         ## ##  ##    ##   ##  ##   ###   ##
####### ######  ##  #####   ####  ##  ##    ##   ##  ##   ##    ##
## # ##     ##  ##  ##  ## ##      #####    ##   ##  ##   ##    ##
##   ##  #### ###   #####   #####     ##   ####   ####   #### ###
                                      ##

msf > use auxiliary/admin/tftp/tftp_transfer_util
msf auxiliary(tftp_transfer_util) > set RHOST [TARGET IP]
msf auxiliary(tftp_transfer_util) > run


Module Options

FILEDATA Data to upload in lieu of a real local file.
FILENAME The local filename
LHOST The local address the TFTP client should bind to
LPORT The local port the TFTP client should listen on (default is random)
MODE The TFTP mode; usual choices are netascii and octet. (default: octet)
REMOTE_FILENAME The remote filename
RHOST The remote TFTP server
RPORT The target port (default: 69)
VERBOSE Enable detailed status messages
WORKSPACE Specify the workspace for this module