Originally Posted by
jverkoey
Talk about obfuscated code. I'm trying to figure out if it's actually other people we're interacting with or if it's just randomly moving stuff every now and then...
The countdown seems to be counting down to 5 days from now...but the 360's not going to be released for 7 days, odd.
The common word/position database it uses is here. Each line consists of a word, x, y and color. The client reloads the database once per second via a XMLHttp object and animates the words to their new correct positions.
If you drag, the word id, new x and y are sent here.
This is the upload code:
Code:
function updateDB(id,x,y){
var ajaxOb=initxmlhttp();
encodedStr="id="+id+"&x="+x+"&y="+y;
var url="/TESTe428sdhv?"+Math.random();
ajaxOb.open("POST",url,true);
ajaxOb.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
ajaxOb.send(encodedStr);
ajaxOb.onreadystatechange=function(){
if(ajaxOb.readyState==4){
var response=ajaxOb.responseText;
if (response.length>0){if (response == "ok") {updateCounter--;}}
}
}
try{ajaxOb.send(null);}catch(e){}
}
and the download code:
Code:
function udSlDisp(){
var ajaxOb=initxmlhttp();
var url="/TEST495jfdqn?"+Math.random();
ajaxOb.open("GET",url,true);
ajaxOb.onreadystatechange=function(){
if(ajaxOb.readyState==4){
var response=ajaxOb.responseText;
if (response.length>0 && updateCounter==0){
counter++;
var respParts=response.split("\n");
var firstLine=respParts[0].split(",");
var next_slot=firstLine[1];
var tStr="";
for(var iDB=0;iDB<slotsArray.length;iDB++){
if (dragId != iDB){
line=respParts[iDB+1].split(",");
if (line[0] != slotsArray[iDB].innerHTML){
slotsArray[iDB].innerHTML=line[0];
}
tx[iDB]=line[1];
ty[iDB]=line[2];
var lx=parseInt(slotsArray[iDB].style.left);
var ly=parseInt(slotsArray[iDB].style.top);
if (lx!=tx[iDB] || ly!=ty[iDB]){
needfly=true;
}
}
tStr += tx[iDB] + "," +ty[iDB] + "\n";
}
if (needfly && !needfly2){fly();}
}
date=new Date();
now=date.getTime();
if ((now-lastaction)<60000) {
window.setTimeout("udSlDisp()",1000);
asleep=false;
} else {
asleep=true;
}
}
}
ajaxOb.send(null);
}
Now that the protocol is known, someone could create a C program using the same database.
When I checked before, the front page was counting down in 1.5 seconds increment from 406727, which by my calculations is 7.11 days.
I'd be surprised if it is actually a Microsoft site considering:
I'm guessing a fan site. Actually, a search on the telephone number provided in this post suggests it is the work of one Allen D. Hart.
EDIT: According to Google, I'm the first person to post the culprit. Do I get a prize?