Solved

asp.net membership reset password

Posted on 2012-12-24
2
657 Views
Last Modified: 2013-01-09
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
Comment
Question by:afifosh
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 75

Accepted Solution

by:
käµfm³d   👽 earned 500 total points
ID: 38719367
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
 
LVL 1

Author Comment

by:afifosh
ID: 38719680
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question