well recently iv been working on trying to modify the automatic subscriber grabber that im using with my version of vincula to get regcookies , but im getting stuck
be for ya start havin a go at me because there are other updaters out there that can alredy obtain this , its just some thing for me to learn how to do.
and yea hopefully once iv learnt enough about all this i will wright my own version insted of recoding other peapples but i aint got that far yet ![]()
NOTE : The coding shown below is fomr the Subscriber info updater made by zBrute, Tyrant,Chris and Modifed greatly by The Gate Keeper to work with Vincula
any differences fomr there orgional coding i probabilly added myself or some one elsedid
i know form obtainning the cookie info manually that in the sorce ur looking for
<script language="javascript">RenderChat('F58E1CEF-A068-4c15-BA5E-587CAF3EE8C6', 'CODEBASE="/bin/msnchat45.cab#Version=9,02,0310,2401"','25236869705C62686F70','',nMode,0,'',sPrFilter,
;- your cookie info
tBdwspLpi7Q8S6wZ^tanWYy27gYKEbwBmcYrP2UPdyXJlkRYrx0ttHkf0^qIib1tJEfE*qMNSzvcmYQZyKzD9MfF7ARwVJA8A3lApzlPfJW7Orh5UFhSPp2nbQbTrYXPUW
MT^2Qn1oD7wtof09bD7TucagyhfFxjHodqMqTbdqAa7^iTowIaMVDvQUPl2tTlLcPJ99Kl7E8FnhIH4RT1O*ZFkClGkCW8gdysITVvOUnf*^p6O8bMlQ@@
','149164813','','','http://chat.msn.com/bin/MsnChat40en-us.cab#Version=9,02,0405,1901');</script>
and its a simmaler thing for the subscriber info so i figured that if the updater can obtain the subinfo form the renderchat sorce , then it should beable to obtain the cookie info from ne chatroom sorce code.
The recoding so far
alias update.cookie {
sockclose cookie.*
sockclose update.*
unset %update.*
var %e, %p, %host,
set %update.passport $msn.ini(selpp)
set %update.time $ticks
set %update.num 0
set %update.att 0
%e = %msnpp.email
%p = %msnpp.passwd
if (msn.com isin %e) { %host = msnialogin.passport.com }
elseif (hotmail.com isin %e) { %host = loginnet.passport.com }
else { %host = login.passport.com }
sockopen update. $+ %e %host 80
sockmark update. $+ %e %p %host
set %update.emails %e %p
echo $color(info2) -atq * Updating the " $+ %update.passport $+ " passport, please wait...
}
on 1:sockopen:update.*:{
var %email, %host, %password, %string
%email = %msnpp.email
%password = %msnpp.passwd
%host = $gettok($sock($sockname).mark,2,32)
%string = Passport1.4 OrgVerb=GET,OrgURL=http%3A%2F%2Fchat%2Emsn%2Ecom,sign-in=
%string = %string $+ %email $+ ,pwd= $+ %password $+ ,id=2260
sockwrite -n $sockname GET http:// $+ %host $+ /login2.srf HTTP/1.1
sockwrite -n $sockname Authorization: %string
sockwrite -n $sockname Host: %host
sockwrite -n $sockname $crlf
}
on 1:sockread:update.*:{
sockread -n &var
var %email = %msnpp.email
if ($bfind(&var,1-,Authentication-Info:)) {
sockopen $replace($sockname,update,cookie) chat.msn.com 80
tokenize 32 $wildtok($bvar(&var,1-).text,*t=*,1,39)
set %msnpp.ticket $remove($gettok($1-,2,61),&p)
tokenize 32 $wildtok($bvar(&var,1-).text,*p=*,2,39)
set %msnpp.profile $gettok($1-,3,61)
writeini $+(",$scriptdirvpassport.dat") %update.passport profile $gettok($1-,3,61)
writeini $+(",$scriptdirvpassport.dat") %update.passport ticket $remove($gettok($1-,2,61),&p)
}
elseif ($bfind(&var,1-,Unauthorized)) { echo -s * [[ $+ %update.passport $+ ]] Email and/or password is wrong. | inc %update.num }
}
on 1:sockopen:cookie.*:{
var %passport = %msnpp.email
sockwrite -n $sockname GET /chatroom.msnw?rm=helpdesk HTTP/1.1
sockwrite -n $sockname User-Agent: Cookie Updater (compatible; MSIE 6.0; Windows NT 5.1)
sockwrite -n $sockname Accept: */*
sockwrite -n $sockname Accept-Language: EN-US
sockwrite -n $sockname Host: chat.msn.com
sockwrite -n $sockname Connection: Keep-Alive
sockwrite -n $sockname Cookie: AdultWarn=1;path=/;chocx=9,02,0310,2401; MSPProf= $+ %msnpp.profile $+; MSPAuth= $+ %msnpp.ticket $+;
sockwrite -n $sockname Connection: Close
sockwrite -n $sockname $crlf
}
on 1:sockread:cookie.*:{
sockread -n &var
if ($bfind(&var,1-,>renderchat)) {
tokenize 32 $wildtok($bvar(&var,1-).text,*sPrFilter*,1,60)
;- halted the 3 lines below incase some thing goes wrong dont want it entering any info in to the vpassports.dat file unless the code is correct.
;set %msnpp.cookie $gettok($1-,4,34)
;writeini $+(",$scriptdir,vpassport.dat") %msnpp.loupdate cookie $left($gettok($1-,2,61),-5)
;writeini $+(",$scriptdir,vpassport.dat") %msnpp.loupdate updated $ctime
;- the echo is just in here so that i can see if the coding is working or not
echo cookie $left($gettok($1-,2,61),-5)
echo $color(info2) -at * Passport info for " $+ %msnpp.loupdate $+ " is now updated ( $+ $calc(($ticks - %msnpp.lotime) / 1000) seconds $+ $iif(%losubfail, $chr(32) $+ No SubcriberInfo was found!) $+ )
sockclose $sockname
}
}
now obiously i know the code like that dosent work thats y im here and you guy's come in
any help in any way possible would be appreciated even if its just hint's to where im going wrong or if im missing some thing
reguds
lee