Archive: How to enumerate local MSSQL Server databases?


How to enumerate local MSSQL Server databases?
How to enumerate local MSSQL Server databases?

And additionally, how to understand whether MSSQL Server (or Express) installed without relying on the registry?


a query like select * from sysdatabases should do what you need. You can use the MSSQL plugin to execute such a query from an installer.
The second question I think has no answer. The only way is checking some key in the registry