NetSPI / PowerUpSQL

PowerUpSQL: A PowerShell Toolkit for Attacking SQL Server
Other
2.47k stars 462 forks source link

Get-SQLServerInfo: Fixed variable name causing query failures in case-sensitive master databases #76

Closed mgeeky closed 1 year ago

mgeeky commented 2 years ago

This PR fixes issue related to DAFT issue #3 where in some servers, master database might have case-sensitive collation set, rendering plenty of hardcoded SQL queries failing without meaningful context.

This PR addresses just a tiny example of such issues, where a simple case-sensitive oversight leads to a silent, clueless failure.

Regards, Mariusz.

nullbind commented 1 year ago

Thank you!