Nmap Development mailing list archives

Re: BUG: resume for Host without open ports and failed reverse DNS lookup fails


From: David Fifield <david () bamsoftware com>
Date: Fri, 5 Mar 2010 16:47:25 -0700

On Fri, Mar 05, 2010 at 03:14:35PM +0100, vladz wrote:
On Fri, Feb 26, 2010 at 04:48:54PM -0700, David Fifield wrote:
On Wed, Jan 13, 2010 at 01:39:13AM +0100, Till Maas wrote:
I might come up with a patch some other day, but since I am not an
expert in C,
maybe you can.

Thanks. I looked at the resume code and it's kind of tricky. If you
some
up with a patch we'd appreciate seeing it.

Here is a small patch that provides following improvements (bug fixes)
when "--resume" option is called with a normal output file (previously
generated with "-oN"):

 1) When parsing file, search for nmap header string "Nmap scan report
    for" instead of "Interesting ports on" (cf. previous post in the 
    current thread).

 2) Find later IP by using the string "Nmap scan report on *" where "*"
    can be "hostname (ip_addr)" or "ip_addr" depending on whether DNS 
    reverse lookup occured or not.

It looks good to me! I committed it as r16935.

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: