Commander

Copy-ready command templates for common penetration testing tools. Select a tool, fill in the parameters, copy, paste, profit.

impacket-mssqlclient

↗ docs

Impacket's MSSQL client — connect to MS SQL Server with password or NTLM hash, execute queries, xp_cmdshell

databasemssqlwindowsimpacketsql-server

Connect (SQL Authentication)

Connect using SQL Server username and password.

impacket-mssqlclient :@

Connect (Windows Authentication)

Connect using Windows domain credentials.

impacket-mssqlclient /:@ -windows-auth

Connect (Pass-the-Hash)

Authenticate via NTLM hash.

impacket-mssqlclient /@ -hashes : -windows-auth