Solved

asp.net membership reset password

Posted on 2012-12-24
2
650 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

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

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

This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

733 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