Skip to main content
Glama

get_exploit_info

Retrieve detailed technical specifications and usage parameters for specific Metasploit exploits to support authorized penetration testing and security assessment workflows.

Instructions

Get detailed information about a specific exploit

Input Schema

NameRequiredDescriptionDefault
exploitPathYesFull exploit path (e.g., 'exploit/windows/smb/ms17_010_eternalblue')

Input Schema (JSON Schema)

{ "properties": { "exploitPath": { "description": "Full exploit path (e.g., 'exploit/windows/smb/ms17_010_eternalblue')", "type": "string" } }, "required": [ "exploitPath" ], "type": "object" }

Implementation Reference

  • Handler logic for the 'get_exploit_info' tool. Extracts the exploitPath argument, executes the msfconsole 'info' command on it, and returns the detailed exploit information as a JSON-formatted text response, with error handling.
    case "get_exploit_info": { const { exploitPath } = args as { exploitPath: string }; try { const info = await executeMsfCommand([`info ${exploitPath}`]); return { content: [ { type: "text", text: JSON.stringify( { success: true, exploitPath, info, }, null, 2 ), }, ], }; } catch (error: any) { return { content: [ { type: "text", text: JSON.stringify({ success: false, error: error.message, }), }, ], }; } }
  • Input schema for the 'get_exploit_info' tool, defining the required 'exploitPath' parameter as a string.
    inputSchema: { type: "object", properties: { exploitPath: { type: "string", description: "Full exploit path (e.g., 'exploit/windows/smb/ms17_010_eternalblue')", }, }, required: ["exploitPath"], },
  • src/index.ts:109-122 (registration)
    Tool registration object for 'get_exploit_info' in the tools array, used for listing available tools via ListToolsRequestSchema.
    { name: "get_exploit_info", description: "Get detailed information about a specific exploit", inputSchema: { type: "object", properties: { exploitPath: { type: "string", description: "Full exploit path (e.g., 'exploit/windows/smb/ms17_010_eternalblue')", }, }, required: ["exploitPath"], }, },

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/andreransom58-coder/kali-metasploit-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server