|
Nmap Development
mailing list archives
Re: En error (v. 6.01)
From: David Fifield <david () bamsoftware com>
Date: Wed, 20 Jun 2012 17:58:52 -0700
On Wed, Jun 20, 2012 at 03:54:42PM -0700, David Fifield wrote:
On Tue, Jun 19, 2012 at 01:22:10PM -0700, David Fifield wrote:
On Tue, Jun 19, 2012 at 10:43:58AM +0000, Marek Tomaszewski wrote:
Version: 6.01
Traceback (most recent call last):
File "zenmapGUI\ScanInterface.pyo", line 539, in verify_execution
File "zenmapGUI\ScanInterface.pyo", line 581, in load_from_command
File "zenmapCore\NetworkInventory.pyo", line 143, in add_scan
File "zenmapCore\NetworkInventory.pyo", line 217, in _update_host_info
File "zenmapCore\NmapParser.pyo", line 675, in get_port_protocol_dict
ValueError: invalid literal for int() with base 10: ''
Can you tell us what port specifiation you were using? (Part after -p in
the command.)
I was finally able to reproduce this problem. You have to trick Nmap
into scanning 0 ports for a protocol:
# nmap -sSU - -p T:123,U: -oX - localhost 2>/dev/null | grep scaninfo
<scaninfo type="syn" protocol="tcp" numservices="1" services="123"/>
<scaninfo type="udp" protocol="udp" numservices="0" services=""/>
I've added new error handling to catch this case.
David Fifield
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/
By Date
By Thread
Current thread:
|