MSSQL
MSSQL
Authentication Types
Current user
PsMapExec -Targets All -Method MSSQLWith Username and Password (Domain authentication)
PsMapExec -Targets All -Method MSSQL -Username [Username] -Password [Password]Local Authentication (Authenticates through SQL Server login)
PsMapExec -Targets All -Method MSSQL -Username SA -Password Password123 -LocalAuthStatus Messages
[+] ACCESSIBLE INSTANCE # The instance is accessible, without sysadmin rights
[-] ACCESS DENIED # Access is denied to the instance
[+] SYSADMIN # You are a sysadmin on the instance, try executing commandsCommand Execution
Last updated