Applied to SQL Server 2005 or later
SELECT name, name As [Pwd]
FROM sys.sql_logins
WHERE PWDCOMPARE(name, password_hash) = 1
OR PWDCOMPARE(name,password_hash,1) = 1
Wednesday, December 16, 2009
Find SQL Server logins using their names as passwords
at 9:25 PM
Labels: SQL Server 2005, SQL Server Tip
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment