Nmap Development mailing list archives

[patch] Add support for FTP-TLS to ssl-cert.nse


From: Matt Selsky <selsky () columbia edu>
Date: Sat, 3 Dec 2011 00:35:37 -0500

The attached patch adds support for FTP-TLS servers (RFC 4217) to ssl-cert.nse.

Example:

$ ./nmap -p 21 -sV --script=ssl-cert ftp.secureftp-test.com 

Starting Nmap 5.61TEST2 ( http://nmap.org ) at 2011-12-03 00:32 EST
Nmap scan report for ftp.secureftp-test.com (64.65.53.234)
Host is up (0.033s latency).
rDNS record for 64.65.53.234: tagtooga.com
PORT   STATE SERVICE VERSION
21/tcp open  ftp     FileZilla ftpd 0.9.39 beta
| ssl-cert: Subject: commonName=secureftp-test.com/organizationName=Chilkat Software, 
Inc./stateOrProvinceName=Illinois/countryName=US
| Issuer: commonName=secureftp-test.com/organizationName=Chilkat Software, 
Inc./stateOrProvinceName=Illinois/countryName=US
| Public Key type: rsa
| Public Key bits: 1024
| Not valid before: 2011-06-20 16:05:00
| Not valid after:  2012-06-19 16:05:00
| MD5:   afd8 8d72 8e4f 716f eaae f60e 1c1e 662a
|_SHA-1: ca1f 10c9 ec33 cd4c 1dde a293 5402 5aa5 c978 168e
Service Info: OS: Windows; CPE: cpe:/o:microsoft:windows

Service detection performed. Please report any incorrect results at http://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 0.97 seconds

This has been successfully tested against FileZilla on Windows and ftpd on IBM OS/390.

Cheers,

-- 
Matt

Attachment: ssl-cert-ftp-ssl.patch
Description:

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/

Current thread: