I'm sorry, I caught up with this thread a bit late.

Maybe I'm not even answering the right question, but I installed nmap 4.68 and zenmap using an installer, nmap-4.68.dmg obtained from fyoror's web site. I see that there is now a 4.75 version on http://nmap.org/dist/
Everything installed perfectly and ran fine "out of the box"

To answer the original question, it lives in ~/.zenmap/zenmap.conf, Here's mine:

[closed_port_highlight]
regex = \d{1,5}/.{1,5}\s+closed\s+.*
bold = 0
text = [65535, 0, 0]
italic = 0
highlight = [65535, 65535, 65535]
underline = 0

[date_highlight]
regex = \d{4}-\d{2}-\d{2}\s\d{2}:\d{2}\s.{1,4}
bold = 1
text = [0, 0, 0]
italic = 0
highlight = [65535, 65535, 65535]
underline = 0

[details_highlight]
regex = ^[A-Za-z]+(\s[A-Za-z]*){0,8}:
bold = 1
text = [0, 0, 0]
italic = 0
highlight = [65535, 65535, 65535]
underline = 1

[diff]
diff_mode = compare
colored_diff = True

[diff_colors]
unchanged = [65213, 65535, 38862]
added = [29490, 42662, 54079]
not_present = [58009, 14925, 14925]
modified = [63881, 42182, 13193]

[filtered_port_highlight]
regex = \d{1,5}/.{1,5}\s+filtered\s+.*
bold = 0
text = [38502, 39119, 0]
italic = 0
highlight = [65535, 65535, 65535]
underline = 0

[hostname_highlight]
regex = (\w{2,}://)*\w{2,}\.\w{2,}(\.\w{2,})*(/[\w{2,}]*)*
bold = 1
text = [0, 111, 65535]
italic = 1
highlight = [65535, 65535, 65535]
underline = 1

[ip_highlight]
regex = \d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}
bold = 1
text = [0, 0, 0]
italic = 0
highlight = [65535, 65535, 65535]
underline = 0

[open_port_highlight]
regex = \d{1,5}/.{1,5}\s+open\s+.*
bold = 1
text = [0, 41036, 2396]
italic = 0
highlight = [65535, 65535, 65535]
underline = 0

[output_highlight]
enable_highlight = True

[paths]
nmap_command_path = nmap

[port_list_highlight]
regex = PORT\s+STATE\s+SERVICE(\s+VERSION)?\s.*
bold = 1
text = [0, 1272, 28362]
italic = 0
highlight = [65535, 65535, 65535]
underline = 0

[search]
search_db = 1
file_extension = usr
store_results = 1
directory =
save_time = 60;days
---------------------------------

HTH
Walt


On Nov 9, 2008, at 10:23 AM, Charles Darwin wrote:


On 8-Nov-08, at 10:45 PM, Bryan Blackburn wrote:

On Sat, Nov 08, 2008 at 08:37:45PM -0500, Charles Darwin said:

On 8-Nov-08, at 8:33 PM, Daniel J. Luke wrote:

On Nov 8, 2008, at 7:57 PM, Charles Darwin wrote:
On 8-Nov-08, at 3:50 PM, Ryan Schmidt wrote:
On Nov 8, 2008, at 09:11, Charles Darwin wrote:

Does anyone know where the zenmap.conf is? I need to enable
zenmap. Shouldn't there be a variant for it?

What port are we talking about?

nmap


The nmap port does not install the zenmap gui. (Patches welcome for
enhancements).


I read about it here:

<http://nmap.org/book/inst-macosx.html>

"To enable Zenmap to find it, set the nmap_command_path variable in
zenmap.conf to /sw/bin/nmap or/opt/local/bin/nmap as described in the
section called “The nmap Executable”."

That only applies if you install zenmap via some other method, since the
nmap port doesn't currently install it.  However, see

<http://trac.macports.org/ticket/17148>

Once that's done you shouldn't have to mess with zenmap.conf as long as
/opt/local/bin is in your PATH.

Bryan


$ port installed nmap
The following ports are currently installed:
nmap @4.76_0+zenmap (active)

That was quick. Thanks,

Charles

Wait!
$ sudo zenmap
 File "{prefix}/opt/bin//zenmap", line 102, in <module>
   import zenmapGUI.App
File "{prefix}/opt/lib/python2.5/site-packages/zenmapGUI/App.py", line 34, in <module>
   import gtk
Error in sys.excepthook:
Traceback (most recent call last):
 File "{prefix}/opt/bin//zenmap", line 47, in excepthook
   import gtk
ImportError: No module named gtk

Original exception was:
Traceback (most recent call last):
 File "{prefix}/opt/bin//zenmap", line 102, in <module>
   import zenmapGUI.App
File "{prefix}/opt/lib/python2.5/site-packages/zenmapGUI/App.py", line 34, in <module>
   import gtk
ImportError: No module named gtk


_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Reply via email to