A little php help with login.php
#7

Hmm, that's kind of a problem. If we don't know what kind of encryption (or encryption + salt combo) is used for the server passwords, then we can never re-create it anywhere else.
You could switch from that encrypt.so thing to Whirlpool or something like that, but that would mean you'd have to implement a way to convert the password inside your gamemode.
That would be something like a message saying 'hey, you have to verify your password etc etc', when the player types their password ingame, you use the current active encryption system to check if they actually typed the correct password, and then take their input and convert it to Whirlpool (or any other method of your choice), then save that somewhere and slowly phase out the old encryption system.

This would be one way to do it, but it completely depends on how you want to handle it. If your server and script are currently not up and running for the public, I suggest changing your password encryption to something you know and have control over.
Reply


Messages In This Thread
A little php help with login.php - by iKevin - 21.04.2017, 20:43
Re: A little php help with login.php - by Jstylezzz - 21.04.2017, 21:01
Re: A little php help with login.php - by iKevin - 21.04.2017, 21:16
Re: A little php help with login.php - by Jstylezzz - 22.04.2017, 08:12
Re: A little php help with login.php - by iKevin - 22.04.2017, 11:00
Re: A little php help with login.php - by iKevin - 22.04.2017, 16:24
Re: A little php help with login.php - by Jstylezzz - 22.04.2017, 19:53

Forum Jump:


Users browsing this thread: 1 Guest(s)