Nmap Development mailing list archives
Re: [nmap-svn] r26285 - nmap/scripts
From: Djalal Harouni <tixxdz () opendz org>
Date: Fri, 2 Sep 2011 11:54:04 +0100
On Thu, Sep 01, 2011 at 09:11:00PM -0700, commit-mailer () insecure org wrote:
Author: david Date: Thu Sep 1 21:11:00 2011 New Revision: 26285 Log: Add IPv6 multicast host discovery scripts from Weilin. Added: nmap/scripts/targets-ipv6-multicast-echo.nse nmap/scripts/targets-ipv6-multicast-invalid-dst.nse nmap/scripts/targets-ipv6-multicast-slaac.nse ... +local function get_ipv6_interface_info_by_name(if_name) + local ifaces = nmap.list_interfaces() + local iface + local if_nfo + for _,iface in pairs(ifaces) do + if if_name == iface.device and (#iface.address>15 or string.find(iface.address, "::")) then + if_nfo = iface + return if_nfo + end + end + return nil +end
David you can remove this workaround now and use: local iface, err = nmap.get_interface_info(if_name) It was patched to handle IPv6 info. -- tixxdz http://opendz.org _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/
Current thread:
- Re: [nmap-svn] r26285 - nmap/scripts Djalal Harouni (Sep 05)
- Re: [nmap-svn] r26285 - nmap/scripts David Fifield (Sep 05)
- Re: [nmap-svn] r26285 - nmap/scripts Djalal Harouni (Sep 05)
- Re: [nmap-svn] r26285 - nmap/scripts Xu Weilin (Sep 05)
- Re: [nmap-svn] r26285 - nmap/scripts Djalal Harouni (Sep 05)
- Re: [nmap-svn] r26285 - nmap/scripts Djalal Harouni (Sep 05)
- Re: [nmap-svn] r26285 - nmap/scripts Xu Weilin (Sep 05)
- Re: [nmap-svn] r26285 - nmap/scripts Djalal Harouni (Sep 05)
- Re: [nmap-svn] r26285 - nmap/scripts David Fifield (Sep 05)