nxc_mssql
Execute NetExec MSSQL commands for SQL Server enumeration, querying, and OS command execution via xp_cmdshell.
Instructions
Execute NetExec MSSQL protocol commands for SQL Server enumeration and command execution.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | Target SQL Server IP or hostname | |
| username | No | SQL username (or Windows user) | |
| password | No | Password for authentication | |
| domain | No | Domain for Windows authentication | |
| localAuth | No | Use SQL Server authentication instead of Windows | |
| query | No | SQL query to execute | |
| command | No | OS command to execute via xp_cmdshell | |
| module | No | Module to run (e.g., enum_logins, enum_impersonate) | |
| threads | No | Number of concurrent threads |