mirror of
https://github.com/GH05TCREW/MetasploitMCP.git
synced 2026-07-19 02:54:46 -04:00
start_listener blocked Agent's MCP calling #6
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @DullJZ on GitHub (Jul 13, 2025).
start_listenerfunction exhibits a behavior where it waits for 60 seconds after starting a listener job to poll for new sessions, which results in Agent waiting for a result from MCP.Actually, an exploit such as
linux/x86/meterpreter/reverse_tcpcan take more than 60 seconds to be executed in the target through phishing. Settingstart_listenerto non-blocking mode and using another function to check if there is a new session to establish a connection may be a better choice@DullJZ commented on GitHub (Jul 14, 2025):
Setting
EXPLOIT_SESSION_POLL_TIMEOUTto 5 or lower and usinglist_active_sessionsfunction does work!