Nmap Development mailing list archives

Re: Possible Bug with HOSTS Column


From: David Fifield <david () bamsoftware com>
Date: Thu, 1 Sep 2011 22:48:20 -0700

On Tue, Aug 30, 2011 at 11:07:11PM +0000, Naami, Tim wrote:
To Whom It May Concern:

I am running Zenmap 5.51 on Windows XP SP3.

I don't know if this is a bug, user error, or a user error that causes
a crash (that is still a bug).  I routinely need to generate a list of
IP addresses for host names and vice versa.  For instance I might have
a list of hosts with names like:

      HOST01
      HOST02
      ...
      HOST99

and need to get the IP addresses.  If I use the built-in Ping Scan,
paste my host list in the Target dialog box, the results show up in
Nmap Output but with extra data I don't need.  What I need is shown in
the HOST column.  In other words I want the final listing to be
something like:

      HOST01 (10.100.1.23)
      HOST02 (10.125.11.38)
      ...
      HOST99 (10.250.98.102)

If you just want to do reverse name resolution, you should run a list
scan (-sL) instead of a ping scan. That will avoid sending any probes to
the target hosts and ensures that none of them will be missing from the
list.

This is EXACTLY what is displayed in the HOST column on the left side
of the program.  If I try to highlight and copy that column it won't
let me select it.  If I highlight one entry and then hold CTRL (or
SHIFT) and click a second entry I get the following error:

Most likely the crash is caused by my attempt to select multiple
entries on the HOSTS list and this is not allowed.  Still this should
not crash the program as it does.  Possibly there should be a warning
message stating selection of multiple items is not allowed instead of
the crash.  Still another issue could be that I have something else
going wrong that causes this issue.

This was a bug that was fixed by Colin Rice in r23771.

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: