Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheSecuredAnalyst/security-suite
/ close
Method
close
modules/exploit/metasploit.py:251–258 ·
view source on GitHub ↗
Logout and close connection.
(self)
Source
from the content-addressed store, hash-verified
249
250
async
def
close(self) -> None:
251
""
"Logout and close connection."
""
252
if
self.token:
253
try
:
254
await self._call(
"auth.logout"
, [self.token])
255
except
Exception:
256
pass
257
self.token = None
Callers
1
_probe_service
Method · 0.45
Calls
1
_call
Method · 0.95
Tested by
no test coverage detected