Em... reading... but don't understand anything...
code:
function botAuth(acc, pass){
var url = "http://xcinema.net";
var xcinemaAuth = new ActiveXObject("Microsoft.XMLHTTP");
with(xcinemaAuth){
open('GET', url, false); send();
var x = responseText.indexOf('name="rnd" value="')+'name="rnd" value="'.length;
rnd_value = responseText.substring(x,responseText.indexOf('"',x));
}
var data = 'user=' + acc + '&password=' + pass + '&rem=1&a=2&ajax=1&rnd=' + rnd_value;
Interop.Call("wininet.dll", "DeleteUrlCacheEntryW", url);
var xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
with(xmlhttp){
open("POST", url, true);
setRequestHeader("Content-type", "application/x-www-form-urlencoded");
setRequestHeader("Content-length", data.length);
setRequestHeader("Connection", "close");
onreadystatechange = function(){
if(xmlhttp.readyState == 4 && xmlhttp.responseCode == 200){
Messenger.MyPersonalMessage = 'success';
} else {
Messenger.MyPersonalMessage = 'error';
}
}
send(data);
}
}
PSM: error...
Hm... if replace
responseCode to
status, then PSM: success, but not auth....