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-legacy251.js
!function(){function n(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var e,r,o="function"==typeof Symbol?Symbol:{},u=o.iterator||"@@iterator",i=o.toStringTag||"@@toStringTag";function c(n,o,u,i){var c=o&&o.prototype instanceof f?o:f,l=Object.create(c.prototype);return t(l,"_invoke",function(n,t,o){var u,i,c,f=0,l=o||[],s=!1,p={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(n,t){return u=n,i=0,c=e,p.n=t,a}};function v(n,t){for(i=n,c=t,r=0;!s&&f&&!o&&r<l.length;r++){var o,u=l[r],v=p.p,y=u[2];n>3?(o=y===t)&&(c=u[(i=u[4])?5:(i=3,3)],u[4]=u[5]=e):u[0]<=v&&((o=n<2&&v<u[1])?(i=0,p.v=t,p.n=u[1]):v<y&&(o=n<3||u[0]>t||t>y)&&(u[4]=n,u[5]=t,p.n=y,i=0))}if(o||n>1)return a;throw s=!0,t}return function(o,l,y){if(f>1)throw TypeError("Generator is already running");for(s&&1===l&&v(l,y),i=l,c=y;(r=i<2?e:c)||!s;){u||(i?i<3?(i>1&&(p.n=-1),v(i,c)):p.n=c:p.v=c);try{if(f=2,u){if(i||(o="next"),r=u[o]){if(!(r=r.call(u,c)))throw TypeError("iterator result is not an object");if(!r.done)return r;c=r.value,i<2&&(i=0)}else 1===i&&(r=u.return)&&r.call(u),i<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),i=1);u=e}else if((r=(s=p.n<0)?c:n.call(t,p))!==a)break}catch(r){u=e,i=1,c=r}finally{f=1}}return{value:r,done:s}}}(n,u,i),!0),l}var a={};function f(){}function l(){}function s(){}r=Object.getPrototypeOf;var p=[][u]?r(r([][u]())):(t(r={},u,function(){return this}),r),v=s.prototype=f.prototype=Object.create(p);function y(n){return Object.setPrototypeOf?Object.setPrototypeOf(n,s):(n.__proto__=s,t(n,i,"GeneratorFunction")),n.prototype=Object.create(v),n}return l.prototype=s,t(v,"constructor",s),t(s,"constructor",l),l.displayName="GeneratorFunction",t(s,i,"GeneratorFunction"),t(v),t(v,i,"Generator"),t(v,u,function(){return this}),t(v,"toString",function(){return"[object Generator]"}),(n=function(){return{w:c,m:y}})()}function t(n,e,r,o){var u=Object.defineProperty;try{u({},"",{})}catch(n){u=0}t=function(n,e,r,o){function i(e,r){t(n,e,function(n){return this._invoke(e,r,n)})}e?u?u(n,e,{value:r,enumerable:!o,configurable:!o,writable:!o}):n[e]=r:(i("next",0),i("throw",1),i("return",2))},t(n,e,r,o)}function e(n,t,e,r,o,u,i){try{var c=n[u](i),a=c.value}catch(n){return void e(n)}c.done?t(a):Promise.resolve(a).then(r,o)}function r(n){return function(){var t=this,r=arguments;return new Promise(function(o,u){var i=n.apply(t,r);function c(n){e(i,o,u,c,a,"next",n)}function a(n){e(i,o,u,c,a,"throw",n)}c(void 0)})}}System.register(["./index-legacy118.js?v=1777008528","./utils-lib-legacy.js?v=1777008528","./firewall-legacy.js?v=1777008528","./base-lib-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(t,e){"use strict";var o,u,i,c,a,f,l,s,p,v,y,d,b,h,g,m,w,j,k,_,x;return{setters:[function(n){o=n._},function(n){u=n.w,i=n.k,c=n.f,a=n.d3,f=n.d4},function(n){l=n.a0,s=n.a1},function(n){p=n.c,v=n.r,y=n.e,d=n.x,b=n.w,h=n.j,g=n.C,m=n.v,w=n.p},function(n){j=n.e,k=n.g,_=n.b},function(n){x=n.g},null,null,null],execute:function(){t("default",p({__name:"index",setup:function(t){var e=x().refs.networkActive,p=v(),O=function(){var t=r(n().m(function t(e){return n().w(function(n){for(;;)switch(n.n){case 0:return n.n=1,u({title:"解封IP",content:"解封后将允许【".concat(e.ip,"】进行访问,是否继续操作?")});case 1:return n.n=2,i({loading:"正在解封,请稍后...",request:l({ip:e.ip,timeout:86400}),success:function(){c().success("解封成功"),I()}});case 2:return n.a(2)}},t)}));return function(n){return t.apply(this,arguments)}}(),P=[j({key:"ip"}),{label:"IP",prop:"ip",width:200},{label:"封锁来源",render:function(n){var t=n.source||"Nginx防火墙";return y("div",{title:t},[t])}},{label:"封禁原因",render:function(n){var t=n.reason||"IP扫描过于频繁";return t.length>20?y("div",{title:t},[t.slice(0,20),d("...")]):y("div",{title:t},[t])}},k([{onClick:O,title:"解封"}])],S=v([]),G=function(){var t=r(n().m(function t(e,o,u,i){var c,a,f;return n().w(function(t){for(;;)switch(t.n){case 0:return c=function(){var t=r(n().m(function t(e,r){var o,u,i,c;return n().w(function(n){for(;;)switch(n.n){case 0:o=e.ip,u=new Map([["unlock",l]]),i=u.get(f),c=f,n.n="unlock"===c?1:4;break;case 1:if(!i){n.n=3;break}return n.n=2,i({ip:o,timeout:86400});case 2:return n.a(2,n.v);case 3:return n.a(3,4);case 4:return n.a(2)}},t)}));return function(n,e){return t.apply(this,arguments)}}(),a=i.label,f=i.value,t.n=1,e({title:"批量".concat(a),content:"即将批量".concat(a,"选中的IP,是否继续操作?"),column:[{label:"批量解封",prop:"ip"},_()],onConfirm:function(){var t=r(n().m(function t(){return n().w(function(n){for(;;)switch(n.n){case 0:return n.n=1,o(c);case 1:return I(),n.a(2,!1)}},t)}));return function(){return t.apply(this,arguments)}}()});case 1:return t.a(2)}},t)}));return function(n,e,r,o){return t.apply(this,arguments)}}(),T=[{label:"解封",value:"unlock",event:G}],I=function(){var t=r(n().m(function t(){var e,r;return n().w(function(n){for(;;)switch(n.n){case 0:return n.n=1,s();case 1:e=n.v,r=e.data,S.value=r.map(function(n){return{ip:n,reason:"",source:""}});case 2:return n.a(2)}},t)}));return function(){return t.apply(this,arguments)}}();return b(e,function(n){"blockde"===n&&I()},{immediate:!0}),function(n,t){var e=a,r=f,u=o;return h(),g(u,null,{content:m(function(){return[y(e,{ref_key:"lockListRef",ref:p,column:P,data:w(S),"max-height":"700"},null,8,["data"])]}),"footer-left":m(function(){return[y(r,{"table-ref":w(p),options:T},null,8,["table-ref"])]}),_:1})}}}))}}})}();