解密或从Asp.net成员资格提供程序使用的MSSQL dB中的加密密码中获取纯文本 [英] Decrypt or get Plain text from encrypted Password in MSSQL dB used by Asp.net membership provider

查看:61
本文介绍了解密或从Asp.net成员资格提供程序使用的MSSQL dB中的加密密码中获取纯文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个数据库,其中用户的密码使用asp.net成员资格提供程序以加密形式存储。这里是 web.config 的会员资格设置



I have a database in which user's password are stored as encrypted form using asp.net membership provider. here is the setting for membership in web.config

<membership>
     <providers>
       <clear />
       <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="ApplicationServices" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="/" />
     </providers>
   </membership> 





和加密代码为



and the code for encryption is as

System.Text.Encoding.Unicode.GetString(MembershipProvider.DecryptPassword(Convert.FromBase64String(encryptedPassword)));





主要任务是将mssql数据库传输到mysql数据库。但问题是加密的密码。



The Main task is to transfer the mssql database to mysql database. but the problem is the password that are encrypted.

推荐答案

我们不会宽恕,支持或协助以任何方式,形式或方式生成恶意代码。这是专业开发人员的专业网站。



解密数据库密码几乎肯定是恶意的:向密切所有者/创建者询问密码是什么。你有权访问它们,不是吗?
We do not condone, support or assist in the production of malicious code in any way, form or manner. This is a professional site for professional developers.

And decrypting database passwords is almost certainly malicious: ask the owner / originator of the password what it is. You do have access to them, don't you?


这篇关于解密或从Asp.net成员资格提供程序使用的MSSQL dB中的加密密码中获取纯文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆