总价,面积,电话
1、关键词搜索
2、找到相应的 js 代码
3、浏览器console调试,扣代码
function getKey(_0xbd4fc7, _0x4584ba) {
for (var _0x4ebc16 = 0; _0x4ebc16 < _0xbd4fc7["length"]; _0x4ebc16++) {
if (_0xbd4fc7[_0x4ebc16] == _0x4584ba) {
return _0x4ebc16;
}
}
}
function dropRepeat(_0x19f646) {
var _0x5dbd33 = [];
var _0x37655d = {};
for (var _0x54ab99 = 0, _0x21f7ac; _0x54ab99 < _0x19f646["length"]; _0x54ab99++) {
_0x21f7ac = _0x19f646[_0x54ab99];
if (!_0x37655d[_0x21f7ac]) {
_0x37655d[_0x21f7ac] = true;
_0x5dbd33 = _0x5dbd33 + _0x21f7ac;
}
}
_0x5dbd33 = _0x5dbd33["toLowerCase"]();
if (_0x5dbd33["length"] < 32) {
var _0x341d9d = 65;
while (_0x5dbd33["length"] < 32) {
_0x5dbd33 += String["fromCharCode"](_0x341d9d++);
}
}
return _0x5dbd33;
}
function result(sale_id, data_encrypt) {
var _0x517199 = [`forsale/${sale_id}.html`];
if (_0x517199 && _0x517199[0]) {
_0x517199 = _0x517199[0];
_0x517199 = sale_id; // 0097399346278
} else {
if (!(typeof haCode == "undefined")) {
_0x517199 = haCode;
} else {
if (!(typeof dealCode == "undefined")) {
_0x517199 = dealCode;
} else {
_0x517199 = "";
}
}
}
if (_0x517199) {
var _0x376470 = dropRepeat(_0x517199);
var _0x14798c = _0x376470["substring"](0, 6);
var _0x331692 = data_encrypt // "0973461196709689632VTJD82RPQLW87";
_0x331692 = _0x331692["replace"](_0x14798c, "");
var _0x49ac2c = parseInt(_0x331692["substring"](0, 2));
var _0x331692 = _0x331692["substring"](2, _0x49ac2c + 2);
var _0x244706 = "";
for (var _0x3f10aa = 0; _0x3f10aa < _0x331692["length"]; _0x3f10aa++) {
_0x244706 += getKey(_0x376470, _0x331692[_0x3f10aa]);
}
console.log(_0x244706)
}
};
result('0097399316511', '09731604B159PK9HV3VGT176PYGAWLUS') // 链接 id,data-encrypt值