Rapid7 Vulnerability & Exploit Database

MSSQL Login Utility

Back to Search

MSSQL Login Utility



This module simply queries the MSSQL instance for a specific user/pass (default is sa with blank).


  • MC <mc@metasploit.com>



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/scanner/mssql/mssql_login
msf auxiliary(mssql_login) > show actions
msf auxiliary(mssql_login) > set ACTION < action-name >
msf auxiliary(mssql_login) > show options
    ...show and set options...
msf auxiliary(mssql_login) > run 

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security