Files
blog/content/posts/commits/2026-06-19-commit-90b0e6e.md
Betty dd70c4b3bc
Some checks failed
Hugo Build & Deploy / build-deploy (push) Has been cancelled
post: commit 90b0e6e in bojemoi
2026-06-19 07:14:12 +02:00

1.4 KiB

title, date, draft, tags, categories, summary, author
title date draft tags categories summary author
[bojemoi] feat(mcp): add full Metasploit RPC service 2026-06-19T07:14:11+02:00 false
commit
bojemoi
main
Git Activity
Commit 90b0e6e par Betty dans bojemoi Betty

Commit 90b0e6e

Repository bojemoi
Branch main
Author Betty
Hash 90b0e6ebb8aadd6e7009d5c07b21acc41119790a

Description

Expose 7 new MSF tools via MCP:

  • msf_sessions: list active sessions (meterpreter/shell)
  • msf_session_run: execute command on a session
  • msf_vulns: list confirmed vulnerabilities from DB
  • msf_search: search modules by keyword
  • msf_run_module: launch exploit/auxiliary/post module
  • msf_jobs: list running jobs/handlers
  • msf_job_stop: stop a job by ID

Uses raw msgpack/HTTPS client (no pymetasploit3 dep). Adds msf_rpc_password secret + MSF_HOST/PORT env to MCP stack.

Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com

Files Changed

M	mcp-server/requirements.txt
M	mcp-server/server.py
A	mcp-server/tools/metasploit.py
M	stack/49-service-mcp.yml

Diff Summary

 mcp-server/requirements.txt    |   1 +
 mcp-server/server.py           | 105 ++++++++++++++++-
 mcp-server/tools/metasploit.py | 261 +++++++++++++++++++++++++++++++++++++++++
 stack/49-service-mcp.yml       |   6 +
 4 files changed, 372 insertions(+), 1 deletion(-)