WeChat HOOK+ protocol collaborates to develop WeChat live video account field control

Recently, many functional software for WeChat live broadcast field control have appeared
. After talking with a friend, the main functions are realized through the PC WeChat interface.
However, some functions are not available in the PC interface,
so they need to pass the PB group protocol package, and then use the PC's HOOK interface. Execute

PB group package

pb.empty ()
pb.setBin (“1”, {  })
pb.setBin (“1.1”, {  })
pb.setInt (“1.2”, uin)
pb.setBin (“1.3”, 到字节集 (DevicelId))
pb.setInt (“1.4”, 版本)
pb.setBin (“1.5”, 到字节集 (系统))
pb.setInt (“1.6”, 0)

Here is the header of the PB package code. All interfaces must use this header. The specific value is obtained by reading the wx memory. The content after PB package is as shown below
pb package

c# reference code

After a friend gave me some c# code as a reference, I started the development of field control software.
c# reference code
Because the interface requires HOOK and protocol to operate together, it is still relatively complicated.

Analysis of callback content

1.Search live broadcast room

    "info_list":[
        {
            "contact":{
                "username":"v2_060000231003b20faec8c6e48119c3d1c802e936b07780d6ad3a7b93963526f15eb4794a222a@finder",
                "nickname":"搜直播间的昵称",
                "head_url":博主头像,
                "signature":"博主签名",
     "object_list":[
        {
            "id":"id值",

The above json is for searching some information in the live broadcast room, the most important of which is the id information under object_list, including live_id. The execution of subsequent commands relies on this data.

2. Enter the live broadcast room.
There is no need to give special examples when entering the PB analysis of the live broadcast room. The main parameters are and only live_cookies. It is worth noting that this cookie has a time limit.

Development results

It took about half a month of development to develop the ideal field control tool.
Insert image description here
Insert image description here
Currently, various functional tests have achieved the desired results
. If you want to learn and communicate, you can click on my avatar to view the introduction.

Guess you like

Origin blog.csdn.net/q750936486/article/details/129710040