Nmap Development mailing list archives
Re: NSEC Enumeration script
From: Patrik Karlsson <patrik () cqure net>
Date: Fri, 11 Feb 2011 07:17:31 +0100
On Feb 10, 2011, at 22:56 , John Bond wrote:
have updated things to use an any query [although im not doing it on the parent for some reason although i still think the parent is not needed] much more effective. and updated the dns lib to support the any query but a bit of a have if findNiceAnswer gets a dtype of 255 it will return a {dtype, answer} or an list of theses. Also if anyone could let me know how to sort list properly in lua that would be great
If you want to sort an array you could use the table.sort function. The simplest way of calling it is simply like this: table.sort(arr) You can also supply it with a function as the second argument to perform more complex sorting: table.sort(arr, function(a,b) return a.name < b.name end ) Sorting tables is different.
ill look at standardising the output next <dns.lua.patch><dns-nsec-enum.nse>_______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/
//Patrik -- Patrik Karlsson http://www.cqure.net http://www.twitter.com/nevdull77 _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/
Current thread:
- NSEC Enumeration script John Bond (Feb 04)
- Re: NSEC Enumeration script David Fifield (Feb 07)
- Re: NSEC Enumeration script David Fifield (Feb 07)
- Re: NSEC Enumeration script John Bond (Feb 07)
- Re: NSEC Enumeration script John Bond (Feb 07)
- Re: NSEC Enumeration script John Bond (Feb 08)
- Re: NSEC Enumeration script John Bond (Feb 09)
- Re: NSEC Enumeration script Patrik Karlsson (Feb 09)
- Re: NSEC Enumeration script John Bond (Feb 09)
- Re: NSEC Enumeration script John Bond (Feb 10)
- Re: NSEC Enumeration script Patrik Karlsson (Feb 10)
- Re: NSEC Enumeration script John Bond (Feb 15)
- Re: NSEC Enumeration script John Bond (Feb 24)
- Re: NSEC Enumeration script David Fifield (Feb 26)
- Re: NSEC Enumeration script John Bond (Feb 26)
- Re: NSEC Enumeration script John Bond (Feb 26)
- Re: NSEC Enumeration script David Fifield (Feb 26)
- Re: NSEC Enumeration script David Fifield (Feb 26)
- Re: NSEC Enumeration script John Bond (Feb 26)
- Re: NSEC Enumeration script John Bond (Feb 26)
- Re: NSEC Enumeration script David Fifield (Feb 26)
- Re: NSEC Enumeration script David Fifield (Feb 07)
- Re: NSEC Enumeration script David Fifield (Feb 07)