Getting original password after being converted using md5
#1
Posted 23 September 2006 - 01:42 AM
#2
Posted 23 September 2006 - 02:17 AM
You get them to insert their original password, and 2 copies of the new one, and md5 their original one and check it against the value stored in the database. And I am sure you can work the rest out for yourself.
Matt
#3
Posted 23 September 2006 - 03:16 AM
#4
Posted 23 September 2006 - 11:39 AM
#5
Posted 23 September 2006 - 11:42 AM
#6
Posted 23 September 2006 - 01:45 PM
#7
Posted 23 September 2006 - 01:50 PM
Does that answer you?
Matt
#8
Posted 23 September 2006 - 04:30 PM
#9
Posted 23 September 2006 - 04:36 PM
$username = $_POST['username'];
and to protect it you would just
$username = htmlspecialchars($_POST['username']); or something like that
#10
Posted 23 September 2006 - 04:57 PM
addslashes( stripslashes( mixed value ) )
And Avalanche (and deadly) its not limited to injection, on a ridiculous amount of hosts you can actually use a simple one line command to get a full backup of anyone on that servers files. Ok a little overstatement but it can be done.
I mean you always encrypt anything sensitive, its just....standard
The question you ask yourself is avalanche: Why not?
I always double hash using sha1 and md5 btw
Edited by Matthew., 23 September 2006 - 05:23 PM.
#11
Posted 23 September 2006 - 08:41 PM
#12
Posted 23 September 2006 - 09:01 PM
#13
Posted 23 September 2006 - 11:07 PM
Chris., on Sep 23 2006, 10:00 PM, said:
Yes and No. You can create a "I Forgot My Password" script, but instead of sending the user it's current password, you would have to have the script generate a new one.
#14
Posted 23 September 2006 - 11:44 PM
#15
Posted 24 September 2006 - 12:22 AM
Chris., on Sep 23 2006, 11:44 PM, said:
dunno, but it's encouragement enough for me to start doing something like Matt or Chaos, or a combination of the 2.
#16
Posted 24 September 2006 - 05:06 AM
You cant decrypt md5 you can either dictionary list it (where a database of current md5s and their value are compared to the entered hash - which iswhat that site does) or you can brute force it which takes days if not weeks for just 1 hash.
Edited by Matthew., 24 September 2006 - 07:50 AM.
#17
Posted 24 September 2006 - 07:21 AM
#18
Posted 24 September 2006 - 07:32 AM
Edited by Crofty, 24 September 2006 - 07:32 AM.
#19
Posted 24 September 2006 - 07:50 AM
#20
Posted 24 September 2006 - 08:05 AM
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users
