Skip to main content
Glama

enumerate_domain_users

Identify users in an Active Directory domain by scanning IP addresses, optionally using credentials to discover accounts for security testing.

Instructions

enumerate users on an active directory domain, you can provide username or password if you have some

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ipsYes
usernameNo
passwordNo

Implementation Reference

  • The handler function decorated with @mcp.tool for registration. Executes netexec smb --users on the provided IP addresses to enumerate domain users, optionally using provided username and password credentials.
    @mcp.tool(name="enumerate_domain_users",description="enumerate users on an active directory domain, you can provide username or password if you have some") def enumerate_domain_users(ips:List[str],username="",password=""): if len(username)>0: if len(password)>0: return run_command(["netexec","smb"]+ips+["-u",username,"-p",password,"--users"]) return run_command(["netexec","smb"]+ips+["-u",username,"--users"]) return run_command(["netexec","smb"]+ips+["--users"])

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