How to decrypt a password from SQL server?

前端 未结 6 1653
醉梦人生
醉梦人生 2020-12-01 02:30

I have this query in sql server 2000:

select pwdencrypt(\'AAAA\')

which outputs an encrypted string of \'AAAA\':

0x0100CF465B7B1         


        
6条回答
  •  有刺的猬
    2020-12-01 02:49

    A quick google indicates that pwdencrypt() is not deterministic, and your statement select pwdencrypt('AAAA') returns a different value on my installation!

    See also this article http://www.theregister.co.uk/2002/07/08/cracking_ms_sql_server_passwords/

提交回复
热议问题