Use the command below to connect to your MSSQL server:
mssql-cli -S <server URL> -d <database name> -U <username> -P <password>
;
Use the MSSQL-CLI to connect to the remote MSSQL service and discover all databases, versioning, hostname, high privileged users, users hashes, etc.
python3 -m mssqlcli.main -S 10.10.10.50 -U sa -P <password>
;
Home of the tool