Msg#: 3136040 posted 9:01 pm on Oct 26, 2006 (gmt 0)
A coworker called and said that there was an error coming up on one of our sites. It is a message board. In I.E., there is a message "You are not authorized to view this page" in the middle of the page. The rest of the site works, but on the home page, this message appears. I checked the source and where that message appears is the script for adsense, at least I'm pretty sure it is anyhow. google_ad_client = google_ad_width = google_ad_height = google_ad_format = google_ad_type = google_color_border = google_color_bg = google_color_link = google_color_url = google_color_text =
I removed the values here, but there are values. While I'm working on trying to find this code and remove it, I also want to contact Google and ask them who the hades this account belongs to and go from there. Anyone have any contact info for AdSense?
I'm having trouble finding the code above on my server. I've done a Windows search and I've searched the code in Dreamweaver and I get nothing on a search for google. Any suggestions?
Msg#: 3136040 posted 9:23 pm on Oct 26, 2006 (gmt 0)
Thanks much! I will try it out and see what happens. Still no luck finding the ding-darned code though
If your site/host has been hacked, it's possible someone actually hacked into your mysql database and that's where you might want to look for the code. Even if it's not a hack per se, and your board uses mysql or equiavalent, that would be where to look.
Msg#: 3136040 posted 5:21 pm on Oct 27, 2006 (gmt 0)
It was the main_templates table. I removed the text and found some articles telling how to sanitize some variables that were not being sanitized before use.
Thanks for everyone's help. We have such an old version of the program and I don't have the manpower to update it since it likely involves an update to php and mysql as well. I'll just have to play whack-a-mole with breaches, which I hate, but can't do much about at this point.