Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => General

recover password from sha1

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

recover password from sha1

Postby jplus2 » Wed Oct 10, 2012 12:31 am

is the title of this topic possible?

i am saving the users of my site via sha1, later I realized i need to have those password as well,
for me to log in (for technical support purposes)

is it possible to recover a sha1 password?
jplus2
New php-forum User
New php-forum User
 
Posts: 87
Joined: Wed May 16, 2012 4:17 pm

Re: recover password from sha1

Postby seandisanti » Wed Oct 10, 2012 9:18 am

Sounds shady and completely unnecessary. There is no good reason for you to need a visitor's password. if you need to test something with their permissions etc, just make a copy of their user record and set the password to something you know and you're good.
seandisanti
php-forum Fan User
php-forum Fan User
 
Posts: 773
Joined: Mon Oct 01, 2012 12:32 pm

Re: recover password from sha1

Postby jplus2 » Wed Oct 10, 2012 5:33 pm

yeah youre right, it would only break the logic why I saved the password in hashed form in the first place

Thank you for making me realize it, hehehe

God Speed
jplus2
New php-forum User
New php-forum User
 
Posts: 87
Joined: Wed May 16, 2012 4:17 pm

Re: recover password from sha1

Postby seandisanti » Thu Oct 11, 2012 7:42 am

glad to help
seandisanti
php-forum Fan User
php-forum Fan User
 
Posts: 773
Joined: Mon Oct 01, 2012 12:32 pm


Return to PHP coding => General

Who is online

Users browsing this forum: No registered users and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.

cron