1.网站和目标

1
2
3
https://m.ctyun.cn/wap/main/auth/login
 
破解userName, password加密

2.先下断点,找到加密的地方

1
2
3
4
5
6
7
8
9
10
11
12
https://m.ctyun.cn/wap/main/auth/login
 
yoyo[n] = e[n], 0
 
result = '{'; for(let x of Object.keys(yoyo)){result = result + '"' + x + '"' + ":" + yoyo[x] + ','}; result = result + '}'
 
result = '{'; for(let x of Object.keys(yoyo)){result = result +  x + ":" + yoyo[x] + ','}; result = result + '}'
 
for (let x of Object.keys(yoyo)) {
    '"' + x + '"' + ":" + yoyo[x] + ','
    console.log(`"${x}":${yoyo[x]},`)
}

实现代码