We will learn how to attack MSSQL Servers
First Loading PowerUpSQL
. .\\PowerUpSQL.ps1

Enumerating MSSQL Instance
Get-SQLInstanceDomain

Checking if we have access to it
Get-SQLInstanceDomain | Get-SQLConnectionTestThreaded -Verbose

Gathering Information From the MSSQL Server
Get-SQLInstanceDomain | Get-SQLServerInfo -Verbose

Database Links

Checking For Database Links
Get-SQLServerLink -Instance us-mssql.us.techcorp.local -Verbose

Crawling The MSSQL Server Links