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-legacy326.js
!function(){function n(n){return function(n){if(Array.isArray(n))return t(n)}(n)||function(n){if("undefined"!=typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}(n)||function(n,e){if(n){if("string"==typeof n)return t(n,e);var r={}.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(n):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?t(n,e):void 0}}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function t(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,r=Array(t);e<t;e++)r[e]=n[e];return r}function e(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var n,t,o="function"==typeof Symbol?Symbol:{},u=o.iterator||"@@iterator",i=o.toStringTag||"@@toStringTag";function a(e,o,u,i){var a=o&&o.prototype instanceof l?o:l,f=Object.create(a.prototype);return r(f,"_invoke",function(e,r,o){var u,i,a,l=0,f=o||[],s=!1,d={p:0,n:0,v:n,a:p,f:p.bind(n,4),d:function(t,e){return u=t,i=0,a=n,d.n=e,c}};function p(e,r){for(i=e,a=r,t=0;!s&&l&&!o&&t<f.length;t++){var o,u=f[t],p=d.p,m=u[2];e>3?(o=m===r)&&(a=u[(i=u[4])?5:(i=3,3)],u[4]=u[5]=n):u[0]<=p&&((o=e<2&&p<u[1])?(i=0,d.v=r,d.n=u[1]):p<m&&(o=e<3||u[0]>r||r>m)&&(u[4]=e,u[5]=r,d.n=m,i=0))}if(o||e>1)return c;throw s=!0,r}return function(o,f,m){if(l>1)throw TypeError("Generator is already running");for(s&&1===f&&p(f,m),i=f,a=m;(t=i<2?n:a)||!s;){u||(i?i<3?(i>1&&(d.n=-1),p(i,a)):d.n=a:d.v=a);try{if(l=2,u){if(i||(o="next"),t=u[o]){if(!(t=t.call(u,a)))throw TypeError("iterator result is not an object");if(!t.done)return t;a=t.value,i<2&&(i=0)}else 1===i&&(t=u.return)&&t.call(u),i<2&&(a=TypeError("The iterator does not provide a '"+o+"' method"),i=1);u=n}else if((t=(s=d.n<0)?a:e.call(r,d))!==c)break}catch(t){u=n,i=1,a=t}finally{l=1}}return{value:t,done:s}}}(e,u,i),!0),f}var c={};function l(){}function f(){}function s(){}t=Object.getPrototypeOf;var d=[][u]?t(t([][u]())):(r(t={},u,function(){return this}),t),p=s.prototype=l.prototype=Object.create(d);function m(n){return Object.setPrototypeOf?Object.setPrototypeOf(n,s):(n.__proto__=s,r(n,i,"GeneratorFunction")),n.prototype=Object.create(p),n}return f.prototype=s,r(p,"constructor",s),r(s,"constructor",f),f.displayName="GeneratorFunction",r(s,i,"GeneratorFunction"),r(p),r(p,i,"Generator"),r(p,u,function(){return this}),r(p,"toString",function(){return"[object Generator]"}),(e=function(){return{w:a,m:m}})()}function r(n,t,e,o){var u=Object.defineProperty;try{u({},"",{})}catch(n){u=0}r=function(n,t,e,o){function i(t,e){r(n,t,function(n){return this._invoke(t,e,n)})}t?u?u(n,t,{value:e,enumerable:!o,configurable:!o,writable:!o}):n[t]=e:(i("next",0),i("throw",1),i("return",2))},r(n,t,e,o)}function o(n,t,e,r,o,u,i){try{var a=n[u](i),c=a.value}catch(n){return void e(n)}a.done?t(c):Promise.resolve(c).then(r,o)}function u(n){return function(){var t=this,e=arguments;return new Promise(function(r,u){var i=n.apply(t,e);function a(n){o(i,r,u,a,c,"next",n)}function c(n){o(i,r,u,a,c,"throw",n)}a(void 0)})}}System.register(["./index-legacy118.js?v=1777008528","./utils-lib-legacy.js?v=1777008528","./base-lib-legacy.js?v=1777008528","./firewall-legacy.js?v=1777008528","./index-legacy3.js?v=1777008528","./__commonjsHelpers__-legacy.js?v=1777008528","./index-legacy119.js?v=1777008528","./index-legacy116.js?v=1777008528"],function(t,r){"use strict";var o,i,a,c,l,f,s,d,p,m,y,v,b,g,h,w,j,_,O,x,S,k,A,P,T,V,G,q;return{setters:[function(n){o=n._},function(n){i=n.c,a=n.k,c=n.w,l=n.d3,f=n.cO,s=n.cP,d=n.K},function(n){p=n.c,m=n.r,y=n.H,v=n.e,b=n.o,g=n.I,h=n.j,w=n.k,j=n.v,_=n.x,O=n.J,x=n.p,S=n.Q,k=n.z,A=n.ad,P=n.ab},function(n){T=n.T,V=n.U,G=n.V},function(n){q=n.g},null,null,null],execute:function(){t("default",p({__name:"index",setup:function(t){i();var r=m(!1),p=m([]),C=m(!1),E=y({cmd:""}),F=m(),I={cmd:[{trigger:["blur","change"],required:!0,message:"请输入进程名称"}]},U=function(){var n=u(e().m(function n(){return e().w(function(n){for(;;)switch(n.n){case 0:return n.n=1,a({loading:r,request:T(),data:[Array,p]});case 1:return n.a(2)}},n)}));return function(){return n.apply(this,arguments)}}(),H=function(){var n=u(e().m(function n(t){return e().w(function(n){for(;;)switch(n.n){case 0:return n.n=1,c({icon:"warning-filled",title:"删除进程白名单【"+t+"】",width:"34rem",content:"删除选中的进程后,该进程将不再进行收到保护,是否继续操作?"});case 1:return n.n=2,a({loading:"正在删除进程白名单,请稍后...",request:V({cmd:t}),message:!0});case 2:U();case 3:return n.a(2)}},n)}));return function(t){return n.apply(this,arguments)}}(),z=function(){var n=u(e().m(function n(){return e().w(function(n){for(;;)switch(n.n){case 0:return n.n=1,F.value.validate();case 1:return n.n=2,a({loading:"正在添加进程白名单,请稍后...",request:G(E),message:!0});case 2:U(),C.value=!1,E.cmd="";case 3:return n.a(2)}},n)}));return function(){return n.apply(this,arguments)}}(),J=[{label:"进程名",render:function(n){return v("span",null,[n])}},q([{onClick:H,title:"删除"}])];return b(function(){U()}),function(t,e){var u=k,i=l,a=f,c=A,m=s,y=P,b=d,T=o,V=g("bt-loading");return h(),w("div",null,[v(T,null,{"header-left":j(function(){return[v(u,{type:"primary",onClick:e[0]||(e[0]=function(n){return C.value=!0})},{default:j(function(){return n(e[3]||(e[3]=[_(" 添加进程白名单 ",-1)]))}),_:1})]}),content:j(function(){return[O(v(i,{column:J,data:x(p),description:"进程白名单列表为空"},null,8,["data"]),[[V,x(r)],[V,"正在加载进程白名单列表,请稍后...","title"]])]}),popup:j(function(){return[v(b,{title:"添加进程",modelValue:x(C),"onUpdate:modelValue":e[2]||(e[2]=function(n){return S(C)?C.value=n:null}),area:42,onConfirm:z,showFooter:""},{default:j(function(){return[v(y,{ref_key:"addProcessWhiteRef",ref:F,rules:I,model:x(E),class:"p-[2rem]","label-width":"5rem"},{default:j(function(){return[v(c,{label:"进程名称",prop:"cmd"},{default:j(function(){return[v(a,{modelValue:x(E).cmd,"onUpdate:modelValue":e[1]||(e[1]=function(n){return x(E).cmd=n}),width:"20rem",placeholder:"例:/bin/bash",clearable:""},null,8,["modelValue"])]}),_:1}),v(m,{options:[{class:"text-danger",content:"命令需要填写全路径例如:/usr/bin/curl"}],class:"pl-[3.6rem] pt-[.4rem]"})]}),_:1},8,["model"])]}),_:1},8,["modelValue"])]}),_:1})])}}}))}}})}();