MCPcopy Create free account
hub / github.com/GH05TCREW/MetasploitMCP / __init__

Method __init__

tests/test_tools_integration.py:63–65  ·  view source on GitHub ↗
(self, cid='test-console-id')

Source from the content-addressed store, hash-verified

61
62class MockMsfConsole:
63 def __init__(self, cid='test-console-id'):
64 self.cid = cid
65 self._command_history = []
66
67 def read(self):
68 return {'data': 'msf6 > ', 'prompt': '\x01\x02msf6\x01\x02 \x01\x02> \x01\x02', 'busy': False}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected