1.

Solve : Strange code?

Answer»

Ok, first off all I'm sorry if this is the wrong place but I could not find where to post this...

Anyway, I found a strange .txt file in my C:\ drive I only know that it should not be there, but I don't know what it do or where it came from, could anyone tell me why it is in my C:\ drive and what it do?

Code: [Select]<!-- Start of ekmCompass code -->
<script type="text/javascript">
var compassURL = (("https:" == document.location.protocol) ? "https://ekmcompass.ekmsecureserver.com" : "http://www.ekmcompass.com");
document.write(unescape("%3Cscript src='" + compassURL + "/geo/redirect.asp?site=allthingskind' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
<!--
function getCompassQuerystring( name )
{
name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");
var regexS = "[\\?&]"+name+"=([^&#]*)";
var regex = new RegExp( regexS );
var results = regex.exec( window.location.href );
if( results == null )
return "";
else
return results[1];
}
function getCompassCookie( cookie_name )
{
if (document.cookie.length>0)
{
c_start=document.cookie.indexOf(cookie_name + "=");
if (c_start!=-1)
{
c_start=c_start + cookie_name.length+1;
c_end=document.cookie.indexOf(";",c_start);
if (c_end==-1) c_end=document.cookie.length;
return unescape(document.cookie.substring(c_start,c_end));
}
}
return "";
}
var compass = getCompassQuerystring( 'compass' );
var mylocation = new String(document.location);
mylocation = mylocation.indexOf('ekmpowershop')
if(compass.length != 0 || mylocation != -1){document.cookie = "compass=disable";}
if(getCompassCookie('compass') != 'disable'){if(redirloc.length != 0 && document.location != redirloc){location.replace(redirloc);}}
//-->
</script>
<!-- END of ekmCompass code -->

ThanksHave you been watching Youtube video CLIPS via Allthingskind?
I have no clue what Allthingskind is, so no.So... noone is that GOOD at reading scripts here, you know where someone might know?You have a cookie. Have you tried Googling Ekmompass? It is a geographic redirect service. Websites use it to make sure visitors get the right language version for their country. The user in this case was allthingskind.com, a web hosting company. As FAR as I can SEE there is no more information to be got from it. You can delete it.
Quote from: Salmon Trout on August 29, 2010, 07:42:07 AM

Have you tried Googling Ekmompass?

That's Ekcompass



Discussion

No Comment Found