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.

How to decode user password from wordpress mysql database

Discussion in 'WordPress' started by Dimitar_, Jan 18, 2012.

  1. #1
    I just bought 2 wordpress sites with some posts in the databases. I want to use them but i don't know how to log in into the control panel. The guy who sell them to me, say "I don't know any passwords, i forgot it, because this sites are being not in use for long time".
    I found 2 usernames with admin privilegies in the wp_users table, but the passwords are encrypted. Can i decrypt them, or do something else to use databases ?
    SEMrush
     
    Dimitar_, Jan 18, 2012 IP
    SEMrush
  2. hmansfield

    hmansfield Notable Member

    Messages:
    7,904
    Likes Received:
    296
    Best Answers:
    0
    Trophy Points:
    280
    #2
    hmansfield, Jan 18, 2012 IP
  3. Yojance

    Yojance Greenhorn

    Messages:
    16
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    13
    #3
    This is very simple to do in phpMyAdmin. Send me a PM and I'll help you do it.
     
    Yojance, Jan 18, 2012 IP
  4. hmansfield

    hmansfield Notable Member

    Messages:
    7,904
    Likes Received:
    296
    Best Answers:
    0
    Trophy Points:
    280
    #4
    I'd like to know how to do this too for future reference, if you can share the process.
     
    hmansfield, Jan 18, 2012 IP
  5. Khadaji

    Khadaji Active Member

    Messages:
    280
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    58
    #5
    I've done it a number of times... just fire up phpMyAdmin - load up the MySql database for that website.

    Go to wp_users table (or the first two letters, if you're smart, will be different... 'wp' is the default)

    ID #1 is the admin, you'll see the Admin name (Which again, if you're smart, will *NOT* be the default 'admin')

    Now, see 'user_pass'?

    That's the MD5 coded password.

    Forget trying to hack it. What you're going to do is replace it.

    Google for any "MD5 Hash" generator - you'll find plenty of them.

    Enter your new password... for example: 'password'

    The MD5 Hash generator site will spit out:

    5f4dcc3b5aa765d61d8327deb882cf99

    I went to a completely different site, and ran another MD5 hash, and sure enough, it spits back:

    5f4dcc3b5aa765d61d8327deb882cf99

    So cut and paste -DON'T TRY TO ENTER IT BY HAND!

    Checkmark the box to the left on user #1... then click the 'change' tab

    Paste your new value under 'user_pass' value... (on the right...)

    Now click 'Go'.

    Done... now simply go back to the site, and log in with your new password.
     
    Khadaji, Jan 18, 2012 IP
  6. hmansfield

    hmansfield Notable Member

    Messages:
    7,904
    Likes Received:
    296
    Best Answers:
    0
    Trophy Points:
    280
    #6
    Nice. Thanks. You should make that a blog post.
     
    hmansfield, Jan 18, 2012 IP
  7. Dimitar_

    Dimitar_ Peon

    Messages:
    36
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Thank you very much Khadaji, this is just what i needed :)
     
    Dimitar_, Jan 19, 2012 IP
  8. Yojance

    Yojance Greenhorn

    Messages:
    16
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    13
    #8
    To the left of the password field is a drop-down menu where you can select to MD5 the value so you don't have to go to another Website.
    What you do is you simply remove the old MD5 code and replace it with your new password. Finally select MD5 from the drop down menu and hit "GO".

    You can now log-in using your username/password you just created.
     
    Yojance, Jan 19, 2012 IP
    hmansfield likes this.
  9. Khadaji

    Khadaji Active Member

    Messages:
    280
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    58
    #9
    Learn something new everyday! Thanks!
     
    Khadaji, Jan 19, 2012 IP
  10. hmansfield

    hmansfield Notable Member

    Messages:
    7,904
    Likes Received:
    296
    Best Answers:
    0
    Trophy Points:
    280
    #10
    That's good stuff guys. Thanks for sharing. Rep to both of you.
     
    hmansfield, Jan 19, 2012 IP
  11. Yojance

    Yojance Greenhorn

    Messages:
    16
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    13
    #11
    You are welcome.
     
    Yojance, Jan 19, 2012 IP
  12. Dimitar_

    Dimitar_ Peon

    Messages:
    36
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #12
    Thank you !! This is the easiest way. I will not to forget it :)
     
    Dimitar_, Jan 20, 2012 IP
  13. olalinks

    olalinks Active Member

    Messages:
    151
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #13
    Login to your phpmyadmin --> wp-user >> choose your username >> click EDIT >>> Type your password ( Choose MD5 selection ) >> ok

    It's very easy
     
    olalinks, Jan 20, 2012 IP
  14. bloggermak

    bloggermak Greenhorn

    Messages:
    65
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    20
    #14
    the thing you are talking about is reseting a wordpress passwords . I want to decrypt the password. Not change ... IF any one knows how ? ? share here or PM me :)
     
    bloggermak, Aug 26, 2012 IP
  15. Dimitar_

    Dimitar_ Peon

    Messages:
    36
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #15
    It's impossible to decrypt md5 that's why people are using it, because it's secure way for storing passwords and other important data.
     
    Dimitar_, Aug 26, 2012 IP
  16. coolbuha

    coolbuha Member

    Messages:
    120
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    26
    #16
    Its really an useful thread. Learned a lot from here. Thanks for Khadaji, Yojance and olalinks.
     
    coolbuha, Aug 31, 2012 IP
  17. domain10x

    domain10x Active Member

    Messages:
    118
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #17
    You can try this forum: https://forum.hashkiller.co.uk/default.aspx
     
    domain10x, Jul 11, 2015 IP
  18. akramweb

    akramweb Greenhorn

    Messages:
    76
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #18
    You can do it easily from PhpAdmin Soft. open database my phpadmin soft. go user table. edit password chart my select md
    mdd5
    md5 then
     
    akramweb, Aug 5, 2015 IP
  19. gautamdev1990

    gautamdev1990 Member

    Messages:
    11
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #19
    Use this online tool:- http://www.md5.cz/
     
    gautamdev1990, Aug 11, 2017 IP
  20. salmanshafiq

    salmanshafiq Well-Known Member

    Messages:
    247
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    128
    #20
    There is no method to decode the wordpress password.. the easiest way is if you have a wordpress install for any website which password you know then copy the password string from there and paste newly bought wordpress site database so password will be updated. Otherwise there is no way to decode that.
     
    salmanshafiq, Aug 13, 2017 IP