Nmap Development mailing list archives
Re: warning message when overwriting output files
From: Daniel Miller <bonsaiviking () gmail com>
Date: Wed, 12 Nov 2014 13:42:32 -0600
On Mon, Nov 10, 2014 at 11:37 AM, Robin Wood <robin@digi.ninja> wrote:
It would be good to have a warning when a scan which does outputs (-o?) is going to overwrite existing files. I've just managed to lose a load of work when I switched from TCP to UDP and forgot to change the filename.
Robin, That sounds like a good idea. How would you expect it to act? We don't have any other interactive features, so asking for confirmation would be a departure from our usual way of doing things. We could also just append to the filename if it exists, or copy the old one to X.orig, or something. For future reference, I usually avoid this problem by including %T in my output filename to include the timestamp, so unless I do two scans within a second of each other, there's no clobbering. Dan _______________________________________________ Sent through the dev mailing list http://nmap.org/mailman/listinfo/dev Archived at http://seclists.org/nmap-dev/
Current thread:
- warning message when overwriting output files Robin Wood (Nov 10)
- Re: warning message when overwriting output files Daniel Miller (Nov 12)
- Re: warning message when overwriting output files Robin Wood (Nov 12)
- Re: warning message when overwriting output files Daniel Miller (Nov 12)
- Re: warning message when overwriting output files Robin Wood (Nov 12)
- Re: warning message when overwriting output files Robin Wood (Nov 12)
- Re: warning message when overwriting output files Daniel Miller (Nov 12)