jdpro/function/h5st41.js

12 lines
31 KiB
JavaScript
Raw Normal View History

2024-01-02 12:59:48 +00:00
/*
安装依赖 npm i date-fns
byTY
TG @nyqty 自己写 h5st 支持 3.0 3.1 400 4.1
来源于 TY 大佬在此引用有问题联系删除
*/
const CryptoJS = require("crypto-js");
const got = require("got");
const {format} = require("date-fns");
;eval(function(p,a,c,k,e,r){e=function(c){return(c<62?'':e(parseInt(c/62)))+((c=c%62)>35?String.fromCharCode(c+29):c.toString(36))};if('0'.replace(0,e)==0){while(c--)r[e(c)]=k[c];k=[function(e){return r[e]||e}];e=function(){return'([ac-fi-kmoprsx-zAH-JL-SU-WYZ]|[\\da]\\w)'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('37(\'0x0\');((e(2w,4y,4z,38,2x,1o,1M){2w=2w>>2;1o=\'hs\';1M=\'hs\';d e(4A,39,1p,1B,1k){1B=\'tfi\';1o=1B+1o;1k=\'up\';1M+=1k;1o=1p(1o);1M=1p(1M);1p=0;k 2y=4A();3a(1q&&--38+39){1N{1B=Z(a(568,"11"))/1+ -Z(a(434,"(Q"))/2+ -Z(a(337,"1r"))/3+Z(a(581,"15"))/4*(Z(a(543,"^oz*"))/5)+Z(a(679,"b*Qj"))/6+ -Z(a(573,"1s"))/7+Z(a(625,"J"))/8}1O(_0x125448){1B=1p}2z{1k=2y[1o]();if(2w<=38){1p?2x?1B=1k:2x=1k:1p=1k}m{if(1p==2x[\'4B\'](/[kCEwdWOfGPXgnlqSNLuK=]/g,\'\')){if(1B===39){2y[\'un\'+1o](1k);3b}2y[1M](1k)}}}}}(4z,4y,e(1C,3c,3d,3e,_0xa46df1,_0x44528e,_0x134482){3c="3f";1C=4C[0];1C=1C[3c](\'\');3d=`\\4D\\3g\\x76\\3g\\4D\\x73\\3g`;1C=1C[3d]("v");3e=`\\x6a\\x6f\\x69\\x6e`;1236966;d 1C[3e](\'\')})})(812,615217,1D,205),1D)&&(2A=1D);e a(2a,4E){k 3h=1D();a=e(2b,4F){2b=2b-4G;f 1P=3h[2b];if(a["4H"]===3i){o 4I=e(4J){k 4K="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=";f 2B=\'\',3j=\'\';x(f 2C=0,2D,1E,4L=0;1E=4J["4M"](4L++);~1E&&(2D=2C%4?2D*64+1E:1E,2C++%4)?2B+=4N["4O"](255&2D>>(-2*2C&6)):0){1E=4K["indexOf"](1E)}x(f 2E=0,3k=2B["1F"];2E<3k;2E++){3j+="%"+("00"+2B["3l"](2E)["1t"](16))["4P"](-2)}d decodeURIComponent(3j)};k 4Q=e(2c,3m){f L=[],17=0,1Q,2F=\'\';2c=4I(2c);f p;x(p=0;p<1R;p++){L[p]=p}x(p=0;p<1R;p++){17=(17+L[p]+3m["3l"](p%3m["1F"]))%1R;1Q=L[p];L[p]=L[17];L[17]=1Q}p=0;17=0;x(f 2d=0;2d<2c["1F"];2d++){p=(p+1)%1R;17=(17+L[p])%1R;1Q=L[p];L[p]=L[17];L[17]=1Q;2F+=4N["4O"](2c["3l"](2d)^L[(L[p]+L[17])%1R])}d 2F};a["4R"]=4Q;2a=4C;a["4H"]=1q}k 4S=3h[0],3n=2b+4S,3o=2a[3n];!3o?(a["4T"]===3i&&(a["4T"]=1q),1P=a["4R"](1P,4F),2a[3n]=1P):1P=3o;d 1P};d a(2a,4E)}e 1e(4U,3p=a(431,"15")){k 2e={"4V":e(4W,4X){d 4W<4X},"VoMzo":e(4Y,4Z){d 4Y===4Z},"KhtlA":a(492,"2G*"),"oHKFr":e(50,51){d 50*51}};f 3q=\'\';x(f 3s=0;2e["4V"](3s,4U);3s++){2e[a(489,"$!C#")](a(304,"1f$"),2e[a(676,"y")])?_0x58cbf6="66":3q+=3p["4M"](1u["52"](2e[a(710,"3T^v")](1u["1S"](),3p[a(507,"^oz*")])))}d 3q}e 3t(3u,3v){k M={"RPqlQ":e(53,54,55){d 53(54,55)},"56":"57!@58#59(","Gzcoj":"hex","HhkhY":"0102030405060708","3w":e(5a,5b){d 5a!==5b},"aKUhU":"aIFBF","5c":e(5d,5e){d 5d<5e},"5f":a(426,"X!Rf"),"dDchh":e(5g,5h){d 5g|5h},"cGlVV":e(5i,5j){d 5i*5j},"pZekx":e(5k,5l){d 5k-5l},"5m":e(5n,5o){d 5n-5o}};f 1w=[],3x=3u[a(553,"18[")];x(f 2H=0;2H<10;2H++){if(M["3w"](M[a(329,"3r#F")],M[a(386,"^oz*")])){1N{k{"5p":5q,"5r":_0x4658af}=_0x4cd38a;_0x388303["1T"](\'\'+_0x29dfe9[a(546,"y")](5q));_0x546bb1[a(572,"1s")](_0x39c5c0+a(657,"2f"))}1O(5s){_0x416cc7["1T"](5s)}2z{_0x11ae09(\'\')}}m{if(1u[a(703,"U")]()*3x<3v){1w["5t"](3u[2H]);if(--3v===0){if(M["3w"]("wbFdE","XpKkC")){3b}m{_0x529f77=M[a(314,"X!Rf")](_0x340215,M["56"],_0x30ac0e)}}}3x--}}f 3y=\'\';x(f 2g=0,2I;M["5c"](2g,1w["1F"]);2g++){if(a(652,"1U")===M["5f"]){k 5u=_0x41d3b2[a(523,"V")](_0x2d9c99,M[a(569,"@q[T")])["1t"](a(413,"J"));o 5v=_0x4e2819["5w"][a(681,"nH)2")](5u,_0x174828["2h"][a(532,"1r")]["3z"](_0x419768),{"iv":_0x546f46[a(716,"(Q")][a(709,"W$")][a(527,"1U")](M[a(731,"]E[G")]),"3A":_0xc40ee5[a(587,"3T^v")]["5x"],"3B":_0x70b552[a(615,"(Q")][a(453,"1g")]});d _0x5e7fca[a(515,"nK&K")](5v[a(5y,"3T^v")](_0x56741d["2h"]["3C"]))}m{2I=M[a(670,"V")](M[a(740,"11")](1u[a(697,"1G")](),M[a(604,"1m&")](1w[a(303,"b*Qj")],2g)),0);3y+=1w[2I];1w[2I]=1w[M["5m"](1w[a(420,"D[9Y")],2g)-1]}}d 3y}e 3D(5z,2J){k 1h={"wFvdf":e(5A,5C){d 5A==5C},"5D":e(5E,5F){d 5E+5F},"5G":a(320,"11"),"5H":e(5I,5J){d 5I(5J)},"fKnYM":e(5K,5L){d 5K<5L},"5M":e(5N,5O){d 5N!==5O},"DWMgh":a(727,"1U")};f 2i=5z;x(f 2j=0;1h[a(683,"&3E")](2j,2J[a(736,"19")]);2j++){if(1h[a(673,"y")](1h[a(704,"15")],1h[a(707,"y")])){if(1h[a(484,"W$")](_0xc5c234[a(302,"b*Qj")],3F)){f 2K=_0x5e09fa["1V"]["5P"];c["tk"]=2K["tk"];c["fp"]=2K["fp"];c[a(663,"19")]=Y _0x2d80fb(1h["5D"](1h["5G"],2K[a(477,"1H&")]))();1h["5H"](_0xff476f,_0x5ec01e["1V"][a(382,"R")])}m{_0x825