mailing list archives
Re: Logging filename extensions committed
From: jah <jah () zadkiel plus com>
Date: Fri, 14 Dec 2007 02:46:37 +0000
On 13/12/2007 21:29, Kris Katterjohn wrote:
Now that the stable release it out, I've committed the modified version
of my strftime()-like conversion extensions to the logging options, most
of which is documented here.
Please give it a try and let me know what you think! :)
I've been waiting for this feature!
First off, an unhandled exception:
Windows filenames cannot contain a colon (because, historically, Windows
was excreted from one) so %T (%H:%M:%S) is no use to windows users and
supplying it crashes nmap on my system.
Secondly an idea:
I wonder what you think of making it simple to produce YYYYmmddTHHMMSS
similar to ISO 8601 time  (similar, but without the hyphens or
colons). This format is great for filename sort ordering in windows.
With your scheme, that would be %Y%m%dT%t, which is fine, but it would
be nice to have a short form for the (non American style) date as well
as a short form for the time. Even better would be %<single_char>
depending on the demand for such a thing. It might also be useful to
include the timezone offset if that weren't taking it too far (a plus
sign is legal in windows file naming)...
Regardless, I think it's already a very useful feature and I'm sure many
 - ISO 8601 FAQ:
Sent through the nmap-dev mailing list
Archived at http://SecLists.Org