Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GH05TCREW/MetasploitMCP
/ MockMsfRpcError
Class
MockMsfRpcError
tests/test_tools_integration.py:95–96 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
93
return
b
"test_payload_bytes"
94
95
class
MockMsfRpcError(Exception):
96
pass
97
98
# Apply mocks
99
sys.modules[
'pymetasploit3.msfrpc'
].MsfRpcClient = MockMsfRpcClient
Callers
1
test_list_exploits_error
Method · 0.70
Calls
no outgoing calls
Tested by
1
test_list_exploits_error
Method · 0.56