Testing credentials

You can use two methods to authenticate to the MSSQL: windows or local (default: windows). To use local auth, add the following flag --local-auth

Windows auth

  1. 1.
    With SMB port open
#~ cme mssql -u james -p '[email protected][email protected]!'
  1. 1.
    With SMB port close, add the flag -d DOMAIN
#~ cme mssql -u james -p '[email protected][email protected]!' -d HTB
Expected Results:
MSSQL 1433 MANTIS [+] HTB\james:[email protected][email protected]!

Local auth

#~ cme mssql -u admin -p '[email protected][email protected]!' --local-auth
Expected Results:
MSSQL 1433 None [+] admin:[email protected][email protected]! (Pwn3d!)

Specify Ports

#~ cme mssql -u admin -p '[email protected][email protected]!' --port 1434