Nmap Development mailing list archives

Re: zenmap issue persists :(


From: d1312 () phx li
Date: Sat, 12 Dec 2015 14:31:10 +0100

Hi guys, sorry, but I still get the FairPlay failure after installing the latest binary (sorry for the delay, I picked 
up a nasty flu when travelling).


12/12/15 14:27:18,586 com.apple.xpc.launchd[1]: (org.insecure.Zenmap.1014112[66058]) FairPlay decryption failed on 
binary.


I did notice something interesting when I attempted to execute the application from the command line, not sure if this 
is of any help:

screen:~$ /Applications/Zenmap.app/Contents/MacOS/Zenmap 
Could not import the zenmapGUI.App module: 
'dlopen(/Applications/Zenmap.app/Contents/Resources/lib/python2.7/gtk/_gtk.so, 2): Library not loaded: 
@executable_path/../Frameworks/libgdk_pixbuf-2.0.0.dylib\n  Referenced from: 
/Applications/Zenmap.app/Contents/Resources/lib/python2.7/gtk/_gtk.so\n  Reason: Incompatible library version: _gtk.so 
requires version 3101.0.0 or later, but libgdk_pixbuf-2.0.0.dylib provides version 3001.0.0'.
I checked in these directories:
    /Applications/Zenmap.app/Contents/Resources/bin
    /Applications/Zenmap.app/Contents/Resources/lib/zenmap
    /Applications/Zenmap.app/Contents/Resources/lib/python27.zip
    /Applications/Zenmap.app/Contents/Resources/lib/python2.7
    /Applications/Zenmap.app/Contents/Resources/lib/python2.7/plat-darwin
    /Applications/Zenmap.app/Contents/Resources/lib/python2.7/plat-mac
    /Applications/Zenmap.app/Contents/Resources/lib/python2.7/plat-mac/lib-scriptpackages
    /Applications/Zenmap.app/Contents/Resources/lib/python2.7/lib-tk
    /Applications/Zenmap.app/Contents/Resources/lib/python2.7/lib-old
    /Applications/Zenmap.app/Contents/Resources/lib/python2.7/lib-dynload
    /Applications/Zenmap.app/Contents/Resources/lib/python2.7/site-packages
    /Applications/Zenmap.app/Contents/Resources/lib/python2.7/site-packages/gtk-2.0
If you installed Zenmap in another directory, you may have to add the
modules directory to the PYTHONPATH environment variable.

screen:~$ /Applications/Zenmap.app/Contents/MacOS/zenmap.bin 
Could not import the zenmapGUI.App module: 
'dlopen(/Applications/Zenmap.app/Contents/Resources/lib/python2.7/gtk/_gtk.so, 2): Library not loaded: 
@executable_path/../Frameworks/libgdk_pixbuf-2.0.0.dylib\n  Referenced from: 
/Applications/Zenmap.app/Contents/Resources/lib/python2.7/gtk/_gtk.so\n  Reason: Incompatible library version: _gtk.so 
requires version 3101.0.0 or later, but libgdk_pixbuf-2.0.0.dylib provides version 3001.0.0'.
I checked in these directories:
    /Applications/Zenmap.app/Contents/Resources/bin
    /Applications/Zenmap.app/Contents/Resources/lib/zenmap
    /Applications/Zenmap.app/Contents/Resources/lib/python27.zip
    /Applications/Zenmap.app/Contents/Resources/lib/python2.7
    /Applications/Zenmap.app/Contents/Resources/lib/python2.7/plat-darwin
    /Applications/Zenmap.app/Contents/Resources/lib/python2.7/plat-mac
    /Applications/Zenmap.app/Contents/Resources/lib/python2.7/plat-mac/lib-scriptpackages
    /Applications/Zenmap.app/Contents/Resources/lib/python2.7/lib-tk
    /Applications/Zenmap.app/Contents/Resources/lib/python2.7/lib-old
    /Applications/Zenmap.app/Contents/Resources/lib/python2.7/lib-dynload
    /Applications/Zenmap.app/Contents/Resources/lib/python2.7/site-packages
    /Applications/Zenmap.app/Contents/Resources/lib/python2.7/site-packages/gtk-2.0
If you installed Zenmap in another directory, you may have to add the
modules directory to the PYTHONPATH environment variable.

The PATH is set to 

screen:~$ echo $PATH
/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/MacGPG2/bin

The actual nmap binary seems to work fine from the command line, and correct reports 7.01 as its version.  The Mac is 
now running OSX 10.11.2, XQuartz version is 2.7.8.

Kind regards,   /// Peter ///


On 10 Dec 2015, at 05:20, Daniel Miller <bonsaiviking () gmail com> wrote:

Peter,

We just released Nmap 7.01 with a different bundler for OS X and a different app layout. I am sincerely hoping this 
solves the "FairPlay decryption" issue, but since I was never able to reproduce it, I don't know. Please try the new 
.dmg installer at https://nmap.org/download.html#macosx <https://nmap.org/download.html#macosx> and let us know if it 
solves this issue for you.

Dan

On Fri, Nov 20, 2015 at 2:24 AM, <d1312 () phx li <mailto:d1312 () phx li>> wrote:
Hi Daniel,

Thanks for the update.

FYI, Console logs the following during a failed attempt:

20/11/15 01:36:52,882 authexec[77111]: executing /Applications/Zenmap.app/Contents/MacOS/zenmap_wrapper.py
20/11/15 01:36:52,952 com.apple.xpc.launchd[1]: (org.insecure.Zenmap.1037792[77105]) FairPlay decryption failed on 
binary.


Thanks for letting us know. Zenmap on OS X has been a real pain to get right, and I'm really sorry it's not working 
for you. A couple things here should make you feel better until we can get this resolved:

First, the warning about insufficient rights really only has to do with running the nmap executable. Zenmap itself 
doesn't need any privileges. So you can get pretty much full functionality by using the unprivileged Zenmap.bin and 
opening scan files that command-line Nmap creates with -oX (or -oA).

Yes, I've been an nmap user from pretty much the beginning so I'm comfortable with command line use and logging 
output.  I know that nmap itself needs root rights to set interfaces into promiscuous mode and manipulate the IP 
stack so it's a matter of starting it up via sudo.  Zenmap just makes it easier to illustrate the concept of port 
scanning to non/less technical people :).


Second, we recently got some updated Apple hardware, so we'll be able to test on a system other than the build 
system, which should eliminate a lot of the path-dependency bugs we're hitting currently. I will personally be 
setting this up and doing a full audit and overhaul of the Zenmap build and packaging process in the coming weeks. 
If this effort is productive, I expect we'll do a bugfix release specifically to address these issues well before 
the next stable point release.

Excellent, and thank you.  Please do not hesitate to contact me directly if there is something I can do to assist.  
It may be decades ago that I wrote my last code but it appears I have retained the ability to break things :)

P

Congrats with the v7 release.
Just installed the nmap 7.00 DMG, zenmap non-start issue persists.  Asks for permission, then nothing happens.
Using Ernestas' way, if I use "/Applications/Zenmap.app/Contents/MacOS/Zenmap.bin", XQuartz starts and zenmap shows 
up, naturally complaining that it doesn't have quite enough rights to fully work.
Using OSX 10.11.1




_______________________________________________
Sent through the dev mailing list
https://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/

Current thread: