Enumerates TFTP (trivial file transfer protocol) filenames by testing for a list of common ones.
TFTP doesn't provide directory listings. This script tries to retrieve
filenames from a list. The list is composed of static names from the
tftplist.txt, plus configuration filenames for Cisco
devices that change based on the target address, of the form
A.B.C.X-confg for an IP address A.B.C.D and for X in 0 to
tftp-enum.filelist script argument to search for
other static filenames.
This script is a reimplementation of tftptheft from http://code.google.com/p/tftptheft/.
- file name with list of filenames to enumerate at tftp server
nmap -sU -p 69 --script tftp-enum.nse --script-args tftp-enum.filelist=customlist.txt <host>
PORT STATE SERVICE REASON 69/udp open tftp script-set | tftp-enum: |_ bootrom.ld
License: Same as Nmap--See https://nmap.org/book/man-legal.html