Vulnerability & Exploit Database

Back to search

Microsoft SQL Server Generic Query from File

This module will allow for multiple SQL queries contained within a specified file to be executed against a Microsoft SQL (MSSQL) Server instance, given the appropriate credentials.

Free Metasploit Download

Get your copy of the world's leading penetration testing tool

 Download Now

Module Name



  • j0hn__f : <jf [at]>



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_sql_file msf auxiliary(mssql_sql_file) > show actions ...actions... msf auxiliary(mssql_sql_file) > set ACTION <action-name> msf auxiliary(mssql_sql_file) > show options and set options... msf auxiliary(mssql_sql_file) > run