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

[Question] getXbogus 请问这个功能的逻辑是怎么实现的? #334

Open
CoffeeHi opened this issue Feb 28, 2023 · 4 comments
Open
Assignees
Labels
需求建议(enhancement) 新功能或需求(New feature or request)

Comments

@CoffeeHi
Copy link

请问,在解析抖音资源的时候会call作者你部署的api 去 getXbogus,但是api的具体逻辑是什么呢?

@CoffeeHi CoffeeHi added the 需求建议(enhancement) 新功能或需求(New feature or request) label Feb 28, 2023
@YdayangY
Copy link

我猜作者也不知道因为这个好像是个公开的解析接口,当然博主知道的话可以教教我吗?

@Johnserf-Seed
Copy link
Owner

我猜作者也不知道因为这个好像是个公开的解析接口,当然博主知道的话可以教教我吗?

我不知道那我怎么写的,当然是逆向出来的 接口不都是公开的吗,人人都可以调用官方的接口 但是你没参数就拿不到数据

@B1gM8c
Copy link

B1gM8c commented Mar 2, 2023

我猜作者也不知道因为这个好像是个公开的解析接口,当然博主知道的话可以教教我吗?
可以参考下面的接口实现,通过flask可以快速部署一个本地接口
https://github.com/B1gM8c/X-Bogus

@Johnserf-Seed
Copy link
Owner

自行插桩
生成逻辑是先根据params生成2个大数
array1 [
216, 130, 1, 201, 52, 71,
7, 172, 222, 114, 97, 177,
88, 101, 108, 14
]

array2 [
89, 173, 178, 78, 243, 205,
190, 2, 151, 240, 91, 57,
88, 39, 69, 63
]

第一次md5 8605703daafe594ec98995cffc6d651e

第一次array [
134, 5, 112, 61, 170,
254, 89, 78, 201, 137,
149, 207, 252, 109, 101,
30
]

第二次md5 88817356585e9ad11b13733e3e65120d

第二次array [
136, 129, 115, 86, 88, 94,
154, 209, 27, 19, 115, 62,
62, 101, 18, 13
]

url_path_array: [
136, 129, 115, 86, 88, 94,
154, 209, 27, 19, 115, 62,
62, 101, 18, 13
]

new_array1: [
64, 0.00390625, 1,
8, 18, 13,
69, 63, 108,
14, 224, 204,
99, 124, 190,
0, 32, 144
]

a b 64 0.00390625

a b 64 1

a b 65 8

a b 73 18

a b 91 13

a b 86 69

a b 19 63

a b 44 108

a b 64 14

a b 78 224

a b 174 204

a b 98 99

a b 1 124

a b 125 190

a b 195 0

a b 195 32

a b 227 144

new_array2: [
64, 0.00390625, 1,
8, 18, 13,
69, 63, 108,
14, 224, 204,
99, 124, 190,
0, 32, 144,
115
]

array3: [
64, 1, 18, 69, 108,
224, 99, 190, 32, 115
]

array4: [ 0.00390625, 8, 13, 63, 14, 204, 124, 0, 144, undefined ]

E?làÌc|¾ s @�

乱码转换2 -%.,b^^UEsx§�cÈ,

乱码转换3 �ÿ-%.,b^^UEsx§�cÈ,

garbled_code: �ÿ-%.,b^^UEsx§�cÈ,

a1 a2 a3 2 255 45
第一组 DFSz

a1 a2 a3 37 46 44
第二组 swVu

a1 a2 a3 98 94 94
第三组 RbGA

a1 a2 a3 143 85 69
第四组 NxXh

a1 a2 a3 115 120 167
第五组 WH7q

a1 a2 a3 19 99 156
第六组 g9/W

a1 a2 a3 200 44 131
第七组 ndnp

x-bogus: DFSzswVuRbGANxXhWH7qg9/Wndnp

Johnserf-Seed added a commit that referenced this issue Mar 10, 2023
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

4 participants