Question

My website hacked

Posted December 28, 2020 219 views
Ubuntu 16.04

I am using ubuntu 16.xx with vesta cp

Yesterday someone hack my wordpress site and change url in database also all image description column, all contact column he set a ads link java script in hole database.
yesterday i recover my site now today he have done same thing again. i think he attacking from mysql side.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
Submit an Answer
1 answer

Hi there @anwarul123,

I would recommend making sure that you change your MySQL password in this case and also make sure that port 3306 is closed for the outside world.

Also if you are using a CMS like WordPress or Joomla, make sure to update all of its plugins and themes to include the latest security patches.

If you are using WordPress specifically make sure to follow the steps from this answer here on how to secure it:

https://www.digitalocean.com/community/questions/how-to-secure-wordpress-without-a-security-plugin

Another thing that I could suggest is checking your access logs for any suspicious POST requests which could have been used to exploit your website.

Let me know how it goes.
Regards,
Bobby