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/log-detail2.js
import{c as f,j as u,k as b,e as o,v as n,x as l,s,p as D,q as t,b5 as w,b6 as x,z as g}from"./base-lib.js?v=1777008528";import{R as v,w as U,k,c7 as h,cZ as R}from"./utils-lib.js?v=1777008528";import{b2 as L}from"./firewall.js?v=1777008528";import"./__commonjsHelpers__.js?v=1777008528";const C={class:"p-[2rem]"},E={class:"mb-[1.2rem] flex flex-col"},I={class:"detail-content"},j={class:"mb-[1.2rem] flex flex-col"},y={class:"detail-content"},B={class:"mb-[1.2rem] flex flex-col"},W={class:"flex justify-between items-end"},q={class:"detail-content"},N={class:"mb-[1.2rem] flex flex-col"},V={class:"detail-content"},S=f({__name:"log-detail",props:{compData:{default:{}}},setup(a){const c=a,d=()=>{c.compData.addIpWhiteEvent(c.compData.row)},r=async()=>{await U({title:"加入URL白名单",content:"加入URL白名单后此URL将不再进行防御,是否继续操作?",icon:"warning-filled"}),await k({loading:"正在加入URL白名单...",request:L({url_rule:c.compData.row.url}),message:!0})};return(T,e)=>{const i=w,m=h,p=x,_=g;return u(),b("div",C,[o(p,{title:"",direction:"vertical",column:4,border:"",class:"mb-[1.2rem] table-descriptions"},{default:n(()=>[o(i,{label:"时间"},{default:n(()=>[l(s(D(v)(a.compData.row.addtime)),1)]),_:1}),o(i,{label:"用户Ip"},{default:n(()=>[o(m,{onClick:d},{default:n(()=>[l(s(a.compData.row.address),1)]),_:1})]),_:1}),o(i,{label:"触发函数"},{default:n(()=>[l(s(a.compData.row.fun_name),1)]),_:1}),o(i,{label:"过滤器"},{default:n(()=>[l(s(a.compData.row.intercept),1)]),_:1})]),_:1}),t("div",E,[e[0]||(e[0]=t("span",{class:"detail-title"},"URL地址",-1)),t("span",I,s(a.compData.row.url),1)]),t("div",j,[e[1]||(e[1]=t("span",{class:"detail-title"},"User-Agent",-1)),t("span",y,s(a.compData.row.data_info.data.request.headers["user-agent"]),1)]),t("div",B,[t("div",W,[e[3]||(e[3]=t("span",{class:"detail-title"},"传入值",-1)),o(_,{type:"text",onClick:r},{default:n(()=>[...e[2]||(e[2]=[l("URL加白",-1)])]),_:1})]),t("span",q,s(a.compData.row.data_info.data.args.join("\n")),1)]),t("div",N,[e[4]||(e[4]=t("span",{class:"detail-title"},"调用栈",-1)),t("span",V,s(a.compData.row.data_info.data.stack_trace.join("\n")),1)])])}}}),F=R(S,[["__scopeId","data-v-947d3c38"]]);export{F as default};