Nmap Development mailing list archives
[PATCH] Allow comments in exclusion file
From: Tom Sellers <nmap () fadedcode net>
Date: Wed, 29 Jul 2009 17:40:29 -0500
Hello all,
The attached patch modifies targets.cc so that comments will be allowed
in the files specified by the --exculsionfile parameter.
If the patch is accepted the following comment styles would be permitted:
1. Lines beginning with a '#', for example:
#This IP address is for the server with the broken app,
#input validation is your friend...
2. Comments prefixed with '#' that occur after the IP address or network specification.
For example:
196.168.1.1 #home router with limited space on the firewall state table
This functionality will make keeping track of an ongoing and/or lengthy exclusion
list feasible.
This patch should probably be carefully reviewed by someone with more coding experience
that I.
Thanks,
Tom
Attachment:
comments.in.exclusion.file.txt
Description:
_______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://SecLists.Org
Current thread:
- [PATCH] Allow comments in exclusion file Tom Sellers (Jul 29)
- Re: [PATCH] Allow comments in exclusion file David Fifield (Aug 06)
- Re: [PATCH] Allow comments in exclusion file Tom Sellers (Aug 06)
- Re: [PATCH] Allow comments in exclusion file Tom Sellers (Aug 21)
- Re: [PATCH] Allow comments in exclusion file David Fifield (Aug 23)
- Re: [PATCH] Allow comments in exclusion file Tom Sellers (Sep 26)
- Re: [PATCH] Allow comments in exclusion file David Fifield (Sep 28)
- Re: [PATCH] Allow comments in exclusion file David Fifield (Aug 06)
