MCPcopy Index your code
hub / github.com/sqlmapproject/sqlmap / _cleanupEnvironment

Function _cleanupEnvironment

lib/core/option.py:1956–1965  ·  view source on GitHub ↗

Cleanup environment (e.g. from leftovers after --shell).

()

Source from the content-addressed store, hash-verified

1954 threadData.reset()
1955
1956def _cleanupEnvironment():
1957 """
1958 Cleanup environment (e.g. from leftovers after --shell).
1959 """
1960
1961 if issubclass(_http_client.socket.socket, socks.socksocket):
1962 socks.unwrapmodule(_http_client)
1963
1964 if hasattr(socket, "_ready"):
1965 socket._ready.clear()
1966
1967def _purge():
1968 """

Callers 1

initFunction · 0.85

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…