Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

求支持拼多多直播 #142

Open
hexiaoleione opened this issue Jun 13, 2024 · 2 comments
Open

求支持拼多多直播 #142

hexiaoleione opened this issue Jun 13, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@hexiaoleione
Copy link

您使用的场景? | 1. Your usage scenarios?

您期望的结果是怎样的? | 2. What is your expected outcome?

@hexiaoleione hexiaoleione added the enhancement New feature or request label Jun 13, 2024
@heihei180
Copy link

大概看了下:
解码文件在这个:https://static.pddpic.com/assets/js/react_live_room_ac16a4603839bcd4f293.js

          , g = function(e) {
            for (var t = !(arguments.length > 1 && void 0 !== arguments[1]) || arguments[1], r = e.byteLength, n = "", o = 0; o < r; o++)
                n += String.fromCharCode(e[o]);
// 这时候的n已经是个json字符串了,不知道是不是最终的结果
            return t && (n = i.a.decode(n),

            n = v(n)),
            d(n, n)
        }

另外:

// 这个t.data 好像就是返回的数据
var n = Object(y.c)(t.data);

// 至于下面这几个应该,应该和方法名一样了。当然返回的n仍然是个编码的数据,我上面发的那段代码才是解码后的json数据。
    e.responseTimeoutCount = 0,
                            e.handleSystemMsg(n),
                            e.handleResponse(n),
                            e.callHooks("onMessage", n)

看起来好像是将ASCII码直接转 然后拼起来的,不知道分析的对不对,不是专业逆向工作者,有喜欢的人可以研究一下!!!开源共建

image

@heihei180
Copy link

视频直播地址:https://mobile.yangkeduo.com/, 另外pdd挺鸡贼的,看直播需要登录,建议是打开F12后,调试窗口和直播页面不要再一个窗体。辛亏我有两个手机号。
就像这样:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants