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

Method __init__

tests/test_helpers.py:36–37  ·  view source on GitHub ↗
(self, cid='test-console-id')

Source from the content-addressed store, hash-verified

34
35class MockMsfConsole:
36 def __init__(self, cid='test-console-id'):
37 self.cid = cid
38
39 def read(self):
40 return {'data': 'test output', 'prompt': 'msf6 > ', 'busy': False}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected