Register script gives random password
So when I try registering with the register script it semi works, it makes a new line adds the username and email but when it comes to password and alt password it's a random mix of characters even thought I input something else. Is this supposed be that way? If not where did I go wrong?
Ex:
Username:dariel312
Pass:54c0fbea200b49a7493875b5e4963af1
UserPassAlt: afN6usS0aa
Re: Register script gives random password
Lmao, my guess its because it is encrypted with MD5.
Test by trying to login with the password that you set and if it works.
If you don't want it to encrypt with md5 then you will need to open the code and remove it.
PM if you need help doing so.
Re: Register script gives random password
Thanks I got it, I just need to use the extinct launcher.
Re: Register script gives random password
LOL.
Retard level: Amazing.
Re: Register script gives random password
Re: Register script gives random password
Lol, I don't know what to say.
Re: Register script gives random password
Quote:
Originally Posted by
darielgames312
So when I try registering with the register script it semi works, it makes a new line adds the username and email but when it comes to password and alt password it's a random mix of characters even thought I input something else. Is this supposed be that way? If not where did I go wrong?
Ex:
Username:dariel312
Pass:54c0fbea200b49a7493875b5e4963af1
UserPassAlt: afN6usS0aa
Okay, to make sure you understand, I'll explain it to you.
Upon registration, the script inserts 3 values into the database: Username, Password, SaltPassword. The Username remains in plaintext, while the Password get's MD5 Encrypted with your SaltPassword. The Salt is random and is generated in the PHP script.
ex.
Username: Player
Password: p4ssw0rd
SaltPassword: ad3F7we91
When you press the Register button, your password get's encrypted(alone):
p4ssw0rd in MD5 Hash is 2a9d119df47ff993b662a8ef36f9ea20
Then, when the first encryption is done, it does it again, but this time it puts the SaltPass at the end of the generated MD5 Hash before encrypting it:
2a9d119df47ff993b662a8ef36f9ea20ad3F7we91
And what you get from that is what it inserts into the database.
Then to log in, you just enter your password in plain-text and it will accept it.
Re: Register script gives random password
Quote:
Originally Posted by
Dioxide
Okay, to make sure you understand, I'll explain it to you.
Upon registration, the script inserts 3 values into the database: Username, Password, SaltPassword. The Username remains in plaintext, while the Password get's MD5 Encrypted with your SaltPassword. The Salt is random and is generated in the PHP script.
ex.
Username: Player
Password: p4ssw0rd
SaltPassword: ad3F7we91
When you press the Register button, your password get's encrypted(alone):
p4ssw0rd in MD5 Hash is 2a9d119df47ff993b662a8ef36f9ea20
Then, when the first encryption is done, it does it again, but this time it puts the SaltPass at the end of the generated MD5 Hash before encrypting it:
2a9d119df47ff993b662a8ef36f9ea20ad3F7we91
And what you get from that is what it inserts into the database.
Then to log in, you just enter your password in plain-text and it will accept it.
Well done (Y) - give yourself a Fiesta Gold Star for supporting major retards.
Re: Register script gives random password
Still proud of it :3
Thanks Dioxide.