module

Microsoft SQL Server Command Execution

Disclosed
N/A
Created
May 30, 2018

Description

This module will execute a Windows command on a MSSQL/MSDE instance via the xp_cmdshell (default) or the
sp_oacreate procedure (more opsec safe, no output, no temporary data table). A valid username and password is
required to use this module.

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':


msf > use auxiliary/admin/mssql/mssql_exec
msf auxiliary(mssql_exec) > show actions
...actions...
msf auxiliary(mssql_exec) > set ACTION < action-name >
msf auxiliary(mssql_exec) > show options
...show and set options...
msf auxiliary(mssql_exec) > run

Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.