Nmap Development mailing list archives
Re: FW: Can't search through Zenmap
From: David Fifield <david () bamsoftware com>
Date: Tue, 24 Mar 2009 11:29:22 -0600
On Sun, Mar 15, 2009 at 10:33:38AM -0400, Neil Higginbotham wrote:
Date: Sat, 14 Mar 2009 10:30:53 -0600 From: david () bamsoftware com To: neilhigginbotham () hotmail com Subject: Re: Can't search thorugh Zenmap On Sat, Mar 14, 2009 at 11:53:32AM -0400, Neil Higginbotham wrote:On Sat, Mar 14, 2009 at 09:57:50AM -0400, Neil Higginbotham wrote:Thanks for your prompt reply. I've tried a combination or command lines, which also work on the command line. They all fail intermediately through the interface. Is there any other configuration I can look at other that other that the Zenmap.conf file.Maybe it can't find the nmap.exe executable. Did you install Nmap and Zenmap or are you just running them from within some directory not in the PATH? In that case you need to configure nmap_command_path in the zenmap.conf file: http://nmap.org/book/zenmap-files.html#zenmap-executable But when Zenmap can't execute Nmap it normally shows a dialog explaining the situation. Try running set ZENMAP_DEVELOPMENT=1 zenmap -v -v -v and then send in the zenmap.exe.log file.I changed the nmap_command_path to where the executable file is ang ran the debug. I got back the following: DEBUG - 2009-03-15 14:28:48,769 - >>> Start Scan: DEBUG - 2009-03-15 14:28:48,769 - >>> Target: 'ebusinessnetworking.com' DEBUG - 2009-03-15 14:28:48,769 - >>> Profile: 'Intense scan' DEBUG - 2009-03-15 14:28:48,769 - >>> Command: 'nmap -T4 ebusinessnetworking.com' DEBUG - 2009-03-15 14:28:48,772 - >>> Temporary files: DEBUG - 2009-03-15 14:28:48,772 - >>> XML OUTPUT: /tmp/zenmap-zFNtD6.xml DEBUG - 2009-03-15 14:28:48,773 - PATH=/usr/java/jdk1.6.0_10/bin:/usr/local/Trolltech/QtEmbedded-4.4.3/bin:/usr/lib/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:./ DEBUG - 2009-03-15 14:28:48,773 - Running command: ['nmap', '-T4', 'ebusinessnetworking.com', '-oX', '/tmp/zenmap-zFNtD6.xml'] DEBUG - 2009-03-15 14:28:48,784 - Running command: nmap -T4 ebusinessnetworking.com DEBUG - 2009-03-15 14:28:48,787 - Refresh nmap output DEBUG - 2009-03-15 14:28:48,788 - Refresh nmap output DEBUG - 2009-03-15 14:28:48,788 - Refresh nmap output DEBUG - 2009-03-15 14:28:50,791 - Refresh nmap output WARNING - 2009-03-15 14:28:50,791 - An error occurred during the scan execution! WARNING - 2009-03-15 14:28:50,791 - Command that raised the exception: 'nmap -T4 ebusinessnetworking.com -oX /tmp/zenmap-zFNtD6.xml' WARNING - 2009-03-15 14:28:50,791 - Scan output: DEBUG - 2009-03-15 14:28:50,792 - Scan terminated unexpectedly: nmap -T4 ebusinessnetworking.com DEBUG - 2009-03-15 14:28:50,792 - Refresh nmap output DEBUG - 2009-03-15 14:28:50,792 - Refresh nmap output
I think you have made a mistake in setting nmap_command_path. See this line:
DEBUG - 2009-03-15 14:28:48,773 - Running command: ['nmap', '-T4', 'ebusinessnetworking.com', '-oX', '/tmp/zenmap-zFNtD6.xml']
It shouldn't be 'nmap' but rather whatever you set nmap_command_path to. When I set nmap_command_path to "/usr/bin/nmap" I get DEBUG - 2009-03-24 11:25:59,399 - Running command: ['/usr/bin/nmap', u'-T4', u'localhost', '-oX', '/tmp/zenmap-R8AU78.xml'] It looks like nmap is being found but not working for some reason. It is possible that you have a broken nmap installed earlier in your PATH than a working nmap. What is the output of "which nmap"? Do you have both /usr/local/bin/nmap and /usr/bin/nmap? David Fifield _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://SecLists.Org
Current thread:
- Can't search thorugh Zenmap Neil Higginbotham (Mar 12)
- Re: Can't search thorugh Zenmap Brandon Enright (Mar 12)
- Re: Can't search thorugh Zenmap David Fifield (Mar 12)
- Message not available
- Re: Can't search thorugh Zenmap David Fifield (Mar 14)
- Message not available
- Message not available
- FW: Can't search through Zenmap Neil Higginbotham (Mar 15)
- Re: FW: Can't search through Zenmap David Fifield (Mar 24)
- Message not available