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 on Windows shows error: "The logfile 'zenmap.exe.log' could not be opened" #345

Closed
dmiller-nmap opened this issue Mar 24, 2016 · 1 comment

Comments

@dmiller-nmap
Copy link

Looks like the default logfile location is in the same directory as the executable, but a regular user won't have access to write there. We should use either a temp directory or the %USERPROFILE%/.zenmap directory.

Example report with screenshot: http://seclists.org/nmap-dev/2016/q1/338

@dmiller-nmap
Copy link
Author

Py2exe is doing this: http://www.py2exe.org/index.cgi/StderrLog

It's capturing stderr and putting it in the logfile. Maybe we can override this; otherwise we'll have to reopen stderr somewhere else on Windows (like our own logfile)

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

1 participant