Welcome, Guest. Please Login or Register.
April 27, 2025, 05:00:55 PM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  Development  |  Completed mods  |  [Discontinued 1.5.1RC1] Md5 Encryption « previous next »
Pages: 1 [2] Reply Ignore Print
Author Topic: [Discontinued 1.5.1RC1] Md5 Encryption  (Read 5404 times)
Big P
Mod Team
YaBB God
*****
Posts: 1462


"Back in '68, I don't like you, The End."

ICQ - 76064555pierceward@hotmail.com WWW
Re:[Done 1.5.1] Md5 Encryption
« Reply #15 on: March 30, 2003, 09:26:14 PM »
Reply with quote

Quote from: bostasp on March 30, 2003, 07:59:44 PM
As i've just found out, if you apply this to your board and keep the database when you re-install, you have to apply this mod again before any users can login
Of course you do. The passwords are stored in the DB you backup in the md5() format.
Logged

PHPNews has been released!!! Download it now!!!
Horus
Noobie
*
Posts: 19


Just another newbie

Re:[Done 1.5.1] Md5 Encryption
« Reply #16 on: April 02, 2003, 09:07:01 PM »
Reply with quote

I upgraded from yabbgold and I was using the password mod which encrypts the passwords, and when I upgraded to Yabbse I found another mod (see this thread for more info) that enabled me to keep the passwords instead of forcing my members to change their passwords, so my question is will this work with that mod, as there is no other way that my members can login without the password mod.


« Last Edit: April 03, 2003, 05:49:47 PM by Horus » Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:[Done 1.5.1] Md5 Encryption
« Reply #17 on: April 03, 2003, 01:14:27 AM »
Reply with quote

Currently, it won't.  I can show you how to make it, however...

Find this line in my mod.  (LogInOut.php)
         if ($settings[0] == crypt($passwrd, substr($passwrd, 0, 2)))

And replace it with:

         if ($settings[0] == crypt($passwrd, $pwseed))

-[Unknown]
Logged
Horus
Noobie
*
Posts: 19


Just another newbie

Re:[Done 1.5.1] Md5 Encryption
« Reply #18 on: April 03, 2003, 05:01:00 PM »
Reply with quote

I'm slightly confused so please bear with me as I will try to explain what I think I need to do to get it to work.

My forum now has the password mod mentioned in previous post, so the first step would be to go back to the original files (without the mod), then apply your Mod and once that is done then modify the LogInOut.php as you instructed above. Please let me know if that is not the case.



Thanks in advance ;D ;D
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:[Done 1.5.1] Md5 Encryption
« Reply #19 on: April 04, 2003, 12:45:19 AM »
Reply with quote

Well, only one difference.

Back up your current files AND MORE IMPORTANTLY YOUR DATABASE, then do that.  If it doesn't work, restore the backups.

-[Unknown]
Logged
Horus
Noobie
*
Posts: 19


Just another newbie

Re:[Done 1.5.1] Md5 Encryption
« Reply #20 on: April 05, 2003, 04:50:19 PM »
Reply with quote

It works like dream, thank you sooooo much ;D ;D
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:[Done 1.5.1] Md5 Encryption
« Reply #21 on: April 05, 2003, 04:54:15 PM »
Reply with quote

I can tell you how to do the same thing with 1.5.1 final. (and my mod won't need to be isntalled.)

Just PM me.

On another note, I'm discontinuing this mod.  A (much) better version of it has been built into 1.5.1.

-[Unknown]
Logged
Horus
Noobie
*
Posts: 19


Just another newbie

Re:[Discontinued 1.5.1RC1] Md5 Encryption
« Reply #22 on: April 05, 2003, 06:31:14 PM »
Reply with quote

I've just upgraded my forum to 1.5.1 and it seems to work just fine, Thanks again mate
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:[Discontinued 1.5.1RC1] Md5 Encryption
« Reply #23 on: April 05, 2003, 06:37:14 PM »
Reply with quote

Some of your users won't be able to login.

You need to search for "crypt($passwrd, substr($passwrd, 0, 2))" in LogInOut.php, and replace it with "crypt($passwrd, $pwseed)".

-[Unknown]
Logged
Horus
Noobie
*
Posts: 19


Just another newbie

Re:[Discontinued 1.5.1RC1] Md5 Encryption
« Reply #24 on: April 05, 2003, 07:58:39 PM »
Reply with quote

My limited knowledge and commonsense tells me I also need to change the seed to the one yabb gold used use "$pwseed = 'yy';" in Subs.php, would that be right?

Cheers
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:[Discontinued 1.5.1RC1] Md5 Encryption
« Reply #25 on: April 05, 2003, 08:28:50 PM »
Reply with quote

Yes... that would be a good idea.

-[Unknown]
Logged
Daniel Hofverberg
YaBB God
*****
Posts: 582


WWW
Re:[Done 1.5.1] Md5 Encryption
« Reply #26 on: April 09, 2003, 07:50:16 AM »
Reply with quote

Quote from: [Unknown] on April 05, 2003, 04:54:15 PM
On another note, I'm discontinuing this mod.  A (much) better version of it has been built into 1.5.1.
What's the difference between how this mod works and how it works in 1.5.1 final?
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:[Done 1.5.1] Md5 Encryption
« Reply #27 on: April 09, 2003, 07:59:01 AM »
Reply with quote

Quote from: Daniel Hofverberg on April 09, 2003, 07:50:16 AM
Quote from: [Unknown] on April 05, 2003, 04:54:15 PM
On another note, I'm discontinuing this mod.  A (much) better version of it has been built into 1.5.1.
What's the difference between how this mod works and how it works in 1.5.1 final?


This only md5's the password.  1.5.1 final uses keyed encryption.... and the cookie is also md5'd in 1.5.1.

-[Unknown]
Logged
Pages: 1 [2] Reply Ignore Print 
YaBB SE Community  |  Development  |  Completed mods  |  [Discontinued 1.5.1RC1] Md5 Encryption « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.035 seconds with 17 queries.