69 ) TFTP
Enumerations
## ------------------| Nmap Script
nmap -n -Pn -sU -p69 -sV --script tftp-enum $IP
## ------------------| Metasploit
use auxiliary/admin/tftp/tftp_transfer_util
## ------------------| 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