> For the complete documentation index, see [llms.txt](https://kyou00.gitbook.io/xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kyou00.gitbook.io/xyz/commands/view/linux/mssql.md).

# MSSQL

```
# This will connect to mssql with impacket mssqlclient.py
python3 mssqlclient.py Administrator@10.129.201.248 -windows-auth

# Or just use this command that is straight forward to terminal
impacket-mssqlclient backdoor@10.129.118.59 -windows-auth
```

```
# This will give information about the mssql server
msfconsole -q
search mssql_ping (scanner/mssql/mssql_ping)
set rhost
run
```

```
# Not yet tested
sqlcmd -S 10.129.20.13 -U username -P Password123
```
