Title: Hacked
Last modified: August 18, 2016

---

# Hacked

 *  [Margrete](https://wordpress.org/support/users/margrete/)
 * (@margrete)
 * [18 years, 6 months ago](https://wordpress.org/support/topic/hacked-3-2/)
 * My blogg has been hacked, and I don’t know what to do now. He has been messing
   whith my password so I can’t go in and fiks it by my self, and have done something
   so I can not get to login page. I have tryed to send files over by FTP, but it
   did not work. I do not have a backup :C Help someone, do I realy have to make
   a new blogg?
 * I am sorry about my english, long time since I have written now

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

 *  [Lester Chan](https://wordpress.org/support/users/gamerz/)
 * (@gamerz)
 * [18 years, 6 months ago](https://wordpress.org/support/topic/hacked-3-2/#post-646693)
 * wordpress version?
 *  [slaughters](https://wordpress.org/support/users/slaughters/)
 * (@slaughters)
 * [18 years, 6 months ago](https://wordpress.org/support/topic/hacked-3-2/#post-646709)
 * So you wanting instructions on how a Non-Admin can change the password of an 
   Admin user in order to get into a site to grab control from him ?
 * I expect that you will loose the content of your posts since you did not make
   any backups. BUT – I expect you can save all the theme/pluggin/web design files
   by FTP’ing the wordpress folder to your local PC and then uploading it to a different
   folder on your site.
 * Just start using the new folder – Make a page to re-direct people there instead
   of the old location.
 * If you have a few posts you want to save and they have not been trashed yet then
   your probably stuck with displaying them in a web browser and doing a copy/paste
   into your new wordpress installation.
 * After you have everything simply delete the original folder from your web server
 *  [SimonJ](https://wordpress.org/support/users/simonj/)
 * (@simonj)
 * [18 years, 6 months ago](https://wordpress.org/support/topic/hacked-3-2/#post-646715)
 * If your password has been changed, here is a solution to get another one.
 * 1- Upload another wordpress in a new directory
 * 2- Create a new DB or a write another prefix in the config.php (let’s say temp_)
 * 3- Proceed with the setup in you new directory. Note the admin password that 
   is given to you.
 * 4- Log into your DB with PHPMyadmin… Now you have two database, or a big one 
   with 2 different prefix wp_ and temp_
 * 5- Browse to the new DB and find tmp_users (if you choose a new prefix) or wp_users(
   if it’s a new DB)… There you will find a user named “admin” with an encrypted
   password.
 * 6- Copy this password then browse to your old DB (or old prefix) and paste the
   encrypted password to the old “admin” user…
 * With this solution, you should be able to connect to your old wordpress installation
   using the new password that was given to you with the new installation…
 * _______________________________
 * You said that you have a backup… I don’t know if you have a backup of your database…
   If you have one:
 * 1) Log into php myadmin
    2) export your old database first 3) drop all the tables
   in your wordpress database 4) import your backup
 * That should restore the installation with your old admin password. Of course,
   you will loose all the stuff you wrote since you made the backup.
 * Good luck.
 * S.
 *  [samiri](https://wordpress.org/support/users/samiri/)
 * (@samiri)
 * [18 years, 6 months ago](https://wordpress.org/support/topic/hacked-3-2/#post-646816)
 * [shpixi@msn.com](https://wordpress.org/support/topic/hacked-3-2/shpixi@msn.com?output_format=md)
 *  [samiri](https://wordpress.org/support/users/samiri/)
 * (@samiri)
 * [18 years, 6 months ago](https://wordpress.org/support/topic/hacked-3-2/#post-646818)
 * [samir.m@msn.com](https://wordpress.org/support/topic/hacked-3-2/samir.m@msn.com?output_format=md)

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

The topic ‘Hacked’ is closed to new replies.

 * 5 replies
 * 5 participants
 * Last reply from: [samiri](https://wordpress.org/support/users/samiri/)
 * Last activity: [18 years, 6 months ago](https://wordpress.org/support/topic/hacked-3-2/#post-646818)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
