mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-01-12 03:31:12 +03:00
When iterating through SSL/TLS protocols during connection establishment, the socket was not being closed when wrap_socket raised an exception. This caused socket resource leaks when connecting to servers that reject certain protocol versions. The fix adds sock.close() calls to both exception handlers, matching the existing pattern used for non-exception failure cases. |
||
|---|---|---|
| .. | ||
| controller | ||
| core | ||
| parse | ||
| request | ||
| takeover | ||
| techniques | ||
| utils | ||
| __init__.py | ||