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/index-legacy371.js
!function(){function e(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var t,r,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",u=o.toStringTag||"@@toStringTag";function a(e,o,i,u){var a=o&&o.prototype instanceof l?o:l,s=Object.create(a.prototype);return n(s,"_invoke",function(e,n,o){var i,u,a,l=0,s=o||[],f=!1,d={p:0,n:0,v:t,a:p,f:p.bind(t,4),d:function(e,n){return i=e,u=0,a=t,d.n=n,c}};function p(e,n){for(u=e,a=n,r=0;!f&&l&&!o&&r<s.length;r++){var o,i=s[r],p=d.p,y=i[2];e>3?(o=y===n)&&(a=i[(u=i[4])?5:(u=3,3)],i[4]=i[5]=t):i[0]<=p&&((o=e<2&&p<i[1])?(u=0,d.v=n,d.n=i[1]):p<y&&(o=e<3||i[0]>n||n>y)&&(i[4]=e,i[5]=n,d.n=y,u=0))}if(o||e>1)return c;throw f=!0,n}return function(o,s,y){if(l>1)throw TypeError("Generator is already running");for(f&&1===s&&p(s,y),u=s,a=y;(r=u<2?t:a)||!f;){i||(u?u<3?(u>1&&(d.n=-1),p(u,a)):d.n=a:d.v=a);try{if(l=2,i){if(u||(o="next"),r=i[o]){if(!(r=r.call(i,a)))throw TypeError("iterator result is not an object");if(!r.done)return r;a=r.value,u<2&&(u=0)}else 1===u&&(r=i.return)&&r.call(i),u<2&&(a=TypeError("The iterator does not provide a '"+o+"' method"),u=1);i=t}else if((r=(f=d.n<0)?a:e.call(n,d))!==c)break}catch(r){i=t,u=1,a=r}finally{l=1}}return{value:r,done:f}}}(e,i,u),!0),s}var c={};function l(){}function s(){}function f(){}r=Object.getPrototypeOf;var d=[][i]?r(r([][i]())):(n(r={},i,function(){return this}),r),p=f.prototype=l.prototype=Object.create(d);function y(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,f):(e.__proto__=f,n(e,u,"GeneratorFunction")),e.prototype=Object.create(p),e}return s.prototype=f,n(p,"constructor",f),n(f,"constructor",s),s.displayName="GeneratorFunction",n(f,u,"GeneratorFunction"),n(p),n(p,u,"Generator"),n(p,i,function(){return this}),n(p,"toString",function(){return"[object Generator]"}),(e=function(){return{w:a,m:y}})()}function n(e,t,r,o){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}n=function(e,t,r,o){function u(t,r){n(e,t,function(e){return this._invoke(t,r,e)})}t?i?i(e,t,{value:r,enumerable:!o,configurable:!o,writable:!o}):e[t]=r:(u("next",0),u("throw",1),u("return",2))},n(e,t,r,o)}function t(e,n,t,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void t(e)}a.done?n(c):Promise.resolve(c).then(r,o)}System.register(["./utils-lib-legacy.js?v=1777008528","./base-lib-legacy.js?v=1777008528","./index-legacy317.js?v=1777008528","./firewall-legacy.js?v=1777008528","./index-legacy3.js?v=1777008528","./useStore-legacy8.js?v=1777008528","./__commonjsHelpers__-legacy.js?v=1777008528","./index-legacy119.js?v=1777008528","./index-legacy116.js?v=1777008528"],function(n,r){"use strict";var o,i,u,a,c,l,s,f,d,p,y,v,m,b,g,h,w,j,_,x,O;return{setters:[function(e){o=e.e,i=e._,u=e.k,a=e.cO},function(e){c=e.c,l=e.aC,s=e.H,f=e.r,d=e.o,p=e.j,y=e.k,v=e.e,m=e.v,b=e.p,g=e.q,h=e.ad,w=e.ab},function(e){j=e._},function(e){_=e.ab},function(e){x=e.w},function(e){O=e.g},null,null,null],execute:function(){var S={class:"ml-[10rem]"};n("default",c({__name:"index",setup:function(n,c){var k=c.expose,G=O().refs.isRefreshSpywares,P=l("popupClose"),T=s({dirs:""}),F=f(),E=f(!1),C={dirs:[{validator:function(e,n,t){if(!(n.length>0))return t(new Error("请输入目录"));t()},trigger:["blur","change"]}]},D=[{content:"添加指定目录",event:function(){x({type:"dir",change:function(e){""!=T.dirs?T.dirs=T.dirs+"\n"+e:T.dirs=e}})}},{content:"添加网站目录",event:function(){return o({title:"添加网站目录",area:50,component:function(){return i(function(){return r.import("./add-website-dir-legacy.js?v=1777008528")},void 0,r.meta.url)},compData:T,showFooter:!0})}}],R=function(){var n,r=(n=e().m(function n(t){return e().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,F.value.validate();case 1:u({request:_({data:JSON.stringify({dirs:T.dirs.split("\n")})}),loading:E,success:function(){P(),G.value=!0}});case 2:return e.a(2)}},n)}),function(){var e=this,r=arguments;return new Promise(function(o,i){var u=n.apply(e,r);function a(e){t(u,o,i,a,c,"next",e)}function c(e){t(u,o,i,a,c,"throw",e)}a(void 0)})});return function(e){return r.apply(this,arguments)}}();return d(function(){}),k({onConfirm:R}),function(e,n){var t=a,r=h,o=j,i=w;return p(),y("div",null,[v(i,{disabled:b(E),ref_key:"addDir",ref:F,rules:C,model:b(T),class:"p-[2rem] addDirFrom overflow-auto max-h-[60rem]","label-width":"5rem"},{default:m(function(){return[v(r,{label:"目录",prop:"dirs"},{default:m(function(){return[v(t,{type:"textarea",modelValue:b(T).dirs,"onUpdate:modelValue":n[0]||(n[0]=function(e){return b(T).dirs=e}),width:"30rem",class:"resize-none",autosize:{minRows:5,maxRows:5},placeholder:"如需填写多个目录请换行填写\n例:/www/aaa /www/bbb",clearable:""},null,8,["modelValue"])]}),_:1}),v(r,null,{default:m(function(){return[g("div",S,[v(o,{options:D})])]}),_:1})]}),_:1},8,["disabled","model"])])}}}))}}})}();