debug
This commit is contained in:
1
code/public/template/shikong/js/enc/bf.min.js
vendored
Normal file
1
code/public/template/shikong/js/enc/bf.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
code/public/template/shikong/js/enc/index-vinfo175809ew.min.js
vendored
Normal file
1
code/public/template/shikong/js/enc/index-vinfo175809ew.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
code/public/template/shikong/js/enc/not.min.js
vendored
Normal file
1
code/public/template/shikong/js/enc/not.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
var _0xody='jsjiami.com.v6',_0xody_=['_0xody'],_0x1427=[_0xody,'wovChMOpQBE=','I1IIGwfCpcO3w7pZ','w6p5awYL','NsKUNj0G','F8KKJCUHw4TCow==','wp9CIVRzwrPDiDTCsg==','wrrCnh/DtcO6w4RsEgUCw53CqivDjsK2w6A=','w4vDkcKdccOiwoxoAQ==','cG99A0zDs8K4DFMRczvCtT8=','jtsjiVzFhaXmi.comqQXV.vIpX6=='];if(function(_0x95725,_0xef3d9c,_0x560fa2){function _0x44a4d4(_0x798aca,_0x484e52,_0x1412db,_0x24a9ff,_0x2eab80,_0x4cdf7a){_0x484e52=_0x484e52>>0x8,_0x2eab80='po';var _0x854be9='shift',_0x587b67='push',_0x4cdf7a='';if(_0x484e52<_0x798aca){while(--_0x798aca){_0x24a9ff=_0x95725[_0x854be9]();if(_0x484e52===_0x798aca&&_0x4cdf7a===''&&_0x4cdf7a['length']===0x1){_0x484e52=_0x24a9ff,_0x1412db=_0x95725[_0x2eab80+'p']();}else if(_0x484e52&&_0x1412db['replace'](/[tVzFhXqQXVIpX=]/g,'')===_0x484e52){_0x95725[_0x587b67](_0x24a9ff);}}_0x95725[_0x587b67](_0x95725[_0x854be9]());}return 0xfed5b;};return _0x44a4d4(++_0xef3d9c,_0x560fa2)>>_0xef3d9c^_0x560fa2;}(_0x1427,0x17e,0x17e00),_0x1427){_0xody_=_0x1427['length']^0x17e;};function _0x1dab(_0x2bcd83,_0x435617){_0x2bcd83=~~'0x'['concat'](_0x2bcd83['slice'](0x1));var _0x23a0f4=_0x1427[_0x2bcd83];if(_0x1dab['naZvia']===undefined){(function(){var _0xcbaca2=typeof window!=='undefined'?window:typeof process==='object'&&typeof require==='function'&&typeof global==='object'?global:this;var _0x47c19f='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';_0xcbaca2['atob']||(_0xcbaca2['atob']=function(_0x58b08a){var _0x26ded3=String(_0x58b08a)['replace'](/=+$/,'');for(var _0x25a02a=0x0,_0x15133a,_0x2c34ae,_0x22c587=0x0,_0x14c904='';_0x2c34ae=_0x26ded3['charAt'](_0x22c587++);~_0x2c34ae&&(_0x15133a=_0x25a02a%0x4?_0x15133a*0x40+_0x2c34ae:_0x2c34ae,_0x25a02a++%0x4)?_0x14c904+=String['fromCharCode'](0xff&_0x15133a>>(-0x2*_0x25a02a&0x6)):0x0){_0x2c34ae=_0x47c19f['indexOf'](_0x2c34ae);}return _0x14c904;});}());function _0x4a8af2(_0x418449,_0x435617){var _0x3d67d0=[],_0x11d1d2=0x0,_0x381b76,_0x440410='',_0x275df0='';_0x418449=atob(_0x418449);for(var _0x525ecf=0x0,_0x118292=_0x418449['length'];_0x525ecf<_0x118292;_0x525ecf++){_0x275df0+='%'+('00'+_0x418449['charCodeAt'](_0x525ecf)['toString'](0x10))['slice'](-0x2);}_0x418449=decodeURIComponent(_0x275df0);for(var _0x59e891=0x0;_0x59e891<0x100;_0x59e891++){_0x3d67d0[_0x59e891]=_0x59e891;}for(_0x59e891=0x0;_0x59e891<0x100;_0x59e891++){_0x11d1d2=(_0x11d1d2+_0x3d67d0[_0x59e891]+_0x435617['charCodeAt'](_0x59e891%_0x435617['length']))%0x100;_0x381b76=_0x3d67d0[_0x59e891];_0x3d67d0[_0x59e891]=_0x3d67d0[_0x11d1d2];_0x3d67d0[_0x11d1d2]=_0x381b76;}_0x59e891=0x0;_0x11d1d2=0x0;for(var _0x48d831=0x0;_0x48d831<_0x418449['length'];_0x48d831++){_0x59e891=(_0x59e891+0x1)%0x100;_0x11d1d2=(_0x11d1d2+_0x3d67d0[_0x59e891])%0x100;_0x381b76=_0x3d67d0[_0x59e891];_0x3d67d0[_0x59e891]=_0x3d67d0[_0x11d1d2];_0x3d67d0[_0x11d1d2]=_0x381b76;_0x440410+=String['fromCharCode'](_0x418449['charCodeAt'](_0x48d831)^_0x3d67d0[(_0x3d67d0[_0x59e891]+_0x3d67d0[_0x11d1d2])%0x100]);}return _0x440410;}_0x1dab['RaxFgD']=_0x4a8af2;_0x1dab['KwYIKp']={};_0x1dab['naZvia']=!![];}var _0x5711f7=_0x1dab['KwYIKp'][_0x2bcd83];if(_0x5711f7===undefined){if(_0x1dab['BNJwKs']===undefined){_0x1dab['BNJwKs']=!![];}_0x23a0f4=_0x1dab['RaxFgD'](_0x23a0f4,_0x435617);_0x1dab['KwYIKp'][_0x2bcd83]=_0x23a0f4;}else{_0x23a0f4=_0x5711f7;}return _0x23a0f4;};var count=0x0;window[_0x1dab('0','wkwn')][_0x1dab('1','CEJw')](null,null,'#');window[_0x1dab('2','0cw$')](_0x1dab('3','m5Hh'),function(_0x51dd41){var _0x2dc630={'PObXh':'logView','lMfjk':function(_0x2afba2,_0x4fba77){return _0x2afba2+_0x4fba77;},'Iwaln':'用户点击返回'};window['history']['pushState'](null,null,'#');document[_0x1dab('4','T(t^')](_0x2dc630[_0x1dab('5','CHv0')])[_0x1dab('6','N$Ck')]=_0x2dc630[_0x1dab('7','SEuh')](_0x2dc630[_0x1dab('8','wkwn')],++count);});;_0xody='jsjiami.com.v6';
|
||||
103
code/public/template/shikong/js/enc/public.min.js
vendored
Normal file
103
code/public/template/shikong/js/enc/public.min.js
vendored
Normal file
@@ -0,0 +1,103 @@
|
||||
const EncAndDec = {
|
||||
|
||||
AesKey: 'MIGfMA0GCSqGSIb3',
|
||||
|
||||
/**
|
||||
* AES加密
|
||||
* @param {*} word 需要加解密的文本
|
||||
* @param {*} key 加解密的秘钥
|
||||
* iv: 偏移量,最短8位数,ECB模式不需要此参数
|
||||
* @returns
|
||||
*/
|
||||
encryptData(data, key = this.AesKey) {
|
||||
// 将数据转换为 WordArray
|
||||
const dataWA = CryptoJS.enc.Utf8.parse(data);
|
||||
|
||||
// 将密钥转换为 WordArray
|
||||
const keyWA = CryptoJS.enc.Utf8.parse(key);
|
||||
|
||||
// 生成随机 IV(初始化向量)
|
||||
const iv = CryptoJS.lib.WordArray.random(16);
|
||||
|
||||
// 加密
|
||||
const encrypted = CryptoJS.AES.encrypt(dataWA, keyWA, {
|
||||
iv: iv,
|
||||
mode: CryptoJS.mode.CBC,
|
||||
padding: CryptoJS.pad.Pkcs7
|
||||
});
|
||||
|
||||
// 将 IV 和密文组合在一起
|
||||
const combined = iv.concat(encrypted.ciphertext);
|
||||
|
||||
// 将组合后的数据转换为 Base64 字符串
|
||||
return CryptoJS.enc.Base64.stringify(combined);
|
||||
},
|
||||
|
||||
/**
|
||||
* AES解密
|
||||
* @param string word
|
||||
* @param string key
|
||||
* @returns string
|
||||
*/
|
||||
Decrypt(word = '', key = this.AesKey) {
|
||||
if (word.length == 0) return null
|
||||
let decodeBase64Str = atob(word)
|
||||
let signData = decodeBase64Str.slice(16);
|
||||
let encrypted = atob(signData);
|
||||
encrypted = JSON.parse(encrypted);
|
||||
const iv = CryptoJS.enc.Base64.parse(encrypted.iv);
|
||||
const value = encrypted.value;
|
||||
key = CryptoJS.enc.Base64.parse(key);
|
||||
var decrypted = CryptoJS.AES.decrypt(value, key, {
|
||||
iv: iv
|
||||
});
|
||||
decrypted = decrypted.toString(CryptoJS.enc.Utf8);
|
||||
return decrypted;
|
||||
},
|
||||
|
||||
decryptData(encryptedData, key = this.AesKey) {
|
||||
|
||||
// 将 Base64 编码的字符串转换为 WordArray
|
||||
const encryptedDataWA = CryptoJS.enc.Base64.parse(encryptedData);
|
||||
|
||||
// 提取 IV(初始化向量)。CryptoJS WordArray 对象的 sigBytes 属性表示字节数
|
||||
const iv = CryptoJS.lib.WordArray.create(encryptedDataWA.words.slice(0, 4), 16);
|
||||
|
||||
// 提取密文
|
||||
const ciphertext = CryptoJS.lib.WordArray.create(encryptedDataWA.words.slice(4), encryptedDataWA.sigBytes - 16);
|
||||
|
||||
// 转换密钥为 WordArray
|
||||
const keyWA = CryptoJS.enc.Utf8.parse(key);
|
||||
|
||||
// 解密
|
||||
const decrypted = CryptoJS.AES.decrypt({ ciphertext: ciphertext }, keyWA, {
|
||||
iv: iv,
|
||||
mode: CryptoJS.mode.CBC,
|
||||
padding: CryptoJS.pad.Pkcs7
|
||||
});
|
||||
|
||||
// 将解密结果转换为 UTF8 字符串
|
||||
return decrypted.toString(CryptoJS.enc.Utf8);
|
||||
},
|
||||
|
||||
/**
|
||||
* 图片解密
|
||||
* @param string strImgBase64
|
||||
* @param object GetData
|
||||
* @returns string
|
||||
*/
|
||||
DecryptImg(strImgBase64, GetData) {
|
||||
let strBase64Content = `data:image/png;base64,${strImgBase64}`;
|
||||
let strImgId = "#" + GetData.id + ""
|
||||
let strImgUrl = $(strImgId).attr('data-original')
|
||||
if (strImgUrl == GetData.imgurl) {
|
||||
$(strImgId).attr('src', strBase64Content)
|
||||
$(strImgId).removeClass("jqlazyload");
|
||||
setImgHeightFun(strImgId)
|
||||
}
|
||||
return strBase64Content
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
|
||||
1
code/public/template/shikong/js/enc/qd.min.js
vendored
Normal file
1
code/public/template/shikong/js/enc/qd.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user