@sahulap
It seems that the theme was hacked and a uploaded malicious file,
This is what I did to resolve the matter :
(This is really easy to do, simply follow the steps)
1) Made sure I had a backup,
2) DO NOT DELETE DATABASE
3) Deleted/Backed up plugins and uploads dir,
4) Deleted WP and did a fresh install – DO THIS FROM YOUR CPANEL and NOT ftp!
5) Uploaded the original theme,
Then …
1) Changed the database details in ‘config.php’ to reflect the database, replacing the new WP database details that it created when I did a new install.
2) Install WF but then check the options and check ‘remove tables’ then ‘deactivate’ it so it removes ‘existing’ wf tables. Then, reactivate it to create ‘new’ tables.
3) Now, I discovered a clever function in WF – in options, look for ‘Disable Code Execution for Uploads directory’ at the button and ‘check’ it. This is where I believe the malicious code was added.
By checking ‘Disable Code Execution for Uploads directory’ this will stop and code from being executed.
4) Put the uploads dir back in replacing new one,
5) Uploaded the plugins dir then one by one, activate and check that its ok and do this for the rest.
6) When you setup WF, make sure you also setup the ‘firewall’ correctly although at the time of writing, its a bugger to get this to work right with .htaccess file.
7) Run a WF ‘complete’ scan
Done!
Worked for me!
HTH
-
This reply was modified 8 years ago by
Rik0399.