master
刘东琪 8 months ago
parent a7dc9e132c
commit 8123233e5e
  1. 16
      routes/service/static/fp/fp-crypt.js
  2. 27
      test/fp/chunk-npjg4qgmmrfrjl3r.js
  3. 14
      test/fp/test_ueryFpjcxx.js

@ -8,11 +8,11 @@ class FpCrypt {
publicKey: "", tokenKey: ""
};
constructor(cookies, publicKey) {
constructor(cookies) {
this.cookie = cookies
if (publicKey) {
this.publicKey = publicKey
}
// if (publicKey) {
// this.publicKey = publicKey
// }
}
/**
@ -21,16 +21,16 @@ class FpCrypt {
* @param e
* @returns {*}
*/
handleSuffix = function (t, e) {
handleSuffix(t, e) {
var a = '1|4|2|0|3'['split']("|"),
c = 0, s, l, f, d, p, h;
if (!t) return t;
if (t['indexOf']('cssSecurity/v1/getPublicKey') > -1) return t;
s = t;
l = this.Re();
f = l['publicKey'];
d = l['tokenKey'];
h = l['urlType'];
// f = l['publicKey'];
// d = l['tokenKey'];
// h = l['urlType'];
p = l['urlYzm'];
s = this.He(s, d, 0, e)
if (p) {

@ -5160,12 +5160,19 @@ logger = console.info;
})
return _0x534587;
}
this["$_y_ds"] = "";
this["$byno"] = () => {
const _0x475ce7 = document["querySelector"]("head meta[name='_y_ds']");
if (_0x475ce7) {
var _0x13f88b = _0x475ce7["content"];
// logger('1.获取meta标签 _y_ds', _0x13f88b)
var _0x4a87cf = _0x2c29b1(_0x13f88b, window);
let _y_ds = "";
let _0x475ce7 = document["querySelector"]("head meta[name='_y_ds']");
if(window.$_y_ds != null && window.$_y_ds !== ""){
_y_ds = window.$_y_ds;
logger('1.获取传入数据 _y_ds', _y_ds)
} else if (_0x475ce7) {
_y_ds = _0x475ce7["content"];
logger('1.获取meta标签 _y_ds', _y_ds)
}
if (_y_ds){
var _0x4a87cf = _0x2c29b1(_y_ds, window);
// logger('2.获取密钥', _0x4a87cf)
if (_0x4a87cf == null) {
return;
@ -5173,14 +5180,14 @@ logger = console.info;
_0x4a87cf["run"]();
_0x475ce7["content"] = '';
_0x475ce7["parentNode"]["removeChild"](_0x475ce7);
const _0x1031c9 = document["querySelector"]("head script[id='_y_ds_s']");
_0x1031c9 && _0x1031c9["parentNode"]["removeChild"](_0x1031c9);
// const _0x1031c9 = document["querySelector"]("head script[id='_y_ds_s']");
// _0x1031c9 && _0x1031c9["parentNode"]["removeChild"](_0x1031c9);
}
const _0x1c8f5a = document["querySelector"]("head meta[name='_x_ds']");
if (_0x1c8f5a) {
var _0x4252bc = _0x1c8f5a["content"];
logger('4.获取meta标签 _x_ds', _0x4252bc)
var _0x4252bc = _0x15817b["decode"](_0x4252bc);
var _x_ds = _0x1c8f5a["content"];
logger('4.获取meta标签 _x_ds', _x_ds)
var _0x4252bc = _0x15817b["decode"](_x_ds);
logger('5.解密_x_ds', _0x4252bc)
_0x4252bc["length"] > 0 && (window["zextdata"] = _0x4252bc["split"](","));
}

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save