FTP

The File Transfer Protocol (FTP) is a commonly used protocol for transferring files across systems. The FTP service runs by default on port 21. Enumerating FTP can reveal interesting information such as the server version and if it allows for anonymous logins. We can use Nmap to enumerate FTP service using syntax, as follows:

nmap -p 21 -T4 -A -v <Target IP address>

The following screenshot shows the output of FTP enumeration using Nmap. It reveals that the FTP server is vsftpd 2.3.4, and it allows for anonymous logins:

Get Securing Network Infrastructure now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.