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/index325.js
import{c as x,k as n,M as D,e as w,_ as L,d3 as C,cP as I}from"./utils-lib.js?v=1777008528";import{_ as k}from"./index118.js?v=1777008528";import{g as q}from"./index3.js?v=1777008528";import{c as E,aC as i,Q as O,r as V,e as s,aF as p,ap as c,w as P,I as S,j as T,k as j,v as u,J as z,p as _}from"./base-lib.js?v=1777008528";import{q as A,t as B,v as M}from"./firewall.js?v=1777008528";import"./__commonjsHelpers__.js?v=1777008528";import"./index119.js?v=1777008528";import"./index116.js?v=1777008528";const X=E({__name:"index",setup(R){x();const m=i("infoData"),o=i("getIntrusionInfo",()=>{}),d=O(!1),r=V(),g=[{content:"开启防提权,系统会针对该用户操作命令进行限制,并记录跟踪"},{content:"不开启防提权,系统只针对该用户操作过的命令做记录跟踪"},{content:"目前防提权默认只针对www,redis,mysql操作引起的提权问题进行处理"},{class:"text-warning",content:"消息推送需要更新至最新面板的版本(2020-06-17日之后安装的版本|或者2020-06-17日之后点击过修复面板)"}],f=async(e,t)=>{await n({loading:"正在"+(t?"开启":"关闭")+"防入侵,请稍后...",request:A(!e[3],{user:e[0]}),message:!0}),o()},b=async(e,t,a)=>{await n({loading:"正在"+(a?"开启":"关闭")+"日志状态,请稍后...",request:B(!e[5],{uid:e[1]}),message:!0}),o()},h=[{label:"用户",prop:"0"},{label:"总次数",prop:"4",render:e=>s("span",{class:e[4].totla>0?"!text-danger":""},[e[4].totla])},{label:"当日次数",prop:"4",render:e=>s("span",{class:e[4].day_totla>0?"!text-danger":""},[e[4].day_totla])},{label:"防入侵",prop:"3",render:e=>p(c,{modelValue:e[3],size:"small",onChange:t=>f(e,t)})},{label:"日志状态",prop:"5",render:(e,t)=>p(c,{modelValue:e[5],size:"small",onChange:a=>b(e,t,a)})},{label:"描述",prop:"6",showOverflowTooltip:!0},q([{onClick:async e=>{const t=await n({loading:"正在获取日志,请稍后...",request:M({user:e[0]}),data:Array});if(!t.length)return D.error("当前暂无日志");w({title:"命令日志",area:72,component:()=>L(()=>import("./index322.js?v=1777008528"),__vite__mapDeps([]),import.meta.url),compData:{user:e[0],dateTime:t[0],dateOptions:t.map(a=>({title:a,key:a}))}})},title:"命令日志",width:70}])];return P(()=>m.value,e=>{e&&(r.value=e.system_user)},{immediate:!0,deep:!0}),(e,t)=>{const a=C,v=k,y=I,l=S("bt-loading");return T(),j("div",null,[s(v,null,{content:u(()=>[z(s(a,{ref:"table",column:h,data:_(r),description:"概览列表为空"},null,8,["data"]),[[l,_(d)],[l,"正在加载概览列表,请稍后...","title"]])]),popup:u(()=>[...t[0]||(t[0]=[])]),_:1}),s(y,{options:g,class:"mx-[1.6rem]"})])}}});export{X as default};
function __vite__mapDeps(indexes) {
  if (!__vite__mapDeps.viteFileDeps) {
    __vite__mapDeps.viteFileDeps = []
  }
  return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
}