Nmap Development mailing list archives
Zenmap crash using -iR and -iL
From: jah <jah () zadkiel plus com>
Date: Sat, 20 Sep 2008 14:41:57 +0100
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... Regards, jah
--- ScanNotebook.py.orig 2008-09-20 13:08:18.046875000 +0100 +++ ScanNotebook.py 2008-09-20 14:20:55.546875000 +0100 @@ -253,7 +253,7 @@ ops = NmapOptions() ops.parse(command_list[1:]) - if len(ops.target_specs) == 0 and ops.num_random_targets is None and ops.input_filename is None: + if len(ops.target_specs) == 0 and ops["-iR"] is None and ops["-iL"] is None: warn_dialog = HIGAlertDialog(message_format=_("No Target Host"), secondary_text=_("""\ Target specification is mandatory. Either by an address in the target input \
_______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://SecLists.Org
Current thread:
- Zenmap crash using -iR and -iL jah (Sep 20)
- Re: Zenmap crash using -iR and -iL David Fifield (Sep 20)