Basic Interaction
Connecting to service
ftp {{ip}}nc -nv {{ip}} 21telnet {{ip}} 21Connecting to service (If it runs with TLS/SSL encryption)
openssl s_client -connect {{ip}}:21 -starttls ftpAdditional information
statusprotocol specific command
debugprotocol specific command
traceprotocol specific command
Download a file
get {{filename}}
protocol specific command
Download all files
wget -m --no-passive ftp://{{username}}:{{password}}@{{ip}}For anonymous login: username = anonymous, password = anonymous
upload a file
put {{filename}}
protocol specific command
Foot Printing Service
listing all available ftp scripts
find /usr/share/nmap/scripts/ -type f -name ftp*
Run all ftp scripts
sudo nmap --script ftp-* -p 21 {{ip}}