[PR #6] [MERGED] Support shell switch in meterpreter session #10

Closed
opened 2026-02-27 13:57:42 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/GH05TCREW/MetasploitMCP/pull/6
Author: @DullJZ
Created: 7/14/2025
Status: Merged
Merged: 7/14/2025
Merged by: @GH05TCREW

Base: mainHead: main


📝 Commits (2)

  • 675b7f2 Support shell switch in meterpreter session
  • 275bbd3 Prevent repeated switching of shell modes.

📊 Changes

1 file changed (+29 additions, -7 deletions)

View changed files

📝 MetasploitMCP.py (+29 -7)

📄 Description

Fix the problem that send_session_command function always enters infinite waiting with ends_strs=None while shell command is typed.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/GH05TCREW/MetasploitMCP/pull/6 **Author:** [@DullJZ](https://github.com/DullJZ) **Created:** 7/14/2025 **Status:** ✅ Merged **Merged:** 7/14/2025 **Merged by:** [@GH05TCREW](https://github.com/GH05TCREW) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (2) - [`675b7f2`](https://github.com/GH05TCREW/MetasploitMCP/commit/675b7f2f9bfa1a67a143a2d9d273b1388b6b4977) Support shell switch in meterpreter session - [`275bbd3`](https://github.com/GH05TCREW/MetasploitMCP/commit/275bbd36c299ac3e6e2fa779846e3407fccc19a3) Prevent repeated switching of shell modes. ### 📊 Changes **1 file changed** (+29 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `MetasploitMCP.py` (+29 -7) </details> ### 📄 Description Fix the problem that `send_session_command` function always enters infinite waiting with `ends_strs=None` while `shell` command is typed. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-27 13:57:42 -05:00
yindo closed this issue 2026-02-27 13:57:42 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: yindo/MetasploitMCP#10