Title: Hacker changed my admin password
Last modified: August 22, 2016

---

# Hacker changed my admin password

 *  [danielab](https://wordpress.org/support/users/danielab/)
 * (@danielab)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/hacker-changed-my-admin-password/)
 * My website was hacked. I cannot log in to WP, as the password was changed. When
   I ask for new password, it infoms me that my user name is a different one. I 
   can log in with a new user name but have no permissions to do anything there,
   telling me that I should contact administrator.
    Is there something I can do 
   to be an administrator of my own webpage and recover it? Thanks, Daniela

Viewing 7 replies - 1 through 7 (of 7 total)

 *  [wslade](https://wordpress.org/support/users/wslade/)
 * (@wslade)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/hacker-changed-my-admin-password/#post-5928592)
 * My sorry to hear of your damaged site. You can change your password or give yourself
   admin rights using this: [http://codex.wordpress.org/Resetting_Your_Password](http://codex.wordpress.org/Resetting_Your_Password)
 *  Thread Starter [danielab](https://wordpress.org/support/users/danielab/)
 * (@danielab)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/hacker-changed-my-admin-password/#post-5928593)
 * I would do it, but I cannot get there. The only thing I can see is the new (by
   hacker created) user and this user has no rights. I can only change email and
   password on this new user. That’s it. Any other ideas please?
 *  [wslade](https://wordpress.org/support/users/wslade/)
 * (@wslade)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/hacker-changed-my-admin-password/#post-5928597)
 * You will need to use phpmyadmin located in your hosting account.
 *  Thread Starter [danielab](https://wordpress.org/support/users/danielab/)
 * (@danielab)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/hacker-changed-my-admin-password/#post-5928600)
 * yes, I have put wp_set_password( ‘password’, 1 ); after <?php: in FTP. So, it
   looks like this now:
    <?php: wp_set_password( ‘password’, 1 ); /** * Confirms
   that the activation key that is sent in an email after a user signs …. and lot
   of other stuff there.
 * I have not received any email, nor I can log in with admin / password nor 1 /
   password
 * … what is wrong?
    Thanks
 *  [wslade](https://wordpress.org/support/users/wslade/)
 * (@wslade)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/hacker-changed-my-admin-password/#post-5928602)
 * That is using FTP. That only works if user1 exists and is an admin. The changes
   I am suggesting are in the database. Login to your hosting account and find phpmyadmin
   and follow the steps to changing the passwords or granting admin rights.
 * This requires no email. You should be able to login to your Dashboard as soon
   as you make the changes to the database.
 *  Thread Starter [danielab](https://wordpress.org/support/users/danielab/)
 * (@danielab)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/hacker-changed-my-admin-password/#post-5928610)
 * thanks for help. I am there. Deleting spam and correcting my webpage. Thank you,
   Daniela
 *  [wslade](https://wordpress.org/support/users/wslade/)
 * (@wslade)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/hacker-changed-my-admin-password/#post-5928613)
 * You are very welcome. You probably want to follow [this guide](https://codex.wordpress.org/FAQ_My_site_was_hacked).
   When you’re done, you may want to implement some (if not all) of [the recommended security measures](https://codex.wordpress.org/Hardening_WordPress).

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Hacker changed my admin password’ is closed to new replies.

## Tags

 * [administrator](https://wordpress.org/support/topic-tag/administrator/)
 * [No Permissions](https://wordpress.org/support/topic-tag/no-permissions/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 7 replies
 * 2 participants
 * Last reply from: [wslade](https://wordpress.org/support/users/wslade/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/hacker-changed-my-admin-password/#post-5928613)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
