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 · 15 comments
Closed

Zenmap closes immediately upon entering password nmap 7.0 #235

mozzer74 opened this issue Nov 19, 2015 · 15 comments
Assignees
Labels

Comments

@mozzer74
Copy link

@mozzer74 mozzer74 commented Nov 19, 2015

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

@mozzer74 mozzer74 commented Nov 19, 2015

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

@hagihala hagihala commented Nov 20, 2015

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

@dmiller-nmap dmiller-nmap commented Nov 20, 2015

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

@dmiller-nmap dmiller-nmap commented Nov 22, 2015

@functio Thanks for this workaround!

@stonky
Copy link

@stonky stonky commented Nov 23, 2015

@functio ditto workaround!

@levelksk
Copy link

@levelksk levelksk commented Nov 26, 2015

@functio thank you very much!it work!

@dmiller-nmap
Copy link

@dmiller-nmap dmiller-nmap commented Dec 10, 2015

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

@levelksk levelksk commented Dec 10, 2015

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

@stonky
Copy link

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

@dmiller-nmap dmiller-nmap commented Dec 15, 2015

Thanks all! Keep scanning and reporting bugs.

@vinnytroia
Copy link

@vinnytroia vinnytroia commented Feb 9, 2016

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

@vinnytroia vinnytroia commented Feb 9, 2016

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

@dmiller-nmap dmiller-nmap commented May 7, 2016

@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
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
8 participants
You can’t perform that action at this time.