Nmap Development mailing list archives

Re: CIDR range capabilities for ipOps (NSE Leftovers - Part 3)


From: David Fifield <david () bamsoftware com>
Date: Tue, 18 Sep 2012 12:57:57 -0700

On Tue, Sep 18, 2012 at 03:54:30PM -0400, Brendan Byrd wrote:
This patch seems to be working correctly. At least, I tried
        ipOps.get_ranges_from_ips("0.0.0.1", "255.255.255.254")
and it seemed to do the right thing.

On a related note, what is your test platform for these?  I had to set
up that "standalone" placeholder to get things to work outside of
NMap, and I don't know where test cases or any testing is done for Lua
or NMap in general.

./nmap --script=test

David Fifield

Attachment: test.nse
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: