I'm really sorry Dave_L, but i'm not really sure I followed your question.
I run the script
the script pulls the md5 encoded passwords from the database and puts them in a password file
a line in this file reads something like this:
tgnb:securearea:e3bd5b471e68750a6633fc1404f6064g
htdigest command is an apache command line command to manually create a line in a password file such as the one above. However, if i use htdigest like this:
#htdigest /path/to/password/file securearea tgnb
I get a line in the password file that looks like this:
tgnb:securearea:ea28130d3a6a307b5cdef133d3289f7e
Both of these lines are md5 encoded, and both were created using the same password. The only difference is one was made by the board and extracted from sql and the other is created by htdigest.
The resulting md5 hash is different however.
Apache can recognize the md5 hash made by its own htdigest command but not the md5 hash created by the board (php?) for the same password.
Last edited by tgnb; 12/23/2002 3:17 PM.