• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 695
  • Last Modified:

asp.net membership reset password

SELECT au.username, aa.ApplicationName, password, passwordformat, passwordsalt

FROM [radiomix_test].[dbo].[aspnet_membership] am

INNER JOIN [radiomix_test].[dbo].[aspnet_users] au

ON (au.userid = am.userid)

INNER JOIN [radiomix_test].[dbo].[aspnet_applications] aa

ON (au.applicationId = aa.applicationid)




DECLARE @changeDate datetime

set @changeDate = getdate()
exec [radiomix_test].[dbo].aspnet_Membership_setPassword '/',

'Administrator',

'password',

'passwordsalt',

@changeDate,

1

Open in new window



I HAVE USE THIS CODE TO SET NEW PASSWORD , but the problem with the password and the password salt it's should be encrypted please can any one provide any password with the password salt .to replace or edit .. and give me the non encrypted password

this is my first time i work in i asp.. and i don't know anything about it ..
i am a php developer .. so please if someone can help me :S
0
afifosh
Asked:
afifosh
1 Solution
 
käµfm³d 👽Commented:
Hashes are meant to be one-way. There is no practical way to reverse engineer a salted and encrypted password. If you are manually generating these passwords, then you need to maintain them long enough for you to return the password to the user. You won't be able to retrieve the password once it is encrypted in your database.
0
 
afifoshAuthor Commented:
i don't wont to encrypt if any one can give me a default password already encrypted with his salt the password format is 1
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now