FTP NSE Script Enumeration
Automated enumeration using safe NSE scripts only.
Quick Targeted Checks
PORT STATE SERVICE 21/tcp open ftp | ftp-anon: Anonymous FTP login allowed (FTP code 230) | -rw-r--r-- 1 1170 924 31 Mar 28 2001 .banner | d--x--x--x 2 root root 1024 Jan 14 2002 bin | d--x--x--x 2 root root 1024 Aug 10 1999 etc | drwxr-srwt 2 1170 924 2048 Jul 19 18:48 incoming [NSE: writeable] | d--x--x--x 2 root root 1024 Jan 14 2002 lib | drwxr-sr-x 2 1170 924 1024 Aug 5 2004 pub |_Only 6 shown. Use --script-args ftp-anon.maxlist=-1 to see all. | ftp-syst: | SYST: Version: Linux 2.6.26.8-rt16 | STAT: | HES_CPE FTP server status: | ftpd (GNU inetutils) 1.4.1 | Connected to 72.14.177.105 | Waiting for user name | TYPE: ASCII, FORM: Nonprint; STRUcture: File; transfer MODE: Stream | No data connection |_End of status
Covers anonymous access, system details, and basic status.
Full Safe FTP Enumeration
Excludes brute-force and known vuln checks (use those separately in controlled scopes).
Common useful safe scripts:
ftp-anon: Anonymous login and basic listing
ftp-syst: SYST/STAT responses for version/OS hints
For FTPS-specific extras (if AUTH TLS advertised):
Chain with SSL scripts:
Pulls cert details and supported TLS ciphers/versions.
References
-
NMAP ftp-anon NSE scriptnmap.org/nsedoc/scripts/ftp-anon.html (opens in new tab)
Checks if an FTP server allows anonymous logins.
-
NMAP ftp-syst NSE scriptnmap.org/nsedoc/scripts/ftp-syst.html (opens in new tab)
Sends FTP SYST and STAT commands and returns the result.
Was this helpful?
Your feedback helps improve this page.