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/temporary-ip-legacy.js
!function(){function t(n){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(n)}function n(t){return function(t){if(Array.isArray(t))return r(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,n){if(t){if("string"==typeof t)return r(t,n);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)?r(t,n):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 r(t,n){(null==n||n>t.length)&&(n=t.length);for(var r=0,e=Array(n);r<n;r++)e[r]=t[r];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,n,r="function"==typeof Symbol?Symbol:{},u=r.iterator||"@@iterator",i=r.toStringTag||"@@toStringTag";function c(r,e,u,i){var c=e&&e.prototype instanceof f?e:f,l=Object.create(c.prototype);return o(l,"_invoke",function(r,e,o){var u,i,c,f=0,l=o||[],s=!1,p={p:0,n:0,v:t,a:y,f:y.bind(t,4),d:function(n,r){return u=n,i=0,c=t,p.n=r,a}};function y(r,e){for(i=r,c=e,n=0;!s&&f&&!o&&n<l.length;n++){var o,u=l[n],y=p.p,m=u[2];r>3?(o=m===e)&&(c=u[(i=u[4])?5:(i=3,3)],u[4]=u[5]=t):u[0]<=y&&((o=r<2&&y<u[1])?(i=0,p.v=e,p.n=u[1]):y<m&&(o=r<3||u[0]>e||e>m)&&(u[4]=r,u[5]=e,p.n=m,i=0))}if(o||r>1)return a;throw s=!0,e}return function(o,l,m){if(f>1)throw TypeError("Generator is already running");for(s&&1===l&&y(l,m),i=l,c=m;(n=i<2?t:c)||!s;){u||(i?i<3?(i>1&&(p.n=-1),y(i,c)):p.n=c:p.v=c);try{if(f=2,u){if(i||(o="next"),n=u[o]){if(!(n=n.call(u,c)))throw TypeError("iterator result is not an object");if(!n.done)return n;c=n.value,i<2&&(i=0)}else 1===i&&(n=u.return)&&n.call(u),i<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),i=1);u=t}else if((n=(s=p.n<0)?c:r.call(e,p))!==a)break}catch(n){u=t,i=1,c=n}finally{f=1}}return{value:n,done:s}}}(r,u,i),!0),l}var a={};function f(){}function l(){}function s(){}n=Object.getPrototypeOf;var p=[][u]?n(n([][u]())):(o(n={},u,function(){return this}),n),y=s.prototype=f.prototype=Object.create(p);function m(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,s):(t.__proto__=s,o(t,i,"GeneratorFunction")),t.prototype=Object.create(y),t}return l.prototype=s,o(y,"constructor",s),o(s,"constructor",l),l.displayName="GeneratorFunction",o(s,i,"GeneratorFunction"),o(y),o(y,i,"Generator"),o(y,u,function(){return this}),o(y,"toString",function(){return"[object Generator]"}),(e=function(){return{w:c,m:m}})()}function o(t,n,r,e){var u=Object.defineProperty;try{u({},"",{})}catch(t){u=0}o=function(t,n,r,e){function i(n,r){o(t,n,function(t){return this._invoke(n,r,t)})}n?u?u(t,n,{value:r,enumerable:!e,configurable:!e,writable:!e}):t[n]=r:(i("next",0),i("throw",1),i("return",2))},o(t,n,r,e)}function u(t,n){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(t);n&&(e=e.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),r.push.apply(r,e)}return r}function i(t){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?u(Object(r),!0).forEach(function(n){c(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function c(n,r,e){return(r=function(n){var r=function(n,r){if("object"!=t(n)||!n)return n;var e=n[Symbol.toPrimitive];if(void 0!==e){var o=e.call(n,r||"default");if("object"!=t(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(n)}(n,"string");return"symbol"==t(r)?r:r+""}(r))in n?Object.defineProperty(n,r,{value:e,enumerable:!0,configurable:!0,writable:!0}):n[r]=e,n}function a(t,n,r,e,o,u,i){try{var c=t[u](i),a=c.value}catch(t){return void r(t)}c.done?n(a):Promise.resolve(a).then(e,o)}function f(t){return function(){var n=this,r=arguments;return new Promise(function(e,o){var u=t.apply(n,r);function i(t){a(u,e,o,i,c,"next",t)}function c(t){a(u,e,o,i,c,"throw",t)}i(void 0)})}}System.register(["./index-legacy109.js?v=1777008528","./utils-lib-legacy.js?v=1777008528","./base-lib-legacy.js?v=1777008528","./hooks-legacy2.js?v=1777008528","./index-legacy431.js?v=1777008528","./view-model-legacy.js?v=1777008528","./columns-legacy.js?v=1777008528","./use-log-detail-legacy.js?v=1777008528","./__commonjsHelpers__-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,r){"use strict";var o,u,c,a,l,s,p,y,m,b,v,h,g,d,j,w,O,_,P,S,x,T,k,A,I,C,E,D;return{setters:[function(t){o=t._},function(t){u=t.b,c=t.ag,a=t.P},function(t){l=t.c,s=t.x,p=t.O,y=t.C,m=t.e,b=t.D,v=t.A,h=t.z},function(t){g=t.a},function(t){d=t.D},function(t){j=t.T,w=t.t,O=t.b,_=t.g,P=t.i,S=t.j,x=t.c,T=t.h,k=t.k,A=t.l,I=t.m},function(t){C=t.t,E=t.b},function(t){D=t.a},null,null,null,null,null],execute:function(){var r={class:"flex w-[550px] justify-between"};t("default",l({__name:"temporary-ip",setup:function(t){var l,G,B=u().mainHeight,F=j.slice(0,-1).map(function(t){return{label:t.label,getValue:function(){return null}}}),U=function(){return N.refresh()},H=c([{label:"拉黑IP",value:"block_ip",event:(l=f(e().m(function t(n,r,o,u,c){return e().w(function(t){for(;;)switch(t.n){case 0:return t.n=1,n({title:"批量拉黑IP",content:"即将拉黑所选IP,是否继续?",column:E,onConfirm:function(){var t=f(e().m(function t(){var n,u;return e().w(function(t){for(;;)switch(t.n){case 0:return n=o.value.map(function(t){return t.ip}),t.n=1,D(n);case 1:return u=t.v,t.n=2,r(function(){var t=f(e().m(function t(n){var r;return e().w(function(t){for(;;)if(0===t.n)return r=u[n.ip],t.a(2,i(i({},n),{},{batchStatus:r?1:2,msg:r?"操作成功":"操作失败"}))},t)}));return function(n){return t.apply(this,arguments)}}());case 2:return null==c||c(),N.refresh(),t.a(2,!1)}},t)}));return function(){return t.apply(this,arguments)}}()});case 1:return t.a(2)}},t)})),function(t,n,r,e,o){return l.apply(this,arguments)})}]),N=g({name:"_table_temporary_ip",request:(G=f(e().m(function t(n){var r,o,u,c;return e().w(function(t){for(;;)switch(t.n){case 0:return r=w.value.temporary_ip,o=r.customTime?[r.customTime,r.customTime]:[],u=O(r.activeIndex,o),t.n=1,_(i(i({p:n.p,limit:n.limit},n.search?{keyword:n.search}:{}),u));case 1:return c=t.v,t.a(2,{data:c.list.map(function(t){return i({},t)}),total:c.total})}},t)})),function(t){return G.apply(this,arguments)}),columns:C(T,function(t){return x(t,U)},function(t){return S(t,U)},function(t){return P(t,U)}),extension:[H]}),q=N.BtTable,z=N.BtPage,L=N.BtSearch,M=N.BtBatch;function R(){return V.apply(this,arguments)}function V(){return(V=f(e().m(function t(){return e().w(function(t){for(;;)switch(t.n){case 0:return t.n=1,k();case 1:return t.a(2)}},t)}))).apply(this,arguments)}function $(){return J.apply(this,arguments)}function J(){return(J=f(e().m(function t(){return e().w(function(t){for(;;)switch(t.n){case 0:return t.n=1,A(U);case 1:return t.a(2)}},t)}))).apply(this,arguments)}function K(){return Q.apply(this,arguments)}function Q(){return(Q=f(e().m(function t(){return e().w(function(t){for(;;)switch(t.n){case 0:return t.n=1,I(U);case 1:return t.a(2)}},t)}))).apply(this,arguments)}return function(t,e){var u=a,i=o;return s(),p(i,null,{"header-left":y(function(){return[m(u,{onClick:R},{default:y(function(){return n(e[1]||(e[1]=[b("导出",-1)]))}),_:1}),m(u,{onClick:$},{default:y(function(){return n(e[2]||(e[2]=[b("清空日志",-1)]))}),_:1}),m(u,{onClick:K},{default:y(function(){return n(e[3]||(e[3]=[b("全部解封",-1)]))}),_:1})]}),"header-right":y(function(){return[v("div",r,[m(d,{buttons:h(F),type:"date","default-index":h(w).temporary_ip.activeIndex,"custom-time-value":h(w).temporary_ip.customTime,onChange:e[0]||(e[0]=function(t,n){return function(t,n){if(n>=F.length){var r=Array.isArray(t)?t[0]:t;w.value.temporary_ip.customTime=r,w.value.temporary_ip.activeIndex=F.length}else w.value.temporary_ip.activeIndex=n,w.value.temporary_ip.customTime="";N.refresh()}(t,n)})},null,8,["buttons","default-index","custom-time-value"]),m(h(L),{placeholder:"输入域名/IP/URL/User-Agent/归属地",class:"!w-[27rem]"})])]}),content:y(function(){return[m(h(q),{"max-height":h(B)-280},null,8,["max-height"])]}),"footer-left":y(function(){return[m(h(M))]}),"footer-right":y(function(){return[m(h(z))]}),_:1})}}}))}}})}();