Page cover
For the complete documentation index, see llms.txt. This page is also available as Markdown.

TFTP | 69

  • Enumerations

## ------------------| Nmap Script
nmap -n -Pn -sU -p69 -sV --script tftp-enum $IP

## ------------------| Metasploit 
use auxiliary/admin/tftp/tftp_transfer_util
use auxiliary/scanner/tftp/tftpbrute

## ------------------| Connect 
tftp -m binary $IP

## ------------------| Upload/Download file
get C:\\PROGRA~1\\file.txt
put C:\\PROGRA~1\\file.txt
  • Python script for upload & download [source]

import tftpy
client = tftpy.TftpClient("<ip>", 69)
client.download("C:\\PROGRA~1\\file.txt", "/tmp/file.txt", timeout=5)
client.upload("C:\\PROGRA~1\\file.txt", "/tmp/file.txt", timeout=5)

Last updated