Coinhive code in header.php
-
Hi
I’m trying to help a new client, who has come to me with a very slow website. I realised they didn’t have any security (and never have – it’s an old site!) on their site, so have installed wordfence which I use on all my sites.
I’ve done a scan and it says:
This file appears to be installed or modified by a hacker to perform malicious activity. If you know about this file you can choose to ignore it to exclude it from future scans. The text we found in this file that matches a known malicious file is: new CoinHive.Anonymous(‘TnKJQivLdI92CHM5VDumySeVWinv2yfL’. The infection type is: Browser-based crypto currency miner..
The file is the header.php – I can see the coinhive links/code – but am not sure where from and where to delete it. Or can wordfence help with this? My client is having a new site built by someone else so doesn’t want the pro version at this point in time. But can the free version help?
OR if I paste the code in the header here – can someone let me know which part I can delete?
I’ve already deleted a file wordfence flagged up. I’ve taken backups all the way…
Thanks for any help in advance….
- The topic ‘Coinhive code in header.php’ is closed to new replies.