Vibehacker Metasploit MCP

by foolsec
Verified
Apache 2.0
  • Linux
  • Apple

local-only server

The server can only run on the client’s local machine because it depends on local resources.

Integrations

  • Enables repository cloning from GitHub as part of the setup process.

  • Provides a comprehensive interface to Metasploit Framework capabilities, enabling listing of exploits and payloads, payload generation, target exploitation, vulnerability scanning, and management of active sessions including command execution.

Vibehacker Metasploit MCP

Metasploit Framework를 위한 FastMCP 기반 인터페이스로, AI 에이전트가 Metasploit 기능과 상호 작용할 수 있도록 합니다.

필수 조건

  • 파이썬 3.10+
  • 메타스플로잇 프레임워크
  • uv(Python 패키지 관리자)

uv로 설정

이 프로젝트에서는 종속성 관리를 위해 uv를 사용합니다. uv는 빠르고 안정적인 Python 패키지 설치 및 확인 프로그램입니다.

UV 설치

uv가 설치되어 있지 않은 경우:

지엑스피1

프로젝트 설정

  1. 저장소를 복제합니다.
git clone https://github.com/foolsec/vibehacker_metasploit_mcp.git cd vibehacker_metasploit_mcp
  1. uv를 사용하여 가상 환경을 만들고 활성화합니다.
uv venv source .venv/bin/activate # On Windows: .venv\Scripts\activate
  1. 종속성 설치:
uv pip install -e .

Metasploit RPC 서버 실행

애플리케이션을 실행하기 전에 Metasploit RPC 서버를 시작하세요.

# Full configuration with all options msfrpcd -P kalipassword -S -a 127.0.0.1 -p 55553

또는 더 간단한 명령을 사용하여 기본 포트(55553)에서 백그라운드로 RPC 서버를 시작합니다.

msfrpcd -P your_password

환경 변수

다음 환경 변수를 설정하세요.

export MSF_PASSWORD=kalipassword export MSF_SERVER=127.0.0.1 export MSF_PORT=55553

애플리케이션 실행

python main.py

또는 도구를 테스트하려면

mcp dev main.py

특징

  • 사용 가능한 Metasploit 익스플로잇 목록
  • 사용 가능한 페이로드 나열
  • 페이로드 생성
  • 타겟에 대한 익스플로잇 실행
  • 스캔 대상
  • 활성 세션 관리
  • 세션에 명령 보내기

특허

자세한 내용은 LICENSE 파일을 참조하세요.

-
security - not tested
A
license - permissive license
-
quality - not tested

Metasploit Framework를 위한 FastMCP 기반 인터페이스로, AI 에이전트가 Metasploit 기능과 상호 작용하여 악용, 페이로드 생성, 대상 스캐닝 및 세션 관리를 수행할 수 있도록 합니다.

  1. Prerequisites
    1. Setup with uv
      1. Installing uv
      2. Setting up the project
      3. Running Metasploit RPC Server
      4. Environment Variables
      5. Running the Application
    2. Features
      1. License
        ID: an46g2am4i