• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 744
  • 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
AFIF JABADO
Asked:
AFIF JABADO
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
 
AFIF JABADOAuthor 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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Introducing Cloud Class® training courses

Tech changes fast. You can learn faster. That’s why we’re bringing professional training courses to Experts Exchange. With a subscription, you can access all the Cloud Class® courses to expand your education, prep for certifications, and get top-notch instructions.

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