WordPress.org

Ready to get started?Download WordPress

Forums

Hacked (6 posts)

  1. Margrete
    Member
    Posted 6 years ago #

    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

  2. Lester Chan
    Member
    Posted 6 years ago #

    wordpress version?

  3. slaughters
    Member
    Posted 6 years ago #

    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

  4. SimonJ
    Member
    Posted 6 years ago #

    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.

  5. samiri
    Member
    Posted 6 years ago #

  6. samiri
    Member
    Posted 6 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.