Register script gives random password

Results 1 to 9 of 9
  1. #1
    Account Upgraded | Title Enabled! darielgames312 is offline
    MemberRank
    Oct 2012 Join Date
    247Posts

    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


  2. #2
    Rada Rada. Delius is offline
    MemberRank
    Jul 2012 Join Date
    AustraliaLocation
    431Posts

    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.

  3. #3
    Account Upgraded | Title Enabled! darielgames312 is offline
    MemberRank
    Oct 2012 Join Date
    247Posts

    Re: Register script gives random password

    Thanks I got it, I just need to use the extinct launcher.

  4. #4
    Electro, dude. Bakey is offline
    MemberRank
    Oct 2010 Join Date
    403Posts

    Re: Register script gives random password

    LOL.

    Retard level: Amazing.

  5. #5
    Account Upgraded | Title Enabled! darielgames312 is offline
    MemberRank
    Oct 2012 Join Date
    247Posts

    Re: Register script gives random password

    Proud of it :)

  6. #6
    Success and nothing less Manova is offline
    MemberRank
    Nov 2011 Join Date
    936Posts

    Re: Register script gives random password

    Lol, I don't know what to say.

  7. #7
    Apprentice Dioxide is offline
    MemberRank
    Mar 2013 Join Date
    19Posts

    Re: Register script gives random password

    Quote Originally Posted by darielgames312 View Post
    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.
    Last edited by Dioxide; 19-06-13 at 07:05 PM.

  8. #8
    Alpha Member Cyndaquil is offline
    MemberRank
    Mar 2012 Join Date
    EnglandLocation
    2,137Posts

    Re: Register script gives random password

    Quote Originally Posted by Dioxide View Post
    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.

  9. #9
    Account Upgraded | Title Enabled! darielgames312 is offline
    MemberRank
    Oct 2012 Join Date
    247Posts

    Re: Register script gives random password

    Still proud of it :3
    Thanks Dioxide.



Advertisement