Nmap Development mailing list archives
Re: New functions to target.lua library (NSE Leftovers - Part 1)
From: Brendan Byrd <sineswiper () gmail com>
Date: Tue, 21 Aug 2012 17:20:34 -0400
On Tue, Aug 21, 2012 at 5:18 PM, Brendan Byrd <sineswiper () gmail com> wrote:
(This is a split of a larger patch here: http://seclists.org/nmap-dev/2011/q4/558) This patch contains a few new functions to target library, including an exclude list to prevent duplicate IPs from being added, even down to the IP level for ranges. Some caveats: 1. Everything is in Lua. This should probably be converted to pure C code, for speed and accessibility to internal data. 2. This library doesn't have access to NMap's main target and exclude lists, so the new "dupe list" is outside of the existing lists. This means that a new target could still dupe one of the command-specified targets, but it won't dupe after that. This also means that adding a target to the exclude list isn't going to remove future targets that were already added previously. Fixing point #1 would solve all of this. Despite the caveats, I think this might be a good band-aid in the meantime.
Yay, it would help if I included the attachment... -- Brendan Byrd/SineSwiper <SineSwiper () GMail com>
Attachment:
target.lua.patch
Description:
_______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/
Current thread:
- New functions to target.lua library (NSE Leftovers - Part 1) Brendan Byrd (Aug 21)
- Re: New functions to target.lua library (NSE Leftovers - Part 1) Brendan Byrd (Aug 21)
- Re: New functions to target.lua library (NSE Leftovers - Part 1) David Fifield (Sep 06)
- Re: New functions to target.lua library (NSE Leftovers - Part 1) Brendan Byrd (Sep 11)
- Re: New functions to target.lua library (NSE Leftovers - Part 1) David Fifield (Sep 06)
- Re: New functions to target.lua library (NSE Leftovers - Part 1) Brendan Byrd (Aug 21)