Updated: Scanning for Microsoft FTP with Nmap

Hi all,

I wrote a blog last week about scanning for Microsoft FTP with Nmap. In some situations the script I linked to wouldn’t work, so I gave it an overhaul and it should work nicely now. I renamed the script to ftp-capabilities.nse. You can get the new version from svn with the usual commands:

$ svn co --username guest --password '' svn://svn.insecure.org/nmap
$ cd nmap
$ ./configure && make
# make install
$ nmap -d -p21 --script=ftp-capabilities 

Or you can download the current version (as of September 17, 2009) at /blogdata/ftp-capabilities.nse (note that that version won't be updated). 

The output will simply tell you whether or not it's Windows FTP, and whether or not MKDIR is permitted. It doesn't tell you "vulnerable" or "not vulnerable", because it isn't actually checking for an exploit. Of course, if you let anonymous call MKDIR, you probably have other issues. :)

Happy scanning! 


Join the conversation on this Mastodon post (replies will appear below)!

    Loading comments...