Skip to main content
The File Transfer Protocol (FTP) is a standard protocol for file transfer between a server and client over a network. It is a plain-text protocol using 0x0d 0x0a as newline characters — sometimes requiring connection via telnet or nc -C. Default Port: 21

Enumeration

Nmap Scan

HELP and FEAT Commands

Anonymous Login

Default credentials to try:
  • anonymous : anonymous
  • anonymous : (empty)
  • ftp : ftp

Connect with starttls

Brute Force

Download All Files

FTP Commands Reference

FTP Bounce Attack

Some FTP servers allow the PORT command, enabling port scanning through the FTP server:

Browser Connection

If a web application sends user-controlled data directly to an FTP server, you can inject double URL-encoded %250d%250a bytes to make the FTP server perform arbitrary actions.

Filezilla Server Vulnerability

FileZilla often binds an Administrative service on port 14147. If you can tunnel to this port from your machine, you can connect with a blank password and create new FTP users.

FTP Root Mapped to Webroot (XAMPP)

XAMPP/ProFTPD often maps FTP root to /opt/lampp/htdocs. Weak credentials on service accounts like daemon allow uploading a PHP web shell directly into the webroot.

Config Files

Dangerous vsftpd Settings

Shodan Queries