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

Gracefully handle Zenmap config file parsing problems #88

Open
dmiller-nmap opened this issue Mar 21, 2015 · 4 comments
Open

Gracefully handle Zenmap config file parsing problems #88

dmiller-nmap opened this issue Mar 21, 2015 · 4 comments

Comments

@dmiller-nmap
Copy link

Zenmap should never crash with an uncaught exception. We should have a warning dialog and then proceed with defaults instead.

Bug report: http://seclists.org/nmap-dev/2015/q1/369

@s0h3ck
Copy link

s0h3ck commented Mar 22, 2015

I have tried to reproduce the bug, but I wasn't able to get the exact bug. I have successfully crashed Zenmap with no command option given in the zenmap profile configuration, but I cannot reproduce the missing heading error. Is is possible to give more information on the procedure to reproduce the missing heading error? Clearly, Zenmap should not crash as Daniel said, so this is what I should look for sure. Stop me if I am wrong please. Thanks.

@s0h3ck
Copy link

s0h3ck commented Apr 6, 2015

No need to give any further details about missing heading error, because I read in the ConfigParser.py file that is "raised when a key-value pair is found before any section header".

I wonder if you know where is the source code (I mean the file) that show the bug dialog with OK button, and when you click on it, Zenmap crash.

Of course, we can modify ConfigParser.py, but I pretty sure no graphical code should be there, because this file is used to track down the errors.

A better solution is clearly to catch the error after pressing on OK button.

@dmiller-nmap
Copy link
Author

@dmiller-nmap
Copy link
Author

Another crash report (non-color entered for a highlight color): http://seclists.org/nmap-dev/2016/q1/337

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

Successfully merging a pull request may close this issue.

2 participants