Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zenmap closes immediately upon entering password nmap 7.0 #235

Closed
mozzer74 opened this issue Nov 19, 2015 · 17 comments
Closed

Zenmap closes immediately upon entering password nmap 7.0 #235

mozzer74 opened this issue Nov 19, 2015 · 17 comments
Assignees

Comments

@mozzer74
Copy link

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
Copy link
Author

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
Copy link

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
Copy link

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
Copy link

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
Copy link

@functio Thanks for this workaround!

@stonky
Copy link

stonky commented Nov 23, 2015

@functio ditto workaround!

@levelksk
Copy link

@functio thank you very much!it work!

@dmiller-nmap
Copy link

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
Copy link

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

@stonky
Copy link

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
Copy link

Thanks all! Keep scanning and reporting bugs.

@vinnytroia
Copy link

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
Copy link

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
Copy link

cybernorris commented May 7, 2016

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
Copy link

@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.

@TheMaskedMan101100
Copy link

All you have to do to open Zenmap if this happens is to open terminal and put this in open -a Zenmap type in your password and it should open!

@nexuscan
Copy link

All you have to do to open Zenmap if this happens is to open terminal and put this in open -a Zenmap type in your password and it should open!

this worked for me. thanks.

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

No branches or pull requests

10 participants