Zenmap closes immediately upon entering password nmap 7.0 #235

Closed
mozzer74 opened this Issue Nov 19, 2015 · 15 comments

Projects

None yet

8 participants

@mozzer74

Just installed 7.0 in Yosemite, no previous versions of nmap or zenmap were on this system.

I launch zenmap, put in my password, and it immediately closes.

Thoughts?

@mozzer74

I forgot, here's the command output:

Traceback (most recent call last):
File "./zenmap_wrapper.py", line 173, in
substitute_key_file(in_file_name, out_file_name, REPLACEMENTS)
File "./zenmap_wrapper.py", line 63, in substitute_key_file
in_file = open(in_file_name, "r")
IOError: [Errno 2] No such file or directory: '/Applications/Zenmap.app/Contents/Resources/etc/pango/pangorc.in'

@hagihala

I have encountered this issue on OSX 10.10.5.

Log output in /var/log/system.log:

Nov 20 12:01:50 ***s-MacBook-Pro.local authexec[38604]: executing /Applications/Zenmap.app/Contents/MacOS/zenmap_wrapper.py
Nov 20 12:01:50 ***s-MacBook-Pro com.apple.xpc.launchd[1] (org.insecure.Zenmap.143736[38592]): FairPlay decryption failed on binary.
@dmiller-nmap dmiller-nmap self-assigned this Nov 20, 2015
@dmiller-nmap

http://www.gtk.org/download/macos.php saving this here.
On Nov 19, 2015 9:12 PM, "Yusuke Hagihara" notifications@github.com wrote:

I have encountered this issue on OSX 10.10.5.

Log output in /var/log/system.log:

Nov 20 12:01:50 **s-MacBook-Pro.local authexec[38604]: executing /Applications/Zenmap.app/Contents/MacOS/zenmap_wrapper.py
Nov 20 12:01:50 *
*s-MacBook-Pro com.apple.xpc.launchd1: FairPlay decryption failed on binary.


Reply to this email directly or view it on GitHub
#235 (comment).

@functio
functio commented Nov 22, 2015

Quick hack: Just create the missing file:

sudo mkdir -p /Applications/Zenmap.app/Contents/Resources/etc/pango && touch /Applications/Zenmap.app/Contents/Resources/etc/pango/pangorc.in

@dmiller-nmap

@functio Thanks for this workaround!

@stonky
stonky commented Nov 23, 2015

@functio ditto workaround!

@levelksk

@functio thank you very much!it work!

@dmiller-nmap

I believe this bug should be resolved with the 7.01 release. Please try the new .dmg installer at https://nmap.org/download.html#macosx and let us know if it solves this issue for you.

@levelksk

@dmiller-nmap 7.01 is good! i can use it in OSX 10.11.2

@stonky
stonky commented Dec 15, 2015

@dmiller-nmap

I believe this bug should be resolved with the 7.01 release.

Yep; sorted thank you.

@dmiller-nmap

Thanks all! Keep scanning and reporting bugs.

@vinnytroia

I hate to re-has old issues, but this is happening on a fresh install of 10.11.3 with NMAP 7.0.1 installer. Anything i should be looking for? The workaround listed above also does not work.

@vinnytroia

FYI -- im getting a different command line error
./zenmap.bin: line 67: ./Contents/MacOS/python: No such file or directory

But the file is there...

@cybernorris
cybernorris commented May 7, 2016 edited

Ditto on failing to closing after entering password.

NMap 7.12
OSX 10.11.4 and 10.10.5

May  6 20:49:23 cardenphoto.local authexec[50772]: executing /Applications/Zenmap.app/Contents/MacOS/zenmap.bin
May  6 20:49:35 cardenphoto com.apple.xpc.launchd[1] (org.insecure.Zenmap.101988[50764]): FairPlay decryption failed on binary.
May  6 21:12:49 PhotoMac authexec[2662]: executing /Applications/Zenmap.app/Contents/MacOS/zenmap.bin
May  6 21:12:51 PhotoMac com.apple.xpc.launchd[1] (org.insecure.Zenmap.298272[2659]): FairPlay decryption failed on binary.

Found solution

It looks like you have leftover files from the previous install of Zenmap. I don't know how to make an installer that deletes those old files, so for now you'll have to delete the Zenmap.app directory entirely and reinstall: sudo rm -rf /Applications/Zenmap.app/

@dmiller-nmap

@vinnytroia Please upgrade to Nmap 7.12, which should solve this issue. As @cybernorris points out, you may need to delete the Zenmap.app directory before proceeding. Also, you may encounter a crash in Zenmap that has a known simple workaround.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment