
10.12.2008, 14:32
|
|
Познающий
Регистрация: 08.11.2008
Сообщений: 31
С нами:
9213963
Репутация:
4
|
|
8.09.2008 icq.com обновила протокол...
заменяем в протоколе подключения WIP protected function ClientMd5Login
вот на это
<?php
protected function ClientMd5Login($args)
{
extract($args);
$password = pack('H*', md5($password));
$password = pack('H*', md5($authkey.$password.'AOL Instant Messenger (SM)'));
return $this->__header(0x17, 0x02).
$this->packTLV(0x01, $uin).
$this->packTLV(0x25, $password).
$this->packTLV(0x4C, '').
$this->packTLV(0x03, 'ICQ Client').
$this->packTLV(0x16, 0x010A, 'n').
$this->packTLV(0x17, 0x0006, 'n').
$this->packTLV(0x18, 0x00, 'n').
$this->packTLV(0x19, 0x00, 'n').
$this->packTLV(0x1A, 0x1B67, 'n').
$this->packTLV(0x14, 0x00007535, 'N').
$this->packTLV(0x0F, 'ru').
$this->packTLV(0x0E, 'ru').
$this->packTLV(0x94, 0x00, 'c');
}
|
|
|