Google labeled my site - The site ahead contains malware!

HappyS

Regular Member
Joined
Mar 15, 2013
Messages
453
Reaction score
70
In the webmasters tools, Google is showing some code from my WordPress site that does contain some strange infected URL. I guess it was hacked, problem is I can't find that piece of the code. Can someone help me out and point me where to find it and erase it?

Screencap:
5a2fmc.jpg
 
Last edited:
It's an iframe somewhere on your site.

Go to your website. See how the page is loading, check with "Inspect element" or go through the pages if the site is small.

Another thing you can do, if you have WordPress, install WordFence plugin and scan the site; make sure you edit the setting so WordFence can scan through plugins and themes.
 
This iframe is likely to be either in header.php or footer.php of your WordPress theme. Also double check if you have installed any suspicious plugin that you didn't intend to.

Go to WordPress dashboard -> Appearance -> Theme editor and check if this code is present in header or footer files.

If you are using Chrome, 'Inspect element' could be an easier option to scan across the website as mentioned above.
 
geez I had a malware attack last week and sunk my earnings pretty bad. I hope you get to fix this error malware attack soon.
 
It could also be in functions.php and the code could possibly be encrypted so searching for the actual URL once you are in the file may not work.

Inspect Element as the others have suggested is a good start.
 
Are you using free wordpress template? Try change to a clean one.
 
Try use WP exploit scanner to find the code. are you using hacked themes?
 
This iframe is likely to be either in header.php or footer.php of your WordPress theme. Also double check if you have installed any suspicious plugin that you didn't intend to.


Go to WordPress dashboard -> Appearance -> Theme editor and check if this code is present in header or footer files.


If you are using Chrome, 'Inspect element' could be an easier option to scan across the website as mentioned above.


Install the wordfence free plugin and do a scan on your site (https://www.wordfence.com/#get-plugin)
It might find the problems.


I am using a free not a hacked theme. I tried checking every file within Theme editor and can't find the iframe code. Also used Inspect element and it seems not visible.

WordFence is reporting that I have malware in almost each post:
malware2.png
 
I am using a free not a hacked theme. I tried checking every file within Theme editor and can't find the iframe code. Also used Inspect element and it seems not visible.

WordFence is reporting that I have malware in almost each post:
View attachment 69695

If you can PM me your URL, I will try to help.
 
Back
Top