1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

[Need help: Lost Pasword]

Discussion in 'Security' started by FunMan, Nov 8, 2009.

  1. #1
    I can not log in to my admin area of my blog to write or manage links and other necessary work, but can log-in to c/panel. Can anyone help me recover my password using the c/panel? I already tried to get the password using the email recovery, but failed.
    Please help.

    I dont know if it is the right place for this question. Please move this if not in right place.
     
    FunMan, Nov 8, 2009 IP
  2. flamer

    flamer Peon

    Messages:
    757
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #2
    - Go to PHPMYADMIN.
    - Open the table where the member data is present.
    - Look for your username.
    - Browse that username.
    - In the password field, put the new password and save it.

    As you login next, it should build up a new hash for you.
     
    flamer, Nov 8, 2009 IP
    FunMan likes this.
  3. brox4nite

    brox4nite Member

    Messages:
    39
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    43
    #3
    The wordpress user password is stored as md5 hash. Here is the hash for password "hello" "5d41402abc4b2a76b9719d911017c592" (without quotes).

    As flamer said, go to PHPMYADMIN, open your wordpress database, go to "wp_users" table, find the "admin" user, and set the "user_pass" column for this user to "5d41402abc4b2a76b9719d911017c592" (without quotes).

    This will reset the admin password to hello.

    Then login back via wordpress and change it to something more secure!
     
    brox4nite, Nov 9, 2009 IP
    FunMan likes this.
  4. flamer

    flamer Peon

    Messages:
    757
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Messing around with hash is not a good thing. It is generated automatically again as the person logs in the next time. Every script has their own password hashing done which makes them safe from hackers.
     
    flamer, Nov 9, 2009 IP
  5. brox4nite

    brox4nite Member

    Messages:
    39
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    43
    #5
    Good thing or bad but the person had no way of logging in. My instructions should get them in, and he then could change his pass.

    One thing that I have realized after many years of working in various IT industries is that right or wrong is relative. Where one thing is right, in some other place it's wrong, therefore I just now do what works without thinking much if it's right or wrong. And this approach has made me wealthy, therefore it must be the right thinking and doing of things.
     
    brox4nite, Nov 9, 2009 IP
  6. flamer

    flamer Peon

    Messages:
    757
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #6
    There is a difference between "good" and "bad" thing.

    There is also a difference between "right" and "wrong" thing.
     
    flamer, Nov 9, 2009 IP
  7. nikb

    nikb Peon

    Messages:
    93
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Which engine are you using?

    Some examples of hashing formulas:

    $hash = md5($string.$salt);

    $hash = md5($string);


    When you make a password, that password is most commonly stored in db in md5.

    When you want to log in and type a password, script makes md5 of typed password using its own formula, and checks if stored md5 is same as given.
    If that is so - you are authorized.

    So, md5 in db must remain same, otherwise you can not log in.

    You must know which formula is used and make a good hash for your db.
     
    nikb, Nov 10, 2009 IP
  8. organicCyborg

    organicCyborg Peon

    Messages:
    330
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Since this is the security forum, I'd just like to point out that it's always good practice to salt your hashes. Also, MD5 is on the way out. Anyone programming their own apps, try to switch over to a more secure hash.
     
    organicCyborg, Nov 10, 2009 IP
  9. brox4nite

    brox4nite Member

    Messages:
    39
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    43
    #9
    brox4nite, Nov 10, 2009 IP
  10. nanggroe

    nanggroe Peon

    Messages:
    27
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    I a beginner, need to learn so much from the expert and from other people experience, this case alert me to keep my security password somewhere offline.. thank
     
    nanggroe, Nov 12, 2009 IP
  11. FunMan

    FunMan Member

    Messages:
    315
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    28
    #11
    Thanks for the great help. I could recover the password using your advice.
    Thanks to "flamer" for help.
     
    FunMan, Nov 12, 2009 IP