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/ip-attack-detail-legacy.js
!function(){function t(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i,a,l=[],c=!0,u=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(l.push(r.value),l.length!==e);c=!0);}catch(t){u=!0,o=t}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(t,n)||function(t,n){if(t){if("string"==typeof t)return e(t,n);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)?e(t,n):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function e(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function n(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var t,e,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.toStringTag||"@@toStringTag";function l(n,o,i,a){var l=o&&o.prototype instanceof u?o:u,s=Object.create(l.prototype);return r(s,"_invoke",function(n,r,o){var i,a,l,u=0,s=o||[],f=!1,p={p:0,n:0,v:t,a:d,f:d.bind(t,4),d:function(e,n){return i=e,a=0,l=t,p.n=n,c}};function d(n,r){for(a=n,l=r,e=0;!f&&u&&!o&&e<s.length;e++){var o,i=s[e],d=p.p,y=i[2];n>3?(o=y===r)&&(l=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=t):i[0]<=d&&((o=n<2&&d<i[1])?(a=0,p.v=r,p.n=i[1]):d<y&&(o=n<3||i[0]>r||r>y)&&(i[4]=n,i[5]=r,p.n=y,a=0))}if(o||n>1)return c;throw f=!0,r}return function(o,s,y){if(u>1)throw TypeError("Generator is already running");for(f&&1===s&&d(s,y),a=s,l=y;(e=a<2?t:l)||!f;){i||(a?a<3?(a>1&&(p.n=-1),d(a,l)):p.n=l:p.v=l);try{if(u=2,i){if(a||(o="next"),e=i[o]){if(!(e=e.call(i,l)))throw TypeError("iterator result is not an object");if(!e.done)return e;l=e.value,a<2&&(a=0)}else 1===a&&(e=i.return)&&e.call(i),a<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=t}else if((e=(f=p.n<0)?l:n.call(r,p))!==c)break}catch(e){i=t,a=1,l=e}finally{u=1}}return{value:e,done:f}}}(n,i,a),!0),s}var c={};function u(){}function s(){}function f(){}e=Object.getPrototypeOf;var p=[][i]?e(e([][i]())):(r(e={},i,function(){return this}),e),d=f.prototype=u.prototype=Object.create(p);function y(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,f):(t.__proto__=f,r(t,a,"GeneratorFunction")),t.prototype=Object.create(d),t}return s.prototype=f,r(d,"constructor",f),r(f,"constructor",s),s.displayName="GeneratorFunction",r(f,a,"GeneratorFunction"),r(d),r(d,a,"Generator"),r(d,i,function(){return this}),r(d,"toString",function(){return"[object Generator]"}),(n=function(){return{w:l,m:y}})()}function r(t,e,n,o){var i=Object.defineProperty;try{i({},"",{})}catch(t){i=0}r=function(t,e,n,o){function a(e,n){r(t,e,function(t){return this._invoke(e,n,t)})}e?i?i(t,e,{value:n,enumerable:!o,configurable:!o,writable:!o}):t[e]=n:(a("next",0),a("throw",1),a("return",2))},r(t,e,n,o)}function o(t,e,n,r,o,i,a){try{var l=t[i](a),c=l.value}catch(t){return void n(t)}l.done?e(c):Promise.resolve(c).then(r,o)}function i(t){return function(){var e=this,n=arguments;return new Promise(function(r,i){var a=t.apply(e,n);function l(t){o(a,r,i,l,c,"next",t)}function c(t){o(a,r,i,l,c,"throw",t)}l(void 0)})}}System.register(["./base-lib-legacy.js?v=1777008528","./utils-lib-legacy.js?v=1777008528","./hooks-legacy2.js?v=1777008528","./page-legacy11.js?v=1777008528","./__commonjsHelpers__-legacy.js?v=1777008528","./index-legacy431.js?v=1777008528","./site-list-legacy.js?v=1777008528","./index-legacy432.js?v=1777008528","./use-log-detail-legacy.js?v=1777008528","./constants-legacy.js?v=1777008528","./index-legacy109.js?v=1777008528","./column-legacy.js?v=1777008528","./index-legacy110.js?v=1777008528"],function(e,r){"use strict";var o,a,l,c,u,s,f,p,d,y,h,g,b,v;return{setters:[function(t){o=t.c,a=t.v,l=t.n,c=t.x,u=t.y,s=t.A,f=t.O,p=t.P,d=t.z,y=t.e,h=t.b6},function(t){g=t.an},function(t){b=t.u},function(t){v=t.i},null,null,null,null,null,null,null,null,null],execute:function(){var r={class:"flex flex-col h-full p-[20px]",style:{"min-height":"620px"}},m={class:"flex gap-4",style:{height:"260px"}},x={class:"rounded-lg",style:{width:"350px"}},j={class:"rounded-lg flex-1 min-w-0"};e("default",o({__name:"ip-attack-detail",props:{compData:{}},setup:function(e){var o,w=null!==(o=e.compData)&&void 0!==o?o:{},S=(w.ip,w.logs),O=w.typeData,_=w.uriData,P=w.fetchLogDetail,T=w.openLogDetail,A=w.openHttpDetail,D=g({options:{title:{text:"当前IP总拦截数",textStyle:{fontSize:14},subtext:"0",subtextStyle:{fontSize:14},itemGap:10,left:"49%",top:"43%",textAlign:"center"},tooltip:{trigger:"item",formatter:"{b}: {c} ({d}%)"},legend:{show:!1},color:["#6ec71e","#4885FF","#fc8b40","#818af8","#31c9d7","#f35e7a","#ab7aee","#14d68b","#cde5ff"],series:[{type:"pie",radius:["45%","60%"],center:["50%","50%"],clockwise:!0,avoidLabelOverlap:!0,label:{show:!1},emphasis:{label:{show:!0,fontSize:14,fontWeight:"bold"}},itemStyle:{borderWidth:2,borderColor:"#fff"},data:[]}]}}),C=g({options:{tooltip:{trigger:"item",axisPointer:{type:"shadow"},formatter:function(t){return"".concat(t.marker).concat(t.seriesName,"<br/>当前uri总攻击次数: ").concat(t.data)}},legend:{top:"0%",data:[],textStyle:{fontSize:12,color:"#808080"},icon:"rect"},grid:{top:60,left:60,right:0,bottom:50},xAxis:[{type:"category",axisLabel:{color:"#4D4D4D",fontSize:14,fontWeight:"bold"},data:["今日URI(TOP5)"]}],yAxis:[{type:"value",axisLine:{show:!1},axisTick:{show:!1},splitNumber:4,axisLabel:{color:"#8C8C8C"},splitLine:{lineStyle:{type:"dashed"}}}],color:["#4fa8f9","#6ec71e","#f56e6a","#fc8b40","#818af8","#31c9d7","#f35e7a","#ab7aee","#14d68b","#cde5ff"],series:[]}});var k,z=b({request:(k=i(n().m(function t(e){var r,o,i,a;return n().w(function(t){for(;;)if(0===t.n)return r=(null==e?void 0:e.p)||1,o=(null==e?void 0:e.limit)||10,a=(i=(r-1)*o)+o,t.a(2,{data:S.slice(i,a),total:S.length})},t)})),function(t){return k.apply(this,arguments)}),columns:v(function(t){T(t)},function(t){P(t.id).then(function(t){A(t)})})}),E=z.BtTable;return z.BtPage,a(i(n().m(function e(){var r,o,a,c,u;return n().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,l();case 1:r=Object.entries(O).map(function(e){var n=t(e,2);return{name:n[0],value:n[1]}}),o=r.reduce(function(t,e){return t+e.value},0),D.setOption({title:{subtext:String(o)},series:[{data:r}]}),a=_.slice(0,5),c=a.map(function(e){var n=t(e,1)[0];return n.length>25?"".concat(n.slice(0,25),"..."):n}),u=a.map(function(e){var n=t(e,2),r=n[0],o=n[1];return{name:r.length>25?"".concat(r.slice(0,25),"..."):r,type:"bar",label:{show:!0,position:"top"},barMaxWidth:60,data:[o]}}),C.setOption({legend:{data:c},series:u}),setTimeout(i(n().m(function t(){var e,r;return n().w(function(t){for(;;)switch(t.n){case 0:return t.n=1,D.getEChart();case 1:return e=t.v,t.n=2,C.getEChart();case 2:r=t.v,null==e||e.resize(),null==r||r.resize();case 3:return t.a(2)}},t)})),100),z.refresh();case 2:return e.a(2)}},e)}))),function(t,e){var n=h;return c(),u("div",r,[s("div",m,[s("div",x,[(c(),f(p(d(D).BtECharts),{style:{width:"100%",height:"260px"}}))]),s("div",j,[(c(),f(p(d(C).BtECharts),{style:{width:"100%",height:"260px"}}))])]),y(n,{style:{margin:"12px 0"}}),y(d(E),{"max-height":"380"})])}}}))}}})}();