Skip to main content
Glama

check_module

Check available exploit modules for netexec protocols like RDP, LDAP, SMB, and SSH to select appropriate modules for penetration testing before execution.

Instructions

Call this before before using a module to check available exploit modules for a certain netexec supported protocol {rdp,ldap,winrm,smb,ssh,nfs,ftp,wmi,mssql,vnc} and based on the description of the modules chose one to perform

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
protYes

Implementation Reference

  • The handler function for the 'check_module' tool. It takes a protocol string and runs the 'netexec <prot> -L' command using the run_command helper to list available modules.
    def check_module(prot:str): return run_command(["netexec",prot,'-L'])
  • Registers the 'check_module' tool with the MCP server using the @mcp.tool decorator, specifying the name and description.
    @mcp.tool(name="check_module",description="Call this before before using a module to check available exploit modules for a certain netexec supported protocol {rdp,ldap,winrm,smb,ssh,nfs,ftp,wmi,mssql,vnc} and based on the description of the modules chose one to perform")

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/YoussefSahnoun/PentestMCP'

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