Impacket MSSQLClient

Interactive MSSQL shell for command execution and database access

Tool
impacket-mssqlclient
Category
Lateral Movement / MSSQL
Platform
linux
Requires
password
Protocols
MSSQL

Open in Command Manager

Syntax

Angle-bracket tokens are placeholders — replace them with your target's values, or open this command in the app to fill them in and copy the result.

impacket-mssqlclient '<domain>/<user>:<password>'@<ip>

Credential variants

The same attack using a different authentication material.

NTLM Hash requires NTLM hash

impacket-mssqlclient -hashes ':<hash>' '<domain>/<user>'@<ip>

Kerberos Ticket requires Kerberos ticket

impacket-mssqlclient -k -no-pass '<domain>/<user>'@<ip>

Windows Auth requires password

impacket-mssqlclient '<domain>/<user>:<password>'@<ip> -windows-auth

Examples

impacket-mssqlclient 'corp.local/sa:password'@192.168.1.100
impacket-mssqlclient 'corp.local/user:password'@192.168.1.100 -windows-auth

Tags

impacket mssql database shell sql