Nmap Development mailing list archives

Re: Deletion of obsolete script files before installation


From: Tom Sellers <nmap () fadedcode net>
Date: Wed, 18 Nov 2009 14:52:55 -0600

Should we implement a subdirectory for custom scripts to reduce the likelihood of running into this problem in the future?

Tom

On Nov 18, 2009, at 2:17 PM, David Fifield <david () bamsoftware com> wrote:

On Wed, Nov 18, 2009 at 11:51:57AM -0800, Corey Chandler wrote:
David Fifield wrote:
So instead of deleting the entire directory, I made a list of specific script names that will be deleted before installing new scripts. This reduces the chance that someone's custom script will be deleted. I made
the list by installing Nmap 4.76 and comparing its script names with
what we have now.

Not sure how much of a pain in the arse it would be, but could we
potentially have the script matching logic verify checksums before
deletion?  That way if someone changed a script but kept the name, we
won't blow out their work.

I don't think it's worth it. Those scripts were being overwritten on
each installation before they were renamed anyway.

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

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


Current thread: