HEX
Server: nginx/1.28.3
System: Linux ip-172-31-12-242 6.17.0-1007-aws #7~24.04.1-Ubuntu SMP Thu Jan 22 21:04:49 UTC 2026 x86_64
User: root (0)
PHP: 7.4.33
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: /www/server/panel/BTPanel/static/js/anti-channel-site-legacy2.js
!function(){function t(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var e,r,o="function"==typeof Symbol?Symbol:{},u=o.iterator||"@@iterator",a=o.toStringTag||"@@toStringTag";function c(t,o,u,a){var c=o&&o.prototype instanceof s?o:s,l=Object.create(c.prototype);return n(l,"_invoke",function(t,n,o){var u,a,c,s=0,l=o||[],f=!1,p={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return u=t,a=0,c=e,p.n=n,i}};function v(t,n){for(a=t,c=n,r=0;!f&&s&&!o&&r<l.length;r++){var o,u=l[r],v=p.p,d=u[2];t>3?(o=d===n)&&(c=u[(a=u[4])?5:(a=3,3)],u[4]=u[5]=e):u[0]<=v&&((o=t<2&&v<u[1])?(a=0,p.v=n,p.n=u[1]):v<d&&(o=t<3||u[0]>n||n>d)&&(u[4]=t,u[5]=n,p.n=d,a=0))}if(o||t>1)return i;throw f=!0,n}return function(o,l,d){if(s>1)throw TypeError("Generator is already running");for(f&&1===l&&v(l,d),a=l,c=d;(r=a<2?e:c)||!f;){u||(a?a<3?(a>1&&(p.n=-1),v(a,c)):p.n=c:p.v=c);try{if(s=2,u){if(a||(o="next"),r=u[o]){if(!(r=r.call(u,c)))throw TypeError("iterator result is not an object");if(!r.done)return r;c=r.value,a<2&&(a=0)}else 1===a&&(r=u.return)&&r.call(u),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);u=e}else if((r=(f=p.n<0)?c:t.call(n,p))!==i)break}catch(r){u=e,a=1,c=r}finally{s=1}}return{value:r,done:f}}}(t,u,a),!0),l}var i={};function s(){}function l(){}function f(){}r=Object.getPrototypeOf;var p=[][u]?r(r([][u]())):(n(r={},u,function(){return this}),r),v=f.prototype=s.prototype=Object.create(p);function d(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,f):(t.__proto__=f,n(t,a,"GeneratorFunction")),t.prototype=Object.create(v),t}return l.prototype=f,n(v,"constructor",f),n(f,"constructor",l),l.displayName="GeneratorFunction",n(f,a,"GeneratorFunction"),n(v),n(v,a,"Generator"),n(v,u,function(){return this}),n(v,"toString",function(){return"[object Generator]"}),(t=function(){return{w:c,m:d}})()}function n(t,e,r,o){var u=Object.defineProperty;try{u({},"",{})}catch(t){u=0}n=function(t,e,r,o){function a(e,r){n(t,e,function(t){return this._invoke(e,r,t)})}e?u?u(t,e,{value:r,enumerable:!o,configurable:!o,writable:!o}):t[e]=r:(a("next",0),a("throw",1),a("return",2))},n(t,e,r,o)}function e(t,n,e,r,o,u,a){try{var c=t[u](a),i=c.value}catch(t){return void e(t)}c.done?n(i):Promise.resolve(i).then(r,o)}function r(t){return function(){var n=this,r=arguments;return new Promise(function(o,u){var a=t.apply(n,r);function c(t){e(a,o,u,c,i,"next",t)}function i(t){e(a,o,u,c,i,"throw",t)}c(void 0)})}}System.register(["./base-lib-legacy.js?v=1777008528","./utils-lib-legacy.js?v=1777008528","./__commonjsHelpers__-legacy.js?v=1777008528"],function(n,e){"use strict";var o,u,a,c,i,s,l,f,p,v,d,y,m,h,g,b,S,j,_;return{setters:[function(t){o=t.c,u=t.r,a=t.o,c=t.I,i=t.J,s=t.p,l=t.j,f=t.k,p=t.q,v=t.e,d=t.Q,y=t.ap,m=t.G},function(t){h=t.k,g=t.dX,b=t.M,S=t.dY,j=t.dZ,_=t.cP},null],execute:function(){var e={class:"p-[20px]"};n("default",o({__name:"anti-channel-site",setup:function(n){var o=u([{content:"开启后可以解决HTTPS窜站的问题"},{content:"不支持IP证书的防窜,直接使用IP访问的勿开"}]),w=u([{content:"开启后将在网站新部署SSL证书时生效"},{content:"不影响已部署SSL的网站"}]),P=u(),T=u(),x=u(!1),O=function(){var n=r(t().m(function n(e){var r;return t().w(function(t){for(;;)switch(t.n){case 0:return t.n=1,h({loading:"正在设置,请稍后...",request:S(),message:!0});case 1:r=t.v,P.value=r.status?e:!e;case 2:return t.a(2)}},n)}));return function(t){return n.apply(this,arguments)}}(),G=function(){var n=r(t().m(function n(e){var r;return t().w(function(t){for(;;)switch(t.n){case 0:return t.n=1,h({loading:"正在设置,请稍后...",request:j({status:e?1:0}),message:!0});case 1:r=t.v,T.value=r.status?e:!e;case 2:return t.a(2)}},n)}));return function(t){return n.apply(this,arguments)}}();return a(function(){h({loading:x,request:g(),success:function(t){t.status?(P.value=t.data.data.https_mode,T.value=t.data.data.http2https):b.error(t.msg)}})}),function(t,n){var r=y,u=_,a=m,h=c("bt-loading");return i((l(),f("div",e,[n[2]||(n[2]=p("span",{class:"mr-[12px]"},"HTTPS防窜站",-1)),v(r,{modelValue:s(P),"onUpdate:modelValue":n[0]||(n[0]=function(t){return d(P)?P.value=t:null}),onChange:O},null,8,["modelValue"]),v(u,{class:"ml-[20px] my-[20px]",options:s(o)},null,8,["options"]),v(a),n[3]||(n[3]=p("span",{class:"mr-[12px]"},"部署SSL后自动开启HTTPS",-1)),v(r,{modelValue:s(T),"onUpdate:modelValue":n[1]||(n[1]=function(t){return d(T)?T.value=t:null}),onChange:G},null,8,["modelValue"]),v(u,{class:"ml-[20px] my-[20px]",options:s(w)},null,8,["options"])])),[[h,s(x)]])}}}))}}})}();