Nmap Development mailing list archives

Re: Zenmap crash using -iR and -iL


From: David Fifield <david () bamsoftware com>
Date: Sat, 20 Sep 2008 09:35:47 -0600

On Sat, Sep 20, 2008 at 02:41:57PM +0100, jah wrote:
Having created a zenmap profile containing either -iR or -iL with svn
r10296 I get the following upon beginning the scan:

CRASH REPORTED:
SYS.PLATFORM: win32
OS.NAME: nt
Zenmap Version: 4.76
TRACEBACK:
Traceback (most recent call last):
  File "zenmapGUI\ScanNotebook.pyo", line 256, in start_scan_cb
AttributeError: 'NmapOptions' object has no attribute 'num_random_targets'

Neither num_random_targets nor input_filename on line 256 have a
reference in NmapOptions.py and I wasn't able to determine where these
should be introduced.  The attached instead changes them to ops["-iR"]
and ops["-iL"] respectively in ScanNotebook which at least prevents the
error, but I guess that this is not quite the way it will ultimately be
fixed...

Thanks. Your fix is quite correct. I changed the interface of
NmapOptions while I was making it part of the profile editor. I didn't
update that code in ScanNotebook.py.

David Fifield

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


Current thread: