cme_mssql
Execute MSSQL protocol operations for running SQL queries and OS commands via xp_cmdshell.
Instructions
Execute MSSQL protocol operations. Supports SQL query execution and command execution via xp_cmdshell.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| targets | Yes | Target IP, hostname, CIDR range, or file path | |
| username | No | Username or file path to usernames | |
| password | No | Password or file path to passwords | |
| hash | No | NTLM hash for pass-the-hash | |
| domain | No | Domain name | |
| localAuth | No | Use local authentication | |
| port | No | MSSQL port (default: 1433) | |
| threads | No | Concurrent threads | |
| query | No | SQL query to execute | |
| database | No | Database name | |
| execCmd | No | Execute OS command via xp_cmdshell | |
| module | No | Module to run | |
| moduleOptions | No | Module options | |
| verbose | No | Verbose output | |
| debug | No | Debug output |