MembershipProvider.GetPassword算法 [英] MembershipProvider.GetPassword algorithm

查看:153
本文介绍了MembershipProvider.GetPassword算法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在一个ASP网站(使用DotNetNuke的)转换为新的PHP网站。我们现在所拥有的唯一的事是现有数据库的完整输出。其中一个表被称为aspnet_Membership和包含以下字段:

We are converting an ASP site (using DotNetNuke) to a new PHP site. The only thing we have right now is a full export of the existing database. One of the tables is called "aspnet_Membership" and contains the following fields:


  • 密码(貌似的base64)

  • 了passwordFormat(总价值2)

  • PasswordSalt(貌似的base64)

  • PasswordQuestion(总是空​​)

  • PasswordAnswer(总是空)

我们想取消code这些密码散列和他们适合我们自己的框架。从我从.NET文档了解这些类型的密码可以解密。是否有一个算法可用,可以做到这一点还是比这更复杂?如果我们在当前服务器上创建一个ASP脚本将有可能?

We would like to decode these passwords and hash them to fit our own framework. From what I understand from the .NET documentation these kind of passwords can be decrypted. Is there an algorithm available that can do this or is it more complicated than that? Will it be possible if we create an ASP script on the current server?

在此先感谢

推荐答案

我觉得2意思是加密,而不是散列(见定义的这里

I think 2 means "Encrypted", not "Hashed" (see the definition here)

加密意味着你实际上可以解密,但你需要存储在配置文件中机键(看看我给的链接),其中创建这些密码的物理机。如果你只有一个数据库副本,那么你不能做到这一点。

Encrypted means you can actually decrypt it but you will need the machine key stored in configuration files (take a look at the link I sent) of the physical machine where these passwords were created. If you have only a copy of the database, then you can't do it.

这篇关于MembershipProvider.GetPassword算法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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