database hacked and unable to access admin (5 posts)

  1. phillinda
    Posted 3 years ago #

    I have had a clients site hacked. Was set up in june 2011 so I'm not sure what version its running. The hacker defaced the Contact page and deleted all admin users from the database. I checked out and found hacker activity in the posts and deleted it. There is still a message from him on the contact page which I cant find the source of.

    Problem is that I cannot access the admin area after setting up new admin in Mysql. says I dont have permission to access the page wp-admin.profile.php.

    The site is http://www.kingfishercuriosityshop.com.au

    I am not a great progammer and am at twits end??

  2. Krishna
    Posted 3 years ago #

  3. kmessinger
    Forum Moderator
    Posted 3 years ago #

    You can go into the database, table usermeta by way of your hosted site's MySQL (or the equivalent and change capabilities there to a:1:{s:13:"administrator";s:1:"1";}

  4. The Hack Repair Guy
    Posted 3 years ago #

    Your best first step is to get your host to recover the site from an older backup. That way you can work to secure the site to prevent further abuse.

  5. phillinda
    Posted 3 years ago #

    Thanks for the info guys, I ended up having to reinstall and rebuild with a new database and delete the old on. I fear that the hacker screwed with it and luckily it was not a big site and It didnt take long.

    Have added wordfence security plugin on this site an hopefully this will help keep these pr*#ks out.

    Thanks again.

Topic Closed

This topic has been closed to new replies.

About this Topic