09月22日, 2014 2683次
巨量算数获取数据
抖音指数关联词分析搜索词分析人群画像数据
var u = { "0": "get_relation_word", "1":"cRns6pVsUsBZW7qY1/nwyvxFoBff............" "$0":[], "$1":{}, "d":2 } var e = "484e4f4a403f52430015280e279a9b3d4d9f608300000000000001e00200012500d82118014302000240170006180........."; var m; var ss = z(e,68,214, 0, u, m,null,0); console.log(ss); function s(e, t) { var n = parseInt("" + e[t] + e[t + 1], 16); return n > 127 ? -256 + n : n } function l(e, t) { var n = parseInt("" + e[t] + e[t + 1] + e[t + 2] + e[t + 3], 16); return n > 32767 ? -65536 + n : n } function u(e, t) { var n = parseInt("" + e[t] + e[t + 1] + e[t + 2] + e[t + 3] + e[t + 4] + e[t + 5] + e[t + 6] + e[t + 7], 16); return n > 2147483647 ? 0 + n : n } function d(e, t) { return parseInt("" + e[t] + e[t + 1], 16) } function _(e, t) { return parseInt("" + e[t] + e[t + 1] + e[t + 2] + e[t + 3], 16) } function z(e, t, n, c, u, m, p, h) { var i = 123; var a = []; var r = {"p":[24,31,8,15,9,18,21,28,29,9,20,22,17,8,13,22,11,77,77,77,87,17,18,26,2,20,14,87,10,18,26,21,12,26,21,25,14,2,26,20,1,26,18,25,30,18,11,20,17,18,30,23,30,15,20,40,15,9,18,21,28,25,26,8,30,77,79,9,30,11,30,26,15,11,26,31,62,21,31,8,23,18,24,30,22,30,8,8,26,28,30,24,9,30,26,15,30,63,30,24,18,11,19,30,9,18,13,26,30,8,86,74,73,67,86,24,29,25,14,11,31,26,15,30,14,15,29,67,29,18,21,26,23,11,26,9,8,30,24,9,2,11,15,20],"q":[[0,0],[0,2],[2,8],[8,12],[12,53],[53,61],[61,67],[67,73],[73,79],[79,84],[84,91],[91,107],[107,118],[118,124],[124,128],[128,133],[133,138],[138,144]]}; //null == m && (m = this); var v, f, g, x = [], y = 0; p && (v = p); var k, b, w = t, j = w + 2 * n; if (!h) for (; w < j; ) { var Z = parseInt("" + e[w] + e[w + 1], 16); w += 2; var q = 3 & (k = 13 * Z % 241); if (k >>= 2, q > 2) q = 3 & k, k >>= 2, q > 2 ? (q = k) < 9 && (b = d(e, w), w += 2, x[y] = x[y][b]) : q > 1 ? (q = k) > 10 ? (b = l(e, w), a[++o] = [[w + 4, b - 3], 0, 0], w += 2 * b - 2) : q > 6 && (v = x[y--]) : q > 0 ? (q = k) < 5 && (b = d(e, w), w += 2, v = u[b], x[++y] = v) : (q = k) < 15 && (v = x[y], x[y] = x[y - 1], x[y - 1] = v); else if (q > 1) if (q = 3 & k, k >>= 2, q > 2) (q = k) > 5 ? (b = d(e, w), w += 2, x[++y] = u["$" + b]) : q > 3 && (b = l(e, w), a[o][0] && !a[o][2] ? a[o][1] = [w + 4, b - 3] : a[o++] = [0, [w + 4, b - 3], 0], w += 2 * b - 2); else if (q > 1) { if ((q = k) > 2) if (x[y--]) w += 4; else { if ((b = l(e, w)) < 0) { h = 1, U(e, t, 2 * n), w += 2 * b - 2; break } w += 2 * b - 2 } else if (q > 0) { for (b = _(e, w), v = "", S = r.q[b][0]; S < r.q[b][1]; S++) v += String.fromCharCode(i ^ r.p[S]); x[++y] = v, w += 4 } } else q > 0 ? (q = k) < 3 && (v = x[y--], x[y] = x[y] + v) : (q = k) > 9 ? (b = d(e, w), w += 2, v = x[y--], u[b] = v) : q > 7 && (b = _(e, w), w += 4, f = y + 1, x[y -= b - 1] = b ? x.slice(y, f) : []); else if (q > 0) if (q = 3 & k, k >>= 2, q < 1) { if ((q = k) > 9) ; else if (q > 3) { b = l(e, w); try { if (a[o][2] = 1, 1 == (v = z(e, w + 4, b - 3, [], u, m, null, 0))[0]) return v } catch (p) { if (a[o] && a[o][1] && 1 == (v = z(e, a[o][1][0], a[o][1][1], [], u, m, p, 0))[0]) return v } finally { if (a[o] && a[o][0] && 1 == (v = z(e, a[o][0][0], a[o][0][1], [], u, m, null, 0))[0]) return v; a[o] = 0, o-- } w += 2 * b - 2 } } else if (q < 2) if ((q = k) < 10) { for (b = _(e, w), q = "", S = r.q[b][0]; S < r.q[b][1]; S++) q += String.fromCharCode(i ^ r.p[S]); w += 4; x[y] = x[y][q]; } else q < 14 && (x[++y] = s(e, w), w += 2); else q < 3 ? (q = k) < 2 ? x[++y] = v : q < 13 && (v = x[y], x[++y] = v) : (q = k) > 5 ? (v = x[y--], x[y] = x[y] !== v) : q > -1 && (x[y] = !x[y]); else if (q = 3 & k, k >>= 2, q > 2) (q = k) > 10 && (x[++y] = void 0); else if (q > 1) { if ((q = k) < 9) { for (v = x[y--], b = _(e, w), q = "", S = r.q[b][0]; S < r.q[b][1]; S++) q += String.fromCharCode(i ^ r.p[S]); w += 4, x[y--][q] = v } } else if (q > 0) (q = k) < 6 ? x[y -= 1] = x[y][x[y + 1]] : q < 10 && (v = x[y--], x[y] = typeof v); else if ((q = k) > 14) b = l(e, w), (N = function t() { var n = arguments; return t.y > 0 || t.y++, B(e, t.c, t.l, n, t.z, this, null, 0) } ).c = w + 4, N.l = b - 2, N.x = z, N.y = 0, N.z = u, x[y] = N, w += 2 * b - 2; else if (q > 12) f = x[y--], g = x[y--], (q = x[y--]).x === z ? q.y >= 1 ? x[++y] = B(e, q.c, q.l, f, q.z, g, null, 1) : (x[++y] = B(e, q.c, q.l, f, q.z, g, null, 0), q.y++) : x[++y] = q.apply(g, f); else if (q > -1) return [1, x[y--]] } if (h) for (; w < j; ) if (Z = E[w], w += 2, q = 3 & (k = 13 * Z % 241), k >>= 2, q > 2) q = 3 & k, k >>= 2, q > 2 ? (q = k) < 9 && (b = O[w], w += 2, x[y] = x[y][b]) : q > 1 ? (q = k) > 10 ? (b = O[w], a[++o] = [[w + 4, b - 3], 0, 0], w += 2 * b - 2) : q > 6 && (v = x[y--]) : q > 0 ? (q = k) < 5 && (b = O[w], w += 2, v = u[b], x[++y] = v) : (q = k) > 13 && (v = x[y], x[y] = x[y - 1], x[y - 1] = v); else if (q > 1) if (q = 3 & k, k >>= 2, q > 2) (q = k) < 5 ? (b = O[w], a[o][0] && !a[o][2] ? a[o][1] = [w + 4, b - 3] : a[o++] = [0, [w + 4, b - 3], 0], w += 2 * b - 2) : q < 7 && (b = O[w], w += 2, x[++y] = u["$" + b]); else if (q > 1) { if ((q = k) > 2) x[y--] ? w += 4 : w += 2 * (b = O[w]) - 2; else if (q > 0) { for (b = O[w], v = "", S = r.q[b][0]; S < r.q[b][1]; S++) v += String.fromCharCode(i ^ r.p[S]); x[++y] = v, w += 4 } } else q > 0 ? (q = k) < 3 && (v = x[y--], x[y] = x[y] + v) : (q = k) > 9 ? (b = O[w], w += 2, v = x[y--], u[b] = v) : q > 7 && (b = O[w], w += 4, f = y + 1, x[y -= b - 1] = b ? x.slice(y, f) : []); else if (q > 0) if (q = 3 & k, k >>= 2, q < 1) { if ((q = k) > 9) ; else if (q > 3) { b = O[w]; try { if (a[o][2] = 1, 1 == (v = z(e, w + 4, b - 3, [], u, m, null, 0))[0]) return v } catch (p) { if (a[o] && a[o][1] && 1 == (v = z(e, a[o][1][0], a[o][1][1], [], u, m, p, 0))[0]) return v } finally { if (a[o] && a[o][0] && 1 == (v = z(e, a[o][0][0], a[o][0][1], [], u, m, null, 0))[0]) return v; a[o] = 0, o-- } w += 2 * b - 2 } } else if (q < 2) { if ((q = k) > 12) x[++y] = O[w], w += 2; else if (q > 8) { for (b = O[w], q = "", S = r.q[b][0]; S < r.q[b][1]; S++) q += String.fromCharCode(i ^ r.p[S]); w += 4, x[y] = x[y][q] } } else q < 3 ? (q = k) > 11 ? (v = x[y], x[++y] = v) : q > 0 && (x[++y] = v) : (q = k) > 5 ? (v = x[y--], x[y] = x[y] !== v) : q > -1 && (x[y] = !x[y]); else if (q = 3 & k, k >>= 2, q > 2) (q = k) < 12 && (x[++y] = void 0); else if (q > 1) { if ((q = k) < 9) { for (v = x[y--], b = O[w], q = "", S = r.q[b][0]; S < r.q[b][1]; S++) q += String.fromCharCode(i ^ r.p[S]); w += 4, x[y--][q] = v } } else if (q > 0) (q = k) < 6 ? x[y -= 1] = x[y][x[y + 1]] : q < 10 && (v = x[y--], x[y] = typeof v); else { var N; if ((q = k) > 14) b = O[w], (N = function t() { var n = arguments; return t.y > 0 || t.y++, B(e, t.c, t.l, n, t.z, this, null, 0) } ).c = w + 4, N.l = b - 2, N.x = z, N.y = 0, N.z = u, x[y] = N, w += 2 * b - 2; else if (q > 12) f = x[y--], g = x[y--], (q = x[y--]).x === z ? q.y >= 1 ? x[++y] = B(e, q.c, q.l, f, q.z, g, null, 1) : (x[++y] = B(e, q.c, q.l, f, q.z, g, null, 0), q.y++) : x[++y] = q.apply(g, f); else if (q > -1) return [1, x[y--]] } return [0, null] }
暂无留言,赶快评论吧