Git Product home page Git Product logo

webicqpro's People

Contributors

asminog avatar bitdeli-chef avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

webicqpro's Issues

Версии клиента

protected $first_ver = 4294964838;
protected $second_ver = 1123;
...
protected function ClientStatus($args) {
...
$snac .= $this->packTLV(0x0C, pack('NNcnNNNNNNn', 0x00, 0x00, 0x06, $this->protocol_version, 0x00, 0x00, 0x03, $this->first_ver, $this->second_ver, 0x00, 0x00));
...
}

Значения first_ver и second_ver определяют версию R&Q и отображаются так:
rnq

Как в других клиентах не знаю)

Отправитель в групповых и лайв чатах

в логе:
msg from
array(6) {
* ["from"]=>
string(19) "[email protected]"
*
["channel"]=>
int(1)
["cookie"]=>
float(1.2754960363181E-68)
["encoding"]=>
array(2) {
["numset"]=>
string(5) "ASCII"
["subset"]=>
int(0)
}
["message"]=>
string(21) "!to 217411320 message"
["type"]=>
string(7) "message"
}

на самом деле отправитель был я (217411320) возможно ли как то получать UIN отправителя, вместо [email protected] ?

Перестал работать

Библиотека перестала отправлять сообщения примерно с 24.07.2015
Скажите, вы у себя эту проблему заметили? Или она частный характер носит?

Proxy

Как запустить работу скрипта через прокси (с авторизацией)?
Нашел на просторах интернета вот это

protected function socetOpen()
    {
        $proxy_server = 'proxy_ip';
        $proxy_port = 'proxy_port';
        $this->socet = fsockopen($proxy_server, $proxy_port, $erorno, $errormsg, ($this->timeout_second+$this->timeout_msecond/1000));
        if ($this->socet)
        {
            $out = 'CONNECT '.$this->server_url.':'.$this->server_port.' HTTP/1.0'."\r\n";
            $out .= "\r\n";
# send CONNECT
            fwrite($this->socet, $out);
# check status
            if(strpos(trim(fgets($this->socet, 64).fgets($this->socet, 64)), '200 Connection Established') !== NULL)
            {
                return true;
            }
            fclose($this->socet);
        }
        $this->error = 'Error: Cant establish connection to: '.$this->server_url.':'.$this->server_port."\n".$errormsg;
        return false;
    }

Добавил такую штуку

$id = base64_encode("login:pass");

            $out = 'CONNECT '.$this->server_url.':'.$this->server_port.' HTTP/1.0'."\r\n";
            $out .= "\r\n";
            $out .= 'Proxy-Authorization: Basic ' . $id;
            $out .= "\r\n";
            $out .= "\r\n";

Вроде подключается но сообщения не уходят

Doesn't work, unable to connect to login.icq.com

The error is: fsockopen(): unable to connect to login.icq.com:5190 (No route to host)
I've tried to change a $this->setTimeout(30, 0); in anyway, even $this->setTimeout(60, 60000); but it doesn't work, unfortunately.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.