Pentesting FTP
PORT STATE SERVICE VERSION
21/tcp open ftp Microsoft ftpdImportant FTP Notes
# Always use ls -la on FTP (may only have hidden files)
ftp> ls -la
# Fix Extended Passive Mode issues
ftp> passive
Passive mode: off; fallback to active mode: off.
ftp>ls
# If you still have issues
ftp> passive
ftp> binary
ftp> ls -la Anonymous Login
Non-standard ports and web source backups
FTP Interaction Commands
Passive FTP
Downloading Files
Download everything with wget
Uploading Files
Brute Force
Nmap FTP Enumeration
Update nmap script database and find FTP scripts
Available FTP NSE scripts
Script
Purpose
Service Interaction Alternatives
TFTP
Command
Description
vsFTPd Configuration
Install
View config (strip comments)
View deny list
Default Settings
Setting
Description
Dangerous Settings
Setting
Description
Additional FTP Settings
Setting
Description
Other Considerations
Medusa FTP Brute Force
Flag
Description
FTP Bounce Attack
CoreFTP Path Traversal (CVE-2022-22836)
CoreFTP HTTPS PUT Upload (Webshell)
Last updated