Nmap Development mailing list archives

FW: Can't search through Zenmap


From: Neil Higginbotham <neilhigginbotham () hotmail com>
Date: Sun, 15 Mar 2009 10:33:38 -0400




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:
On Thu, Mar 12, 2009 at 07:19:03AM -0400, Neil Higginbotham wrote:
I keep getting a scan fail when I use the Zenmap interface e.g
"Failed nmap -F -S -T4 www.site.com". with a line going through it.
Nmap is working fine so its not related to that. I'm wondering if
there is any configuration in Zenmap for using the namp api, i just
couldn't find anything. Thanks.

Your command line has an error. The -S (source address) option takes an
argument, so it interprets -T4 as being a source address. You probably
see an error message like

Failed to resolve/decode supposed IPv4 source address -T4. Note that if
you
are using IPv6, the -6 argument must come before -S
QUITTING!

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.

Okay, all the above still stands. Try setting nmap_command_path in
~/.zenmap/zenmap.conf, and run
      ZENMAP_DEVELOPMENT=1 zenmap -v -v -v
Please send the results to the nmap-dev list, so more people than I can
think about the error.

David Fifield

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


Thanks for any help!
Neil

_________________________________________________________________
Express your personality in color! Preview and select themes for HotmailĀ®. 
http://www.windowslive-hotmail.com/LearnMore/personalize.aspx?ocid=TXT_MSGTX_WL_HM_express_032009#colortheme

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


Current thread: