Nmap Development 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:
Hey nmap-dev!

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[1].

Please give it a try and let me know what you think! :)

Thanks,
Kris Katterjohn

[1] http://seclists.org/nmap-dev/2007/q3/0431.html
  
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 [2] (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)...

Whaddyareckon?

Regardless, I think it's already a very useful feature and I'm sure many 
will agree.


jah

[2] - ISO 8601 FAQ: 
http://www.iso.org/iso/support/faqs/faqs_widely_used_standards/widely_used_standards_other/date_and_time_format.htm

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


Current thread: