|
楼主 |
发表于 2021-8-30 16:16:47
|
显示全部楼层
贵州省贵阳市
部分JS:h = (a("4fad"), a("5319"), a("3835")),
b = a("cebe"),
y = a.n(b),
v = a("88b1"),
g = a("a634"),
k = function(e, t, a) {
var n = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : {},
r = !1,
o = Object.assign({},
n, {
url: t,
method: e,
baseURL: ""
}),
c = m.uuid(),
i = "4RBA7^@0$@KM$5D2333",
s = m.MD5(c + i),
d = m.random16(),
l = new v["JSEncrypt"];
l.setPublicKey(g.RSA);
var p = l.encrypt(d),
f = m.encrypt(JSON.stringify(a), d);
o.data = o.data || {},
t = t.replace(/^https?:\/\/.+?\/([^/] + ) / ,
"");
for (var b = Date.now(), k = "", w = {
clientId: "03",
path: t,
timestamp: b
},
O = "6269762D07D049CCBF56A9775D2B7F74", q = "3DE8394393E14AB69A46CAF3A39F366E", j = 0, T = Object.entries(w); j < T.length; j++) {
var U = Object(h["a"])(T[j], 2),
S = U[0],
D = U[1];
k += S + D
}
if (w.sign = m.MD5(k + q).toUpperCase(), w.appKey = O, "post" === e) {
var B = 1; ! n.white && B ? o.data = {
timestamp: c,
title: s,
init: p,
base: f
}: o.data = a
}
求大神用易语言帮忙分析sign算法 |
|