mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
Fixes #6040
This commit is contained in:
parent
0ed5cd2cfd
commit
c310c695a1
3 changed files with 4 additions and 4 deletions
|
|
@ -1992,7 +1992,7 @@ def _cleanupEnvironment():
|
|||
Cleanup environment (e.g. from leftovers after --shell).
|
||||
"""
|
||||
|
||||
if issubclass(_http_client.socket.socket, socks.socksocket):
|
||||
if getattr(_http_client.socket, "socket", None) is not getattr(socks, "_orgsocket", None):
|
||||
socks.unwrapmodule(_http_client)
|
||||
|
||||
if hasattr(socket, "_ready"):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue