Closed Lukas-Ldc closed 1 year ago
Hello, Can you provide the URL to a server that triggers this crash ? You can either post it here or email it to me. Thanks!
Hello, The server that triggers the crash is inside a private network, so you won't be able to access it. Is there any information I can provide that could help you fix the issue ?
The other problem is that the exception occurs in a thread and therefore cannot be caught. When I use SSLyze, a lot of servers are scanned and if an exception occurs, it stops the entire program. Maybe having some general "try catch" on every server scanned, preventing the whole program to crash, could be interesting ? And a warning message could be given to the user "The scan request on the server X and the port Y has been ignored because of the following error : [...]".
Hello,
Indeed, an error happening within one scan is not supposed to crash the whole program, and there is already code in place to prevent that. But it looks like this code is not working when scanning your server.
Unfortunately, without a way to reproduce the bug, I won't be able to fix it. Feel free to re-open this issue if you're able to provide a test server (or how to set one up in a few commands).
Thanks
Describe the bug
When using SSLyze, an exception from nassl (OpenSSLError) crashes the program.
Expected behavior
Not crashing the entire program, ignoring the host if necessary.
Python environment (please complete the following information):
Additional context
Similar issues: