Nmap Development mailing list archives
Re: [nmap-svn] r29615 - nmap/scripts
From: Daniel Miller <bonsaiviking () gmail com>
Date: Fri, 07 Sep 2012 11:40:21 -0500
On 09/07/2012 10:34 AM, David Fifield wrote:
On Fri, Sep 07, 2012 at 10:20:53AM -0500, Daniel Miller wrote:On 09/06/2012 07:15 PM, David Fifield wrote:On Thu, Aug 16, 2012 at 03:13:33PM -0700, commit-mailer () insecure org wrote:Author: dmiller Date: Thu Aug 16 15:13:33 2012 New Revision: 29615 Log: Update ssl-date to use structured outputCould you change this to use the same output format as http-date instead? Not this: <elem key="date">2012-08-02T18:29:31</elem> <elem key="offset">+4s</elem> but this: <elem key="date">2012-08-02T18:29:31Z</elem>$ <elem key="delta">4</elem>$Done in r29724. There was a bug as well, that the time was output as local, but labelled as UTC. Fixed by prepending "!" to the time format string passed to os.date().Okay, thanks. But I think that normal output should still use format_difftime, while the structured output uses just an integer. (The same as http-date does.) My reasoning is that a person reading Nmap output would rather see "+1m4s" and a program processing Nmap results would rather see "64". David Fifield _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/
Ok, I missed that when looking at http-date. Should be good now (r29725). Dan _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/
Current thread:
- Re: [nmap-svn] r29615 - nmap/scripts David Fifield (Sep 06)
- Re: [nmap-svn] r29615 - nmap/scripts Daniel Miller (Sep 07)
- Re: [nmap-svn] r29615 - nmap/scripts David Fifield (Sep 07)
- Re: [nmap-svn] r29615 - nmap/scripts Daniel Miller (Sep 07)
- Re: [nmap-svn] r29615 - nmap/scripts David Fifield (Sep 07)
- Re: [nmap-svn] r29615 - nmap/scripts Daniel Miller (Sep 07)