TFTP uses UDP port 69 and requires no authentication—clients read from, and write to servers using the datagram format outlined in RFC 1350. Due to deficiencies within the protocol (namely lack of authentication and no transport security), it is uncommon to find servers on the public Internet. Within large internal networks, however, TFTP is used to serve configuration files and ROM images to VoIP handsets and other devices.
TODO: Provide information about what is a Bittorrent-tracker (Shodan identifies this port with that name). PLEASE, LET ME KNOW IF YOU HAVE SOME INFORMATION ABOUT THIS IN THE HackTricks telegram group (or in a github issue in PEASS).
Default Port: 69/UDP
PORT STATE SERVICE REASON69/udp open tftp script-set
TFTP doesn't provide directory listing so the script
nmap will try to brute-force default paths.
nmap -n -Pn -sU -p69 -sV --script tftp-enum <IP>
You can use Metasploit or Python to check if you can download/upload files:
import tftpyclient = tftpy.TftpClient(<ip>, <port>)client.download("filename in server", "/tmp/filename", timeout=5)client.upload("filename to upload", "/local/path/file", timeout=5)