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/rule-hit-legacy.js
!function(){function t(r){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(r)}function r(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,r){if(t){if("string"==typeof t)return n(t,r);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?n(t,r):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,r){(null==r||r>t.length)&&(r=t.length);for(var n=0,e=Array(r);n<r;n++)e[n]=t[n];return e}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,n="function"==typeof Symbol?Symbol:{},i=n.iterator||"@@iterator",u=n.toStringTag||"@@toStringTag";function c(n,e,i,u){var c=e&&e.prototype instanceof l?e:l,f=Object.create(c.prototype);return o(f,"_invoke",function(n,e,o){var i,u,c,l=0,f=o||[],s=!1,y={p:0,n:0,v:t,a:p,f:p.bind(t,4),d:function(r,n){return i=r,u=0,c=t,y.n=n,a}};function p(n,e){for(u=n,c=e,r=0;!s&&l&&!o&&r<f.length;r++){var o,i=f[r],p=y.p,b=i[2];n>3?(o=b===e)&&(c=i[(u=i[4])?5:(u=3,3)],i[4]=i[5]=t):i[0]<=p&&((o=n<2&&p<i[1])?(u=0,y.v=e,y.n=i[1]):p<b&&(o=n<3||i[0]>e||e>b)&&(i[4]=n,i[5]=e,y.n=b,u=0))}if(o||n>1)return a;throw s=!0,e}return function(o,f,b){if(l>1)throw TypeError("Generator is already running");for(s&&1===f&&p(f,b),u=f,c=b;(r=u<2?t:c)||!s;){i||(u?u<3?(u>1&&(y.n=-1),p(u,c)):y.n=c:y.v=c);try{if(l=2,i){if(u||(o="next"),r=i[o]){if(!(r=r.call(i,c)))throw TypeError("iterator result is not an object");if(!r.done)return r;c=r.value,u<2&&(u=0)}else 1===u&&(r=i.return)&&r.call(i),u<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),u=1);i=t}else if((r=(s=y.n<0)?c:n.call(e,y))!==a)break}catch(r){i=t,u=1,c=r}finally{l=1}}return{value:r,done:s}}}(n,i,u),!0),f}var a={};function l(){}function f(){}function s(){}r=Object.getPrototypeOf;var y=[][i]?r(r([][i]())):(o(r={},i,function(){return this}),r),p=s.prototype=l.prototype=Object.create(y);function b(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,s):(t.__proto__=s,o(t,u,"GeneratorFunction")),t.prototype=Object.create(p),t}return f.prototype=s,o(p,"constructor",s),o(s,"constructor",f),f.displayName="GeneratorFunction",o(s,u,"GeneratorFunction"),o(p),o(p,u,"Generator"),o(p,i,function(){return this}),o(p,"toString",function(){return"[object Generator]"}),(e=function(){return{w:c,m:b}})()}function o(t,r,n,e){var i=Object.defineProperty;try{i({},"",{})}catch(t){i=0}o=function(t,r,n,e){function u(r,n){o(t,r,function(t){return this._invoke(r,n,t)})}r?i?i(t,r,{value:n,enumerable:!e,configurable:!e,writable:!e}):t[r]=n:(u("next",0),u("throw",1),u("return",2))},o(t,r,n,e)}function i(t,r){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(t);r&&(e=e.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,e)}return n}function u(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?i(Object(n),!0).forEach(function(r){c(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function c(r,n,e){return(n=function(r){var n=function(r,n){if("object"!=t(r)||!r)return r;var e=r[Symbol.toPrimitive];if(void 0!==e){var o=e.call(r,n||"default");if("object"!=t(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(r)}(r,"string");return"symbol"==t(n)?n:n+""}(n))in r?Object.defineProperty(r,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):r[n]=e,r}function a(t,r,n,e,o,i,u){try{var c=t[i](u),a=c.value}catch(t){return void n(t)}c.done?r(a):Promise.resolve(a).then(e,o)}function l(t){return function(){var r=this,n=arguments;return new Promise(function(e,o){var i=t.apply(r,n);function u(t){a(i,e,o,u,c,"next",t)}function c(t){a(i,e,o,u,c,"throw",t)}u(void 0)})}}System.register(["./index-legacy109.js?v=1777008528","./base-lib-legacy.js?v=1777008528","./utils-lib-legacy.js?v=1777008528","./hooks-legacy2.js?v=1777008528","./view-model-legacy.js?v=1777008528","./columns-legacy.js?v=1777008528","./__commonjsHelpers__-legacy.js?v=1777008528","./use-log-detail-legacy.js?v=1777008528","./index-legacy432.js?v=1777008528","./constants-legacy.js?v=1777008528","./column-legacy.js?v=1777008528","./index-legacy110.js?v=1777008528"],function(t,n){"use strict";var o,i,c,a,f,s,y,p,b,m,v,h,g,d,j,O,w,S,_,P,x,k,T,A;return{setters:[function(t){o=t._},function(t){i=t.c,c=t.x,a=t.O,f=t.C,s=t.e,y=t.D,p=t.z,b=t.y,m=t.aT,v=t.B,h=t.F,g=t.A,d=t.H,j=t.bc},function(t){O=t.b,w=t.P},function(t){S=t.a},function(t){_=t.n,P=t.r,x=t.o,k=t.p,T=t.q},function(t){A=t.r},null,null,null,null,null,null],execute:function(){t("default",i({__name:"rule-hit",setup:function(t){var n,i=O().mainHeight,C=function(){return E.refresh()},E=S({name:"_table_rule_hit",request:(n=l(e().m(function t(r){var n;return e().w(function(t){for(;;)switch(t.n){case 0:return t.n=1,T(u(u({p:r.p,limit:r.limit},r.search?{keyword:r.search}:{}),{},{filter:P.value}));case 1:return n=t.v,t.a(2,{data:n.list.map(function(t){return u({},t)}),total:n.total})}},t)})),function(t){return n.apply(this,arguments)}),columns:A}),G=E.BtTable,D=E.BtPage,B=E.BtSearch;function F(){return I.apply(this,arguments)}function I(){return(I=l(e().m(function t(){return e().w(function(t){for(;;)switch(t.n){case 0:return t.n=1,k(C);case 1:return t.a(2)}},t)}))).apply(this,arguments)}return function(t,n){var e=w,u=d,l=j,O=o;return c(),a(O,null,{"header-left":f(function(){return[s(e,{onClick:F},{default:f(function(){return r(n[0]||(n[0]=[y("清空日志",-1)]))}),_:1}),s(e,{onClick:p(_)},{default:f(function(){return r(n[1]||(n[1]=[y("配置记录类型",-1)]))}),_:1},8,["onClick"])]}),"header-right":f(function(){return[s(l,{class:"mr-2"},{default:f(function(){return[(c(!0),b(h,null,m(p(x),function(t){return c(),a(u,{key:t.value,type:p(P)===t.value?"primary":"",onClick:function(r){return n=t.value,P.value=n,void E.refresh();var n}},{default:f(function(){return[y(v(t.label),1)]}),_:2},1032,["type","onClick"])}),128))]}),_:1}),s(p(B),{placeholder:"输入域名/IP/归属地",class:"!w-[20rem]"})]}),content:f(function(){return[s(p(G),{"max-height":p(i)-280},null,8,["max-height"])]}),"footer-left":f(function(){return r(n[2]||(n[2]=[g("span",{class:"flex items-center text-small text-tertiary"},"*注:当前只记录最近2000条数据,每个ip在30秒触发同一种规则只会记录一次、每60秒更新一次记录",-1)]))}),"footer-right":f(function(){return[s(p(D))]}),_:1})}}}))}}})}();