For the last three weeks, we have been continuously hacked. We’ve blocked everything we can and changed ALL usernames/password. Somehow they get in.
The hackers mainly overwrite our index.php and a number of other PHP files in the same folder and in others as well. Does anyone know of a script that will allow us to overwrite specific files every xx hours, using a CRONJOB? In other words, the CRON will replace the files, regardless of whether they’ve been hacked, or not, with our original files.