Welcome to WebmasterWorld Guest from

Forum Moderators: phranque

Message Too Old, No Replies

Removing Obfuscated Code

Can't locate code loacally but can be seen online

6:36 am on Dec 2, 2008 (gmt 0)

New User

10+ Year Member

joined:Dec 4, 2006
posts: 38
votes: 0

One of my client's websites been facing a strange problem. Viewing source of the site when accessed online it shows weird code of three-four paragraphs at the top. But it doesn't show up when accessing same file on local PC.

Currently all the search engines shows badware warning besides search result for the site.

Has anybody out here knows how to remove this code?

[edited by: engine at 10:38 am (utc) on Dec. 3, 2008]
[edit reason] See TOS [/edit]

8:27 pm on Dec 4, 2008 (gmt 0)

Senior Member

WebmasterWorld Senior Member rocknbil is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Nov 28, 2004
votes: 0

I though someone else would have addressed this; in a "safe" situation, this would be a free host that injects code on page output. But your mention of badware negates this possibility. Your site has likely either been hacked or subjected to a cross-site scripting or injection attack which has inserted malicious Javascript into your database entries.

There's lots of topics on this message board relating to this type of attack, search them out . . .


Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members