
Nmap Development mailing list archives
Discussion: New logging features
From: Thibaud Kehler <nmap-dev () t3 sy gs>
Date: Tue, 24 Mar 2020 10:59:22 +0100
Hello All, first I want to say "Thank you" to all contributors to Nmap. As a penetration tester I use Nmap on a daily basis and really enjoy what the tool has become. However there are some things that really bug me concerning the logging, which is why I want to propose some changes: 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 B. New option --no-overwrite Abort with an error when overwriting an exiting file, if the flag option --no-overwrite has been set. Pro: downward compatibility Con: not so safe (but might be set by default in an alias) 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. 3. Default log file names Like other tools, e.g. testssl --log, Nmap could automatically generate log file names based on the target and some essential parameters. This would be nice to have, but might require a more more extensive work. To avoid unnecessary work effort, I would like to discuss these changes with you, before I work out a pull request. So what do you think? -- Kind regards 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)