post: commit 90b0e6e in bojemoi
Some checks failed
Hugo Build & Deploy / build-deploy (push) Has been cancelled

This commit is contained in:
2026-06-19 07:14:11 +02:00
committed by Betty
parent c564a72bec
commit dd70c4b3bc

View File

@@ -0,0 +1,54 @@
---
title: "[bojemoi] feat(mcp): add full Metasploit RPC service"
date: 2026-06-19T07:14:11+02:00
draft: false
tags: ["commit", "bojemoi", "main"]
categories: ["Git Activity"]
summary: "Commit 90b0e6e par Betty dans bojemoi"
author: "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(-)
```