Nmap Development mailing list archives
Re: Discussion: New logging features
From: Thibaud Kehler <nmap-dev () t3 sy gs>
Date: Thu, 26 Mar 2020 13:44:26 +0100
I submitted some pull requests on Github.
1. Log file overwrite By default Nmap overwrites log files without warning or asking for permission. Too frequently have I lost my output and was forced to redo a scan -- which may take a long time sometimes. I see two ways to solve this problem: A. New option --overwrite Abort with an error when overwriting an existing file, unless the flag option --overwrite has been set. Pro: very safe Con: Not compatible with exiting scripts and wrapper
Pull Request #1978 implements variant A, but could easily be modified to realize variant B.
2. strftime-like conversions in the filename strftime has many more conversions, e.g. %F for the ISO 8601 date format, and I would love to use them in Nmap directly.
After digging into the safety of filenames, I believe that most features of strftime have been omitted in order to achieve compatibility with Windows OS (no colons or slashes allowed). In my opinion, however, it is crucial to at least support %F for ISO 8601 date format, which is commonly used to order files by date. I added this new option with pull Request #1979. Furthermore, I updated the English and German docs to the new behavior. Feel free to review and merge my contribution. -- Thibaud Kehler, M.Sc. IT Security Consultant ______________________________________________________________ SySS GmbH Schaffhausenstraße 77, 72072 Tübingen, Germany Tel: +49 (0)7071 - 40 78 56 - 6184 Mobil: +49 (0)176 - 17 97 70 02 thibaud.kehler () syss de Conf. Calls: https://syss.zoom.us/my/thibaud.kehler https://syss.de PGP-Fingerprint: CF29 54F1 1B7F 2FF5 7ED9 9BAD E9C7 9866 B645 7D7A Geschäftsführer: Sebastian Schreiber Registergericht: Amtsgericht Stuttgart / HRB 382420 Steuernummer: 86118 / 55809 _______________________________________________ Sent through the dev mailing list https://nmap.org/mailman/listinfo/dev Archived at http://seclists.org/nmap-dev/
Current thread:
- Discussion: New logging features Thibaud Kehler (Mar 24)
- Re: Discussion: New logging features Thibaud Kehler (Mar 26)