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

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

Projects
None yet
1 participant

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

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)

@nmap-bot nmap-bot closed this in 3068b9a May 18, 2016

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