Need Help Changing Password For Admin Area

Discussion in 'MySQL' started by norman34, Jul 15, 2011.

  1. #1
    The admin area for my site suddenly decided to lock itself out and I was unable to get in so I tried to edit the password in the MYSQL database but still wont work was wondering if anyone could help me if possible!
     
    norman34, Jul 15, 2011 IP
  2. mwasif

    mwasif Active Member

    Messages:
    816
    Likes Received:
    23
    Best Answers:
    1
    Trophy Points:
    70
    #2
    Is it an opensource application or custom developed? Was the password encoded or plain text that you edited?
     
    mwasif, Jul 15, 2011 IP
  3. norman34

    norman34 Peon

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Its a purchased licensed script, I believe it was encoded I am happy to pay someone a little bit to help get it fixed if your interested PM me
     
    norman34, Jul 15, 2011 IP
  4. ProxyFreak

    ProxyFreak Peon

    Messages:
    57
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Password is more than likely in salt and md5, or one or the other.

    
    
    [code=PHP]
    <?php
    $string = 'NewPassword';
    $salt = 's+(_a*';
    $hash = md5($string.$salt);
    ?>
    
    Code (markup):
    take the output and place it in a text file and then do.

    md5sum password.txt

    take the encrypted password and place it in your database for your user.

    If this does not work, skip the salt portion and try md5 only.
     
    ProxyFreak, Jul 15, 2011 IP