最近ibox低迷,十八数藏起飞,为此解析此平台
具体代码如下
function getSign(body) {
var sortBody = {}
var res = Object.keys(body).sort();
for (var key in res) {
sortBody[res[key]] = body[res[key]]
}
var str = "";
for (var i in sortBody) {
str = str + i + sortBody[i]
}
var str = "xxxxx" + str + "xxxxx" //此处脱敏处理
捡漏抄底 str = str.toUpperCase()
return hex_md5(str)
}
function glLogin(account, pwd) {
var data = {
"appke**": "",
"client": "",
"deviceId": "",
"encrypt": "",
"password": pwd,
"timestamp": new Date().getTime() + "",
// "timestamp": "",
"uinfo": account,
"version": "3.2.0",
}
data["signcode"] = getSign(data);
console.log("--------", data)
}
// 这里输入账号
glLogin("UVExMTk4Mjg3MzQ5 base解密", "111111");