Nmap Development mailing list archives

Re: nping-brute bug + patch


From: David Fifield <david () bamsoftware com>
Date: Tue, 20 Sep 2011 08:42:48 -0700

On Tue, Sep 20, 2011 at 11:11:56AM +0300, Toni Ruottu wrote:
  hey

nping-brute relied on doing "if self.host.bin_ip then" to check if we
were doing an IPv4 scan. The latest changes made bin_ip available for
IPv6 too, which is great. The change made rest of the script simpler,
but I needed to change the check to "if #self.host.bin_ip == 4 then".
I have included a patch that fixes the problem with nping-brute.
However, there might be other scripts that have the same problem.

Thanks Toni, applied.

David Fifield
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: