Previous Thread
Next Thread
Print Thread
Rating: 5
Joined: May 1999
Posts: 1,715
Addict
Addict
Joined: May 1999
Posts: 1,715
From what I've read at the manual page for crypt on php.net you will have to specify a salt of a specific length depending on which encryption that should be used. I'm not sure which it should be, but changing the following line in ubbt.inc.php to one of the ones below it might help.

Original code
code:

if ((crypt($Password,$pass) != $pass) && (md5($Password) != $pass)) {



If Standard DES was used before:
code:

if ((crypt($Password,substr($pass,0,2)) != $pass) && (md5($Password) != $pass)) {



If Extended DES was used:
code:

if ((crypt($Password,substr($pass,0,9)) != $pass) && (md5($Password) != $pass)) {



I don't believe that MD5 or Blowfish encryption was used before, but if it was, all password should start with either "$1$" or "$2$".

Hope this can help you on the way, but I haven't got any experience in this either, but I'll try to help in any way I can.

Sponsored Links
Entire Thread
Subject Posted By Posted
incompatible crypt versions:password problem mario2 04/29/2002 9:07 AM
This is a serious problem, someone pls reply!!! mario2 05/06/2002 11:34 PM
Re: This is a serious problem, someone pls reply!! Gardener 05/07/2002 12:54 AM
Scream or other specialists, please reply!! mario2 05/08/2002 11:04 PM
could it be sensitive to the length of password? mario2 05/08/2002 11:08 PM
Re: Scream or other specialists, please reply!! Dave_L_dup1 05/08/2002 11:59 PM
Re: Scream or other specialists, please reply!! Gardener 05/12/2002 1:39 AM
how is crypt implementation in perl? mario2 05/12/2002 3:03 AM

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)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
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)