Nmap Development mailing list archives
Re: Feature request NSE ssl-cert
From: David Fifield <david () bamsoftware com>
Date: Sat, 9 Mar 2013 15:22:35 -0800
On Sat, Mar 09, 2013 at 01:07:12PM +0100, GMAIL geir.halsvik wrote:
Is it possible to get an date Argument (eg.: 2014-01-01 23:59:59) to test against the date received in Not valid after: 2013-04-01 23:59:59 The goal is to check all SSL certificates on my network to see if we have to renew them
You best bet is to use the XML output to parse the dates. The XML output of ssl-cert looks in part like this: <table key="validity"> <elem key="notBefore">2011-03-23T00:00:00+00:00</elem> <elem key="notAfter">2013-04-01T23:59:59+00:00</elem> </table> http://nmap.org/book/output-formats-xml-output.html David Fifield _______________________________________________ Sent through the dev mailing list http://nmap.org/mailman/listinfo/dev Archived at http://seclists.org/nmap-dev/
Current thread:
- Feature request NSE ssl-cert GMAIL geir.halsvik (Mar 09)
- Re: Feature request NSE ssl-cert David Fifield (Mar 09)