Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Dec 1999
Posts: 37
Power User
Power User
Offline
Joined: Dec 1999
Posts: 37
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.

tgnb
Sponsored Links
Entire Thread
Subject Posted By Posted
password encryption and .htaccess authentication tgnb 12/17/2002 4:38 PM
Re: password encryption and .htaccess authentication dimopoulos 12/17/2002 5:31 PM
Re: password encryption and .htaccess authenticati tgnb 12/17/2002 6:11 PM
Re: password encryption and .htaccess authenticati dimopoulos 12/17/2002 7:23 PM
Re: password encryption and .htaccess authenticati tgnb 12/20/2002 4:04 PM
Re: password encryption and .htaccess authenticati dimopoulos 12/20/2002 7:04 PM
Re: password encryption and .htaccess authenticati tgnb 12/20/2002 10:43 PM
Re: password encryption and .htaccess authenticati Dave_L_dup1 12/20/2002 11:19 PM
Re: password encryption and .htaccess authenticati tgnb 12/23/2002 6:13 PM
Re: password encryption and .htaccess authenticati Dave_L_dup1 12/23/2002 7:34 PM
Re: password encryption and .htaccess authenticati tgnb 12/23/2002 10:14 PM
Re: password encryption and .htaccess authenticati Dave_L_dup1 12/23/2002 11:37 PM
Re: password encryption and .htaccess authenticati tgnb 12/24/2002 12:21 AM
Re: password encryption and .htaccess authentication mgdale2 01/07/2004 10:01 PM

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Zarzal
Zarzal
Berlin, Germany
Posts: 808
Joined: July 2001
Forum Statistics
Forums63
Topics37,575
Posts293,932
Members13,824
Most Online6,139
Sep 21st, 2024
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,835
Greg Hard 4,625
Top Posters(30 Days)
Gizmo 1
Top Likes Received
isaac 82
Gizmo 20
Brett 7
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)