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/index324.js
import{R as T,w as b,k as p,e as q,_ as y,c4 as S,d3 as B,K as W}from"./utils-lib.js?v=1777008528";import{B as H}from"./index130.js?v=1777008528";import{_ as N}from"./index118.js?v=1777008528";import{_ as O}from"./index217.js?v=1777008528";import{g as z}from"./index3.js?v=1777008528";import{c as A,bc as F,a7 as J,r as l,aF as M,e as n,o as j,I as K,j as Q,k as $,v as m,J as G,p as e,q as X,Q as v}from"./base-lib.js?v=1777008528";import{ao as Y,ap as Z,aq as tt}from"./firewall.js?v=1777008528";import"./__commonjsHelpers__.js?v=1777008528";import"./ace.js?v=1777008528";import"./index119.js?v=1777008528";import"./index116.js?v=1777008528";const et={class:"p-[2rem] min-h-[40rem]"},at={class:"p-[2rem]"},_t=A({__name:"index",props:{compData:{default:{}}},setup(d){const w=d,s=F({p:1,limit:10}),D=J(),u=l(),i=l(!1),c=l(!1),_=l(0),r=l(),P={mode:"ace/mode/nginx",theme:D.value?"ace/theme/clouds_midnight":"ace/theme/chrome",wrap:!0,showInvisibles:!1,showFoldWidgets:!1,useSoftTabs:!0,tabSize:2,showPrintMargin:!1,readOnly:!0,fontSize:"12px"},k=async t=>{await b({title:"加入URL白名单",content:"加入URL白名单后此URL将不再进行防御,是否继续操作?",icon:"question-filled"}),await p({loading:"正在加入URL白名单,请稍后...",request:Y({url_rule:t.url}),message:!0})},g=async t=>{await b({title:"加入IP白名单",content:"是否将".concat(t.address,"添加到IP白名单?"),icon:"warning-filled"}),await p({loading:"正在添加IP白名单,请稍后...",request:Z({start_ip:t.address,end_ip:t.address}),message:!0})},U=t=>{q({title:t.address+"-详情",area:56,component:()=>y(()=>import("./log-detail2.js?v=1777008528"),__vite__mapDeps([]),import.meta.url),compData:{row:t,addIpWhiteEvent:g}})},C=t=>{i.value=!0,r.value=JSON.stringify(t,null,4)},f=async()=>{await p({loading:c,request:tt({...s,siteName:w.compData.row.site_name}),data:{data:[Array,u],page:S(_)}})},L=[{label:"时间",render:t=>M("span",T(t.addtime))},{label:"用户IP",render:t=>n("span",{class:"bt-link",onClick:()=>g(t)},[t.address])},{label:"恶意类型",prop:"intercept"},{label:"URL地址",prop:"url"},z([{onClick:k,title:"URL加白",width:70},{onClick:U,title:"详情"},{onClick:C,title:"HTTP"}])];return j(()=>f()),(t,a)=>{const R=B,I=O,V=N,x=H,E=W,h=K("bt-loading");return Q(),$("div",et,[n(V,null,{content:m(()=>[G(n(R,{height:"380",column:L,data:e(u)},null,8,["data"]),[[h,e(c)],[h,"正在加载中,请稍后...","title"]])]),"footer-right":m(()=>[n(I,{total:e(_),page:e(s).p,"onUpdate:page":a[0]||(a[0]=o=>e(s).p=o),row:e(s).limit,"onUpdate:row":a[1]||(a[1]=o=>e(s).limit=o),onChange:f},null,8,["total","page","row"])]),_:1}),n(E,{title:d.compData.row.site_name+"HTTP详情",modelValue:e(i),"onUpdate:modelValue":a[3]||(a[3]=o=>v(i)?i.value=o:null),area:60},{default:m(()=>[X("div",at,[n(x,{modelValue:e(r),"onUpdate:modelValue":a[2]||(a[2]=o=>v(r)?r.value=o:null),class:"min-h-[48rem] max-h-[60rem] overflow-auto","editor-option":P},null,8,["modelValue"])])]),_:1},8,["title","modelValue"])])}}});export{_t as default};
function __vite__mapDeps(indexes) {
  if (!__vite__mapDeps.viteFileDeps) {
    __vite__mapDeps.viteFileDeps = []
  }
  return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
}