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/monitor-path-legacy.js
!function(){function t(t){return function(t){if(Array.isArray(t))return n(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return n(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}}(t)||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 n(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);e<n;e++)r[e]=t[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 t,n,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.toStringTag||"@@toStringTag";function u(e,o,i,a){var u=o&&o.prototype instanceof l?o:l,f=Object.create(u.prototype);return r(f,"_invoke",function(e,r,o){var i,a,u,l=0,f=o||[],s=!1,p={p:0,n:0,v:t,a:y,f:y.bind(t,4),d:function(n,e){return i=n,a=0,u=t,p.n=e,c}};function y(e,r){for(a=e,u=r,n=0;!s&&l&&!o&&n<f.length;n++){var o,i=f[n],y=p.p,d=i[2];e>3?(o=d===r)&&(u=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=t):i[0]<=y&&((o=e<2&&y<i[1])?(a=0,p.v=r,p.n=i[1]):y<d&&(o=e<3||i[0]>r||r>d)&&(i[4]=e,i[5]=r,p.n=d,a=0))}if(o||e>1)return c;throw s=!0,r}return function(o,f,d){if(l>1)throw TypeError("Generator is already running");for(s&&1===f&&y(f,d),a=f,u=d;(n=a<2?t:u)||!s;){i||(a?a<3?(a>1&&(p.n=-1),y(a,u)):p.n=u:p.v=u);try{if(l=2,i){if(a||(o="next"),n=i[o]){if(!(n=n.call(i,u)))throw TypeError("iterator result is not an object");if(!n.done)return n;u=n.value,a<2&&(a=0)}else 1===a&&(n=i.return)&&n.call(i),a<2&&(u=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=t}else if((n=(s=p.n<0)?u:e.call(r,p))!==c)break}catch(n){i=t,a=1,u=n}finally{l=1}}return{value:n,done:s}}}(e,i,a),!0),f}var c={};function l(){}function f(){}function s(){}n=Object.getPrototypeOf;var p=[][i]?n(n([][i]())):(r(n={},i,function(){return this}),n),y=s.prototype=l.prototype=Object.create(p);function d(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,s):(t.__proto__=s,r(t,a,"GeneratorFunction")),t.prototype=Object.create(y),t}return f.prototype=s,r(y,"constructor",s),r(s,"constructor",f),f.displayName="GeneratorFunction",r(s,a,"GeneratorFunction"),r(y),r(y,a,"Generator"),r(y,i,function(){return this}),r(y,"toString",function(){return"[object Generator]"}),(e=function(){return{w:u,m:d}})()}function r(t,n,e,o){var i=Object.defineProperty;try{i({},"",{})}catch(t){i=0}r=function(t,n,e,o){function a(n,e){r(t,n,function(t){return this._invoke(n,e,t)})}n?i?i(t,n,{value:e,enumerable:!o,configurable:!o,writable:!o}):t[n]=e:(a("next",0),a("throw",1),a("return",2))},r(t,n,e,o)}function o(t,n,e,r,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void e(t)}u.done?n(c):Promise.resolve(c).then(r,o)}System.register(["./index-legacy118.js?v=1777008528","./utils-lib-legacy.js?v=1777008528","./base-lib-legacy.js?v=1777008528","./index-legacy116.js?v=1777008528","./index-legacy3.js?v=1777008528","./index-legacy387.js?v=1777008528","./__commonjsHelpers__-legacy.js?v=1777008528","./index-legacy119.js?v=1777008528"],function(n,r){"use strict";var i,a,u,c,l,f,s,p,y,d,m,v,h,b,g,j,_,w,x,O,S;return{setters:[function(t){i=t._},function(t){a=t.w,u=t.M,c=t.d3},function(t){l=t.c,f=t.aI,s=t.r,p=t.I,y=t.j,d=t.C,m=t.v,v=t.e,h=t.p,b=t.Q,g=t.x,j=t.J,_=t.z},function(t){w=t._},function(t){x=t.g,O=t.w},function(t){S=t.H},null,null],execute:function(){n("default",l({__name:"monitor-path",setup:function(n){var r,l,T=S(),A=f(T).malwareData,k=T.setMalwareConfig,C=s(!1),G=s(""),I=s([{prop:"name",label:"路径",showOverflowTooltip:!0,minWidth:690},x([{title:"删除",onClick:(r=e().m(function t(n){return e().w(function(t){for(;;)switch(t.n){case 0:return t.n=1,a({title:"删除监控目录",content:"删除【"+n.name+"】后,系统将不再对该目录内的文件或内容进行检测"});case 1:return t.n=2,k({delete_monitor_path:n.name});case 2:return t.a(2)}},t)}),l=function(){var t=this,n=arguments;return new Promise(function(e,i){var a=r.apply(t,n);function u(t){o(a,e,i,u,c,"next",t)}function c(t){o(a,e,i,u,c,"throw",t)}u(void 0)})},function(t){return l.apply(this,arguments)})}])]),P=function(){return G.value?"/"===G.value?u.error("不能添加全盘路径"):(k({add_monitor_path:G.value}),void(G.value="")):u.error("请输入或选择目录路径")},E=function(){O({type:"dir",path:G.value,change:function(t){G.value=t}})};return function(n,e){var r=w,o=_,a=c,u=i,l=p("bt-loading");return y(),d(u,null,{"header-left":m(function(){return[v(r,{class:"mr-[12px]",modelValue:h(G),"onUpdate:modelValue":e[0]||(e[0]=function(t){return b(G)?G.value=t:null}),icon:"el-folder-opened",onIconClick:E,width:"32rem",placeholder:"请填写或选择目录路径"},null,8,["modelValue"]),v(o,{type:"primary",onClick:P},{default:m(function(){return t(e[1]||(e[1]=[g(" 添加 ",-1)]))}),_:1})]}),content:m(function(){return[j(v(a,{"max-height":"370",column:h(I),data:h(A).monitor_dirs},null,8,["column","data"]),[[l,h(C)]])]}),_:1})}}}))}}})}();