chanmama be加密破解

This commit is contained in:
luzhisheng 2023-06-11 00:16:28 +08:00
parent 068319841e
commit a95609675f
9 changed files with 587 additions and 673 deletions

31
chanmama/README.md Normal file
View File

@ -0,0 +1,31 @@
# 知识点: webpack打包
蝉妈妈大屏抖音直播实时数据是抓取抖音直播间数据的实时数据,有类似需求的公司但没有能力去搞定抖音,抓取蝉妈妈数据也是一个不错的选择。
![debugger](./img/1.png)
观察请求接口内容
![debugger](./img/2.png)
查看请求参数,可以看到`formDataSign`加密参数、`timestamp``jsVer`时间戳 ,经过观察发现加密参数是实时变化的。
![debugger](./img/3.png)
打断点找到变量`s`,控制台输出发现`post`请求的内容,那么这个`s`怎么来的?
![debugger](./img/4.png)
继续打断点向上找又发现了`r`,接下来就是`r`如何生成的。
![debugger](./img/5.png)
以此类推`r``i(t)`生成了,`t`怎么来的呢?是通过`He(t)`传入的
![debugger](./img/6.png)
`He(t)`这个函数扣下来,在浏览器控制台中测试一下
![debugger](./img/7.png)
成功生成加密参数

File diff suppressed because it is too large Load Diff

BIN
chanmama/img/1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 146 KiB

BIN
chanmama/img/2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

BIN
chanmama/img/3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

BIN
chanmama/img/4.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

BIN
chanmama/img/5.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

BIN
chanmama/img/6.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

BIN
chanmama/img/7.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB