网页动态产生JS,但是这个JS里有POST必要参数,这该如何解决?
1.去哪儿搜索机票时有一个es参数,如下图
2.然后查到这个参数由一个js文件产生,如下图:
这个名称和时间戳一样的js文件就是产生这个参数的代码
3.这个文件经过比较简单的加密,我破解出来产生参数的主要代码为:
window.SERVER_TIME = new Date(),
window.navigator.userAgent = "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.62 Safari/537.36";
var _oxpv, _uene, _xva, _khn;
_oxpv = (_lvfh = window["Object"](),
_lvfh["a62"] = function(_qsr, _knmb) { return _qsr < _knmb
}
,
_lvfh["a68"] = function(_kfov, _fna) {
return _kfov == _fna
}
,
_lvfh["a74"] = function(_fna, _chf) {
return _fna == _chf
}
,
_lvfh["a77"] = function(_qsr, _fna) {
return _qsr < _fna
}
,
_lvfh["a81"] = function(_wgr, _vmmj) {
return _wgr == _vmmj
}
,
_lvfh["a90"] = function(_chf, _wgr) {
return _chf == _wgr
}
,
_lvfh["a98"] = function(_knmb, _kfov) {
return _knmb == _kfov
}
,
_lvfh["a102"] = function(_kfov, _juj) {
return _kfov == _juj
}
,
_lvfh["a106"] = function(_kfov, _fna) {
return _kfov == _fna
}
,
_lvfh["a115"] = function(_juj, _chf) {
return _juj - _chf
}
,
_lvfh["a118"] = function(_fna, _chf) {
return _fna == _chf
}
,
_lvfh["a124"] = function(_kfov, _juj) {
return _kfov == _juj
}
,
_lvfh["a127"] = function(_knmb, _kfov) {
return _knmb * _kfov
}
,
_lvfh["a130"] = function(_qsr, _juj) {
return _qsr == _juj
}
,
_lvfh["a133"] = function(_fna, _wgr) {
return _fna == _wgr
}
,
_lvfh["a137"] = function(_qsr, _knmb) {
return _qsr < _knmb
}
,
_lvfh["a140"] = function(_chf, _ulbe) {
return _chf == _ulbe
}
,
_lvfh["a143"] = function(_rvx, _sckq) {
return _rvx * _sckq
}
,
_lvfh["a148"] = function(_fna, _chf) {
return _fna * _chf
}
,
_lvfh["a151"] = function(_qsr, _kfov) {
return _qsr - _kfov
}
,
_lvfh["a154"] = function(_knmb, _kfov) {
return _knmb == _kfov
}
,
_lvfh["a157"] = function(_kfov, _wgr) {
return _kfov * _wgr
}
,
_lvfh["a160"] = function(_chf, _qlj) {
return _chf - _qlj
}
,
_lvfh["a163"] = function(_juj, _qlj) {
return _juj == _qlj
}
,
_lvfh["a166"] = function(_knmb, _juj) {
return _knmb << _juj
}
,
_lvfh["a171"] = function(_vmmj, _ulbe) {
return _vmmj >> _ulbe
}
,
_lvfh["a175"] = function(_knmb, _fna) {
return _knmb * _fna
}
,
_lvfh["a182"] = function(_qsr, _kfov) {
return _qsr == _kfov
}
,
_lvfh["a185"] = function(_kfov, _juj) {
return _kfov == _juj
}
,
_lvfh["a191"] = function(_knmb, _kfov) {
return _knmb >> _kfov
}
,
_lvfh["a194"] = function(_kfov, _juj) {
return _kfov >> _juj
}
,
_lvfh["a199"] = function(_knmb, _kfov) {
return _knmb * _kfov
}
,
_lvfh["a204"] = function(_sckq, _qsr) {
return _sckq * _qsr
}
,
_lvfh["a213"] = function(_knmb, _kfov) {
return _knmb == _kfov
}
,
_lvfh["a216"] = function(_qsr, _juj) {
return _qsr * _juj
}
,
_lvfh["a219"] = function(_juj, _wgr) {
return _juj == _wgr
}
,
_lvfh["a222"] = function(_qsr, _juj) {
return _qsr * _juj
}
,
_lvfh["a225"] = function(_sckq, _knmb) {
return _sckq - _knmb
}
,
_lvfh["a228"] = function(_kfov, _chf) {
return _kfov == _chf
}
,
_lvfh["a235"] = function(_rvx, _sckq) {
return _rvx == _sckq
}
,
_lvfh["a238"] = function(_kfov, _juj) {
return _kfov << _juj
}
,
_lvfh["a243"] = function(_sckq, _juj) {
return _sckq == _juj
}
,
_lvfh["a246"] = function(_qsr, _knmb) {
return _qsr - _knmb
}
,
_lvfh["a249"] = function(_sckq, _knmb) {
return _sckq == _knmb
}
,
_lvfh["a253"] = function(_knmb, _kfov) {
return _knmb == _kfov
}
,
_lvfh["a256"] = function(_knmb, _kfov) {
return _knmb * _kfov
}
,
_lvfh["a263"] = function(_kfov, _juj) {
return _kfov * _juj
}
,
_lvfh["a266"] = function(_knmb, _fna) {
return _knmb >> _fna
}
,
_lvfh["a270"] = function(_rvx, _knmb) {
return _rvx >> _knmb
}
,
_lvfh["a274"] = function(_juj, _fna) {
return _juj * _fna
}
,
_lvfh["a281"] = function(_qsr, _knmb) {
return _qsr >> _knmb
}
,
_lvfh["a287"] = function(_qlj, _ulbe) {
return _qlj == _ulbe
}
,
_lvfh["a290"] = function(_kfov, _chf) {
return _kfov * _chf
}
,
_lvfh["a293"] = function(_juj, _chf) {
return _juj >> _chf
}
,
_lvfh["a299"] = function(_sckq, _qsr) {
return _sckq << _qsr
}
,
_lvfh["a302"] = function(_juj, _chf) {
return _juj >> _chf
}
,
_lvfh["a306"] = function(_knmb, _fna) {
return _knmb - _fna
}
,
_lvfh["a309"] = function(_knmb, _nytf) {
return _knmb == _nytf
}
,
_lvfh["a312"] = function(_wgr, _ydpx) {
return _wgr * _ydpx
}
,
_lvfh["a317"] = function(_kfov, _juj) {
return _kfov >> _juj
}
,
_lvfh["a320"] = function(_knmb, _juj) {
return _knmb == _juj
}
,
_lvfh["a324"] = function(_kfov, _fna) {
return _kfov == _fna
}
,
_lvfh["a327"] = function(_rvx, _qsr) {
return _rvx * _qsr
}
,
_lvfh["a330"] = function(_qsr, _knmb) {
return _qsr - _knmb
}
,
_lvfh["a333"] = function(_wgr, _vmmj) {
return _wgr == _vmmj
}
,
_lvfh["a336"] = function(_kfov, _fna) {
return _kfov * _fna
}
,
_lvfh["a341"] = function(_qlj, _wgr) {
return _qlj << _wgr
}
,
_lvfh["a348"] = function(_qsr, _juj) {
return _qsr >> _juj
}
,
_lvfh["a351"] = function(_qlj, _vmmj) {
return _qlj < _vmmj
}
,
_lvfh["a357"] = function(_chf, _vmmj) {
return _chf < _vmmj
}
,
_lvfh["a361"] = function(_fna, _wgr) {
return _fna - _wgr
}
,
_lvfh["a365"] = function(_knmb, _kfov) {
return _knmb > _kfov
}
,
_lvfh["a373"] = function(_sckq, _juj) {
return _sckq > _juj
}
,
_lvfh["a381"] = function(_sckq, _qsr) {
return _sckq == _qsr
}
,
_lvfh["a387"] = function(_juj, _fna) {
return _juj * _fna
}
,
_lvfh["a390"] = function(_wgr, _ulbe) {
return _wgr - _ulbe
}
,
_lvfh["a393"] = function(_vmmj, _ulbe) {
return _vmmj == _ulbe
}
,
_lvfh["a396"] = function(_vmmj, _nytf) {
return _vmmj * _nytf
}
,
_lvfh["a400"] = function(_kfov, _juj) {
return _kfov == _juj
}
,
_lvfh["a412"] = function(_zme, _ydpx) {
return _zme > _ydpx
}
,
_lvfh["a415"] = function(_kfov, _juj) {
return _kfov > _juj
}
,
_lvfh["a418"] = function(_fna, _chf) {
return _fna > _chf
}
,
_lvfh["a424"] = function(_chf, _ulbe) {
return _chf * _ulbe
}
,
_lvfh["a428"] = function(_qsr, _juj) {
return _qsr == _juj
}
,
_lvfh["a432"] = function(_kfov, _juj) {
return _kfov << _juj
}
,
_lvfh["a436"] = function(_kqxa, _zme) {
return _kqxa * _zme
}
,
_lvfh["a442"] = function(_qsr, _wgr) {
return _qsr == _wgr
}
,
_lvfh["a456"] = function(_knmb, _kfov) {
return _knmb - _kfov
}
,
_lvfh["a459"] = function(_qsr, _knmb) {
return _qsr > _knmb
}
,
_lvfh["a466"] = function(_chf, _vmmj) {
return _chf == _vmmj
}
,
_lvfh["a471"] = function(_knmb, _chf) {
return _knmb * _chf
}
,
_lvfh["a474"] = function(_fna, _chf) {
return _fna == _chf
}
,
_lvfh["a484"] = function(_kfov, _juj) {
return _kfov - _juj
}
,
_lvfh["a487"] = function(_qsr, _kfov) {
return _qsr == _kfov
}
,
_lvfh["a491"] = function(_chf, _wgr) {
return _chf - _wgr
}
,
_lvfh["a494"] = function(_kfov, _juj) {
return _kfov == _juj
}
,
_lvfh["a497"] = function(_kfov, _juj) {
return _kfov == _juj
}
,
_lvfh["a500"] = function(_qlj, _ulbe) {
return _qlj == _ulbe
}
,
_lvfh["a504"] = function(_sckq, _qsr) {
return _sckq == _qsr
}
,
_lvfh["a516"] = function(_qsr, _knmb) {
return _qsr == _knmb
}
,
_lvfh["a520"] = function(_qsr, _juj) {
return _qsr == _juj
}
,
_lvfh["a523"] = function(_kfov, _fna) {
return _kfov > _fna
}
,
_lvfh["a526"] = function(_ulbe, _kqxa) {
return _ulbe * _kqxa
}
,
_lvfh["a529"] = function(_vmmj, _ulbe) {
return _vmmj == _ulbe
}
,
_lvfh), _uene = _xva = _khn = _oxpv;
_ppgk = function() {
return window["Math"]["random"]()["toFixed"](8) };
_aoqo = function() {
var _iii, _aoa, _ntb, _ghq, _mggp, _nulr, _kpxy, _ojh, _clpf, _xoih, _qme, _tpkz, _xeo, _ndfw, _ihzw, _iumv, _ceov = 390324, _duel = -(751301), _qsbz = 751301, _kmwt = 797252, _jsnb = -(559097), _tvin = "SERVE", _pyn = window.SERVER_TIME, _xzz = _aoa = _pyn; if (!_xzz)
return 9999;
else {
if (!-(0))
_ntb = -(0);
else
_ntb = 1;
if (!_ntb)
_ghq = 2;
if (_ghq)
_mggp = _khn["a361"](_aoa["getFullYear"](), 2000);
else
window["dd"] = window["Number"](window["dd"]) + 1,
window["dd"] - 1;
_nulr = _xzz["getMonth"]() + (1);
_kpxy = _aoa["getDate"]();
_ojh = _aoa["getHours"]();
_clpf = _aoa["getMinutes"]();
_xoih = _xzz["getSeconds"]();
if (!-(0))
_qme = -(0);
else
_qme = 1;
if (!_qme)
_tpkz = 2;
if (_tpkz)
_xeo = (_iii = window["Array"](),
_iii[-(0)] = _mggp,
_iii[1] = _nulr,
_iii[2] = _kpxy,
_iii[3] = _ojh,
_iii[4] = _clpf,
_iii[5] = _xoih,
_iii);
else
window["dd"] = window["location"];
_ndfw = "";
for (_ihzw = 0; _ihzw < _xeo["length"]; _ihzw = window["Number"](_ihzw) + 1,
_ihzw - 1) {
_iumv = _xeo[_ihzw];
_ndfw += _khn["a365"](_iumv, 10) ? _iumv : "0" + _iumv
}
return _ndfw
}
}
;
_babs = function(_ceov) {
var _hgd, _mbo, _yvxo, _vuy, _yvx, _yjbc, _akkp, _rmxj, _pxy, _qquf, _pey, _vye, _zkxs, _tpul, _rscj, _kqg, _aqtu, _gfz, _lhji, _dzpr, _uhi, _zvo, _pbw, _dcu, _ihzw, _apbm, _fnr, _zhwt, _wjma, _fnud, _sfr, _bzey, _kvqx, _ivxa, _ald, _dbae, _fch, _swke, _ldh, _fjq, _gzmd, _abp, _drsi, _rpba, _uirt, _ajxj, _qzj, _xciq, _ylo, _duel = -(574312), _svtg = 574312, _kmwt = 293074, _wky = -(38091), _cse = -(207966), _dca = 920830, _rrh = -(920827), _nhe = 391549, _wzxo = 896673, _rbmy = -(896665), _hcnn = -(937613), _fqi = 937616, _biqu = -(111183), _xic = 111198, _vmpl = 729156, _qbmv = -(905166), _kbn = 905170, _nvax = -(911897), _bgmq = 78641, _utq = -(913264), _gvcs = 138814, _rdi = -(946079), _zgx = 946087, _hxm = 655416, _aiu = 68041, _xqnh = -(355114), _isx = -(490610), _pkg = 490618, _oead = -(714149), _nmyp = 889739, _ghj = -(889735), _qxie = 79302, _asii = -(79301), _cfw = -(618857), _bjf = 618865, _cgu = -(908207), _btge = 759435, _mtl = 803526, _ihlp = -(803522), _thiq = 631060, _qbh = -(623171), _lng = 632187, _uqh = 422601, _ghuq = -(944635), _qcsj = 944636, _ovm = 937423, _fire = -(937421), _czlf = 457020, _jnk = 446119, _iprd = -(536270), _qmu = -(450015), _yogn = 380576, _iqo = -(805731), _onm = 125798, _tlsw = 317454, _tll = -(317451), _gpim = -(31670), _mtj = 452032, _gtjv = -(588813), _lqsl = 570419, _yhov = -(570416), _wjjv = 390956, _wemq = 747387, _ikdl = -(747355), _ede = 564569, _zuka = -(564563), _idd = -(872155), _wmb = -(891612), _umqy = 891614, _nqnc = -(261692), _ihix = 261692, _tlx = 266333, _xods = -(849090), _klg = 849091, _bhfo = -(286281), _otf = 241675, _vji = -(241674), _mgn = 146271, _txuu = -(813738), _rsdd = 813746, _qjvj = 787578, _jtbl = -(980514), _pal = 47692, _gxm = -(47691), _qloy = -(375094), _knbe = 788740, _kxqy = -(998747), _rwi = -(221145), _nbfv = -(552659), _bpiy = 780119, _xoj = 307180, _rpnp = -(71388), _dgaf = 71420, _yys = 215323, _diz = -(242507), _dmdv = 265035, _jlr = -(265003), _cbdq = -(215144), _bvq = 215147, _manz = -(691721), _gem = 691721, _vxuk = 591958, _otz = 948306, _dnu = 315106, _lszc = 818787, _sojn = -(818780), _mhmo = -(342635), _hpn = 187070, _qhm = 822019, _rbp = -(671770), _ttzn = 671774, _abda = 887554, _psxq = 6824, _zkt = -(6822), _xdo = 969939, _psm = -(969815), _bfe = 736023, _yhg = -(736020), _hzpe = -(935098), _pclc = 873826, _lzvu = 241393, _ksz = 507722, _mclf = -(507719), _tbj = 769701, _nenn = 96801, _wca = -(96797), _fqd = 55887, _mml = -(55886), _acri = 304785, _wvu = -(304782), _qiar = 953218, _weib = -(953210), _gmsm = 285267, _ycrw = 576450, _egac = -(949683), _jez = 949690, _heno = 21693, _tzw = -(21692), _hkx = 956119, _eui = 372190, _kynb = -(372189), _ouj = -(884101), _mpxl = 128018, _gcm = -(128017), _ybrr = -(241875), _vxq = 241877, _mgxx = -(938187), _oix = 485678, _lyz = -(485673), _gsm = 131366, _hqto = -(131361), _cun = 2111, _zby = 247361, _gdc = 240984, _dfx = 390447, _bxhh = -(390432), _tnf = -(235443), _jnxj = -(53899), _lsnq = -(864851), _ukf = -(532930), _jwzw = 532930, _kzy = -(982665), _oxmk = 795489, _kqk = -(795484), _hml = "ber", _buuf = "MjXfiphxWB6q/GDr", _qif = "str"; if (typeof _ceov != "string")
_ceov = _ceov["toString"]();
for (_qquf = -(0),
_pey = -(0); _pey <= 7; _qquf = (_pey = window["Number"](_pey) + 1,
_pey) + (_pey = window["Number"](_pey) + 1,
_pey - 1) + _pey) {
if (_khn["a90"](_pey, _qquf)) {
_vye = -(0);
while (!_vye) {
if (_vye + 1) {
_vye += 1;
continue
}
window["dd"] = window["navigator"]["userAgent"]
}
continue
}
if (2 * _pey == _qquf - 5) {
_rscj = window["Math"]["floor"](_zkxs / (5)),
_rmxj = _pxy = _rscj;
break
}
if (2 * _pey == _qquf - 2) {
_zkxs = _ceov["length"];
_pey = window["Number"](_pey) + 1,
_pey - 1
}
if (3 * _pey == _qquf + 2)
_zvo = "MjXfiphxWB6q/GDr" + "Zct7SYegCaHOysTu="
}
for (_pbw = -(0),
_dcu = -(0); _dcu <= 7; _pbw = (_dcu = window["Number"](_dcu) + 1,
_dcu) + (_dcu = window["Number"](_dcu) + 1,
_dcu - 1) + _dcu) {
if (_khn["a98"](_dcu, _pbw)) {
_kqg = _zkxs % (5);
continue
}
if (_uene["a102"](2 * _dcu, _pbw - 5)) {
_dzpr = window["Array"]();
break
}
if (_xva["a106"](2 * _dcu, _pbw - 2)) {
_lhji = window["Array"](),
_hgd = _mbo = _yvxo = _lhji;
_dcu = window["Number"](_dcu) + 1,
_dcu - 1
}
if (3 * _dcu == _pbw + 2)
_uhi = ""
}
for (_ihzw = 0; _ihzw < _zkxs; _ihzw = window["Number"](_ihzw) + 1,
_ihzw - 1)
for (_apbm = -(0),
_fnr = -(0); _fnr <= 7; _apbm = (_fnr = window["Number"](_fnr) + 1,
_fnr) + (_fnr = window["Number"](_fnr) + 1,
_fnr - 1) + _fnr) {
if (_fnr == _apbm) {
_zhwt = -(0);
while (!_zhwt) {
if (_zhwt + 1) {
_wjma = _ceov["charCodeAt"](_ihzw);
_zhwt += 1;
continue
}
window["dd"] = window["aa"] > 0 ? this : this["target"]
}
continue
}
if (2 * _fnr == _apbm - 5) {
_dzpr[_ihzw] = _wjma;
break
}
if (_uene["a118"](2 * _fnr, _xva["a115"](_apbm, 2))) {
_wjma = _fnud(_wjma);
_fnr = window["Number"](_fnr) + 1,
_fnr - 1
}
if (3 * _fnr == _apbm + 2)
_fnud = function(_yzci) {
var _okz, _zyh, _gjic, _wgww = -(698966), _cse = 698968, _dca = -(240933), _rrh = 642339, _shf = -(642337), _bnl = -(959363), _rtl = 959603, _slct = -(248012), _xplw = 248016, _bfw898 = 348130, _sgmx = -(348126), _kiyb = 235613, _qfq = "num", _uhi = _yzci, _eim = _okz = _uhi;
if (typeof _okz != "number")
return;
for (_zyh = -(0),
_gjic = -(0); _gjic <= 7; _zyh = (_gjic = window["Number"](_gjic) + 1,
_gjic) + (_gjic = window["Number"](_gjic) + 1,
_gjic - 1) + _gjic) {
if (_khn["a124"](_gjic, _zyh)) {
_uhi = _okz >> 1 & 85 | _eim << 1 & 170,
_eim = _okz = _uhi;
continue
}
if (2 * _gjic == _zyh - 5) {
return _eim;
break
}
if (_xva["a130"](_xva["a127"](2, _gjic), _zyh - 2)) {
_uhi = _okz >> 4 & 15 | _eim << 4 & 240,
_eim = _okz = _uhi;
_gjic = window["Number"](_gjic) + 1,
_gjic - 1
}
if (_khn["a133"](3 * _gjic, _zyh + 2))
_uhi = _okz >> 2 & 51 | _eim << 2 & 204,
_eim = _okz = _uhi
}
}
}
for (_ihzw = 0; _khn["a137"](_ihzw, _pxy); _ihzw = window["Number"](_ihzw) + 1,
_ihzw - 1) {
for (_sfr = -(0),
_bzey = -(0); _bzey <= 7; _sfr = (_bzey = window["Number"](_bzey) + 1,
_bzey) + (_bzey = window["Number"](_bzey) + 1,
_bzey - 1) + _bzey) {
if (_khn["a140"](_bzey, _sfr)) {
_aqtu = _dzpr["slice"](_xva["a143"](5, _ihzw), _khn["a148"](5, _ihzw) + (5)),
_yjbc = _akkp = _aqtu;
continue
}
if (_khn["a154"](2 * _bzey, _uene["a151"](_sfr, 5))) {
_mbo[(8) * _ihzw + (2)] = (_akkp[1] & 62) >> 1;
break
}
if (_uene["a163"](_khn["a157"](2, _bzey), _xva["a160"](_sfr, 2))) {
_yvxo[_uene["a175"](8, _ihzw) + (1)] = _khn["a166"](_yjbc[0] & 7, 2) | _xva["a171"](_yjbc[1], 6);
_bzey = window["Number"](_bzey) + 1,
_bzey - 1
}
if (3 * _bzey == _sfr + 2) {
_kvqx = -(0);
while (!_kvqx) {
if (_kvqx + 1) {
_yvxo[(8) * _ihzw] = _akkp[0] >> 3;
_kvqx += 1;
continue
}
window["dd"] = window["Number"](window["dd"]) + 1,
window["dd"] - 1
}
}
}
for (_ivxa = -(0),
_ald = -(0); _ald <= 7; _ivxa = (_ald = window["Number"](_ald) + 1,
_ald) + (_ald = window["Number"](_ald) + 1,
_ald - 1) + _ald) {
if (_xva["a182"](_ald, _ivxa)) {
_yvxo[(8) * _ihzw + (3)] = (_akkp[1] & 1) << 4 | _yjbc[2] >> 4;
continue
}
if (_khn["a185"](2 * _ald, _ivxa - 5)) {
_yvxo[(8) * _ihzw + (6)] = (_akkp[3] & 3) << 3 | _yjbc[4] >> 5;
break
}
if (2 * _ald == _ivxa - 2) {
_mbo[(8) * _ihzw + (5)] = _khn["a191"](_yjbc[3] & 124, 2);
_ald = window["Number"](_ald) + 1,
_ald - 1
}
if (3 * _ald == _ivxa + 2)
_hgd[_khn["a199"](8, _ihzw) + (4)] = (_yjbc[2] & 15) << 1 | _uene["a194"](_yjbc[3], 7)
}
_yvxo[_khn["a204"](8, _ihzw) + (7)] = _yjbc[4] & 31
}
_gfz = _dzpr["slice"]((5) * _pxy),
_vuy = _yvx = _gfz;
__jol0: switch (_yvx["length"]) {
case 0:
break;
case 1:
for (_dbae = -(0),
_fch = -(0); _fch <= 7; _dbae = (_fch = window["Number"](_fch) + 1,
_fch) + (_fch = window["Number"](_fch) + 1,
_fch - 1) + _fch) {
if (_khn["a213"](_fch, _dbae)) {
_hgd[(8) * _pxy] = _vuy[0] >> 3;
continue
}
if (_uene["a219"](_khn["a216"](2, _fch), _dbae - 5)) {
break __jol0;
break
}
if (_khn["a228"](_khn["a222"](2, _fch), _xva["a225"](_dbae, 2))) {
if (!-(0))
_swke = -(0);
else
_swke = 1;
if (!_swke)
_ldh = 2;
if (_ldh)
_yvxo["push"](32, 32, 32, 32, 32, 32);
else
window["dd"] = window["location"];
if (!-(0))
_fjq = -(0);
else
_fjq = 1;
if (!_fjq)
_gzmd = 2;
if (_gzmd)
_fch = window["Number"](_fch) + 1,
_fch - 1;
else
window["dd"] = this
}
if (_uene["a235"](3 * _fch, _dbae + 2))
_yvxo[(8) * _rmxj + (1)] = _khn["a238"](_vuy[0] & 7, 2)
}
case 2:
for (_abp = -(0),
_drsi = -(0); _drsi <= 7; _abp = (_drsi = window["Number"](_drsi) + 1,
_drsi) + (_drsi = window["Number"](_drsi) + 1,
_drsi - 1) + _drsi) {
if (_xva["a243"](_drsi, _abp)) {
_yvxo[(8) * _pxy] = _yvx[0] >> 3;
continue
}
if (_xva["a249"](2 * _drsi, _khn["a246"](_abp, 5))) {
_hgd[(8) * _rmxj + (3)] = (_yvx[1] & 1) << 4;
break
}
if (2 * _drsi == _abp - 2) {
_mbo[(8) * _rmxj + (2)] = (_yvx[1] & 62) >> 1;
_drsi = window["Number"](_drsi) + 1,
_drsi - 1
}
if (_xva["a253"](3 * _drsi, _abp + 2))
_hgd[_khn["a256"](8, _pxy) + (1)] = (_vuy[0] & 7) << 2 | _vuy[1] >> 6
}
_mbo["push"](32, 32, 32, 32);
break;
case 3:
for (_rpba = -(0),
_uirt = -(0); _uirt <= 7; _rpba = (_uirt = window["Number"](_uirt) + 1,
_uirt) + (_uirt = window["Number"](_uirt) + 1,
_uirt - 1) + _uirt) {
if (_uirt == _rpba) {
_hgd[_uene["a263"](8, _rmxj)] = _uene["a266"](_yvx[0], 3);
continue
}
if (2 * _uirt == _rpba - 5) {
_mbo[(8) * _rmxj + (3)] = (_yvx[1] & 1) << 4 | _yvx[2] >> 4;
break
}
if (2 * _uirt == _rpba - 2) {
_hgd[_khn["a274"](8, _pxy) + (2)] = _khn["a270"](_vuy[1] & 62, 1);
_uirt = window["Number"](_uirt) + 1,
_uirt - 1
}
if (3 * _uirt == _rpba + 2)
_mbo[(8) * _pxy + (1)] = (_yvx[0] & 7) << 2 | _xva["a281"](_vuy[1], 6)
}
_mbo[(8) * _rmxj + (4)] = (_vuy[2] & 15) << 1;
_mbo["push"](32, 32, 32);
break;
case 4:
for (_ajxj = -(0),
_qzj = -(0); _qzj <= 7; _ajxj = (_qzj = window["Number"](_qzj) + 1,
_qzj) + (_qzj = window["Number"](_qzj) + 1,
_qzj - 1) + _qzj) {
if (_khn["a287"](_qzj, _ajxj)) {
_hgd[_xva["a290"](8, _pxy)] = _xva["a293"](_vuy[0], 3);
continue
}
if (2 * _qzj == _ajxj - 5) {
_yvxo[(8) * _rmxj + (3)] = _khn["a299"](_vuy[1] & 1, 4) | _xva["a302"](_vuy[2], 4);
break
}
if (_khn["a309"](2 * _qzj, _xva["a306"](_ajxj, 2))) {
_mbo[_xva["a312"](8, _rmxj) + (2)] = _khn["a317"](_vuy[1] & 62, 1);
_qzj = window["Number"](_qzj) + 1,
_qzj - 1
}
if (_khn["a320"](3 * _qzj, _ajxj + 2))
_hgd[(8) * _rmxj + (1)] = (_vuy[0] & 7) << 2 | _yvx[1] >> 6
}
for (_xciq = -(0),
_ylo = -(0); _ylo <= 7; _xciq = (_ylo = window["Number"](_ylo) + 1,
_ylo) + (_ylo = window["Number"](_ylo) + 1,
_ylo - 1) + _ylo) {
if (_uene["a324"](_ylo, _xciq)) {
_mbo[(8) * _rmxj + (4)] = (_yvx[2] & 15) << 1 | _yvx[3] >> 7;
continue
}
if (2 * _ylo == _xciq - 5) {
_hgd["push"](32);
break
}
if (_khn["a333"](_xva["a327"](2, _ylo), _khn["a330"](_xciq, 2))) {
_yvxo[_uene["a336"](8, _pxy) + (6)] = _xva["a341"](_yvx[3] & 3, 3);
_ylo = window["Number"](_ylo) + 1,
_ylo - 1
}
if (3 * _ylo == _xciq + 2)
_yvxo[(8) * _pxy + (5)] = _xva["a348"](_vuy[3] & 124, 2)
}
}
for (_ihzw = 0; _khn["a351"](_ihzw, _yvxo["length"]); _ihzw = window["Number"](_ihzw) + 1,
_ihzw - 1)
_uhi += _zvo["charAt"](_mbo[_ihzw]);
return _uhi
};
_fmjc = function(_duel) {
var _syn, _ihzw, _svtg = -(40151), _qbs = 40151, _gml = "/", _qsbz = _syn = _duel; _syn["pop"]();
for (_ihzw = 0; _uene["a357"](_ihzw, _syn["length"]); _ihzw = window["Number"](_ihzw) + 1,
_ihzw - 1) {
if (!_qsbz[_ihzw])
_syn[_ihzw] = _qbs + _svtg;
_qsbz[_ihzw] = _syn[_ihzw]["toString"]()
}
return _qsbz["join"](_gml)
}
;
var _pbv = window["Array"]();
_pbv[0] = _ppgk(),_pbv[1] = _aoqo(),
_pbv[2] = "QB",
_pbv[3] = 0,
_pbv[4] = 1 ,
_pbv[5] = "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.62 Safari/537.36";
var _cokw =_fmjc(_pbv);
uadata = _babs(_cokw ) + "|" + "1517921410227";
uadata结果为:jcHiaxi/YZhiaxX/TthjCfX/BZhWa7M/BZeiasi6WqHMasi/|1517921410227,
当然随着时间还是会变的,而且这个文件是我好几天前复制过来破解的。并且我用破解的js产生的文件不能作为查询机票的es参数。
4.但是当我们重新搜索时,如下图
5.这个js文件名称变化了,我再度破解后,发现里面虽然变量名全变了,但是大多数代码结构和我之前的是类似的,而且的确其中一些参数变化了。
6.最后我就想问下如何应对这种连JS都动态变化的网站?
回答:
哈哈,没戏,我破解过,你得另想方法,他们用的是专业防爬虫防火墙
以上是 网页动态产生JS,但是这个JS里有POST必要参数,这该如何解决? 的全部内容, 来源链接: utcz.com/a/156539.html