mirror of
https://github.com/GH05TCREW/MetasploitMCP.git
synced 2026-07-21 00:45:55 -04:00
1aec6127e6
- Add RPC_CALL_TIMEOUT (30s) constant for RPC operations - Wrap list_exploits and list_payloads with asyncio.wait_for to prevent hanging - Add timeout handling to list_active_sessions and list_listeners - Add timeout handling to health check endpoint - Improve error messages with specific timeout information - Add debug logging for RPC calls to help diagnose communication issues - Add check_msf_connection() helper function for connection status - Add comprehensive timeout error handling with user-friendly messages Fixes issue where list_exploits call would hang for 3+ minutes when Metasploit server is slow or unresponsive. Now fails fast with clear error message after 30 second timeout.
17 lines
1.1 KiB
Plaintext
17 lines
1.1 KiB
Plaintext
Stack trace:
|
|
Frame Function Args
|
|
000FFFFCD30 00210062B0E (0021028A770, 00210275E51, 00000000059, 000FFFFB690)
|
|
000FFFFCD30 0021004846A (00210278640, 00200000000, 00000000000, 00000000001)
|
|
000FFFFCD30 002100484A2 (00000000000, 00000000000, 00000000059, 00800440042)
|
|
000FFFFCD30 0021006E496 (00210045323, 002103588D0, 00000000000, 0000000000D)
|
|
000FFFFCD30 0021006E4A9 (00210045170, 0021023D7E0, 002100448F2, 000FFFFC890)
|
|
000FFFFCD30 00210070DE4 (00000000013, 00000000001, 000FFFFC890, 00210278640)
|
|
000FFFFCD30 0021005AB65 (000FFFFC9E0, 00000000000, 00000000000, 008FFFFFFFF)
|
|
000FFFFCD30 0021005B335 (00000000002, 00200001000, 00200000004, 00000000030)
|
|
000FFFFCD30 0021005B847 (002100DF73E, 00000000000, 00000000000, 00000000000)
|
|
000FFFFCD30 0021005BB86 (00210142BC0, 00000000000, FFFFFFFFFFFFFF40, 00200000000)
|
|
000FFFFCD30 00210048C0C (00000000000, 00000000000, 00000000000, 00000000000)
|
|
000FFFFFFF0 00210047716 (00000000000, 00000000000, 00000000000, 00000000000)
|
|
000FFFFFFF0 002100477C4 (00000000000, 00000000000, 00000000000, 00000000000)
|
|
End of stack trace
|