Solved

asp.net membership reset password

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

813 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now