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/index247.js
import{c as b,k as c,M as v,e as h,_ as r,d3 as R,cP as y}from"./utils-lib.js?v=1777008528";import{_ as k}from"./index118.js?v=1777008528";import{c as D,r as _,e as o,ap as E,w,o as x,I as C,j as P,k as I,v as V,J as A,p}from"./base-lib.js?v=1777008528";import{X as H,Y as L}from"./firewall.js?v=1777008528";import{g as O}from"./index3.js?v=1777008528";import{g as B}from"./useStore8.js?v=1777008528";import"./__commonjsHelpers__.js?v=1777008528";import"./index119.js?v=1777008528";import"./index116.js?v=1777008528";const M={class:"py-[.8rem]"},K=D({__name:"index",setup(T){const{refs:{reinforceStatus:a}}=B();b();const i=_(!1),n=_([]),m=[{content:"【异常进程监控】与【SSH服务加固】会占用一定服务器开销"},{content:"开启系统加固功能后,一些如软件安装等敏感操作将被禁止"},{content:"开启【SSH服务加固】之后,用户登录SSH的行为将受到监控,若连续多次登录失败,将采取封IP措施"},{class:"text-warning",content:"【注意】如果您需要安装软件或插件,请先将系统加固关闭!"}],s=async()=>{await c({loading:i,request:H(),data:{list:[Array,n],open:[Boolean,a]}})},u=async(e,t)=>{if(!a.value)return v.error("请先开启系统加固功能");await c({loading:"正在"+(t?"开启":"关闭")+"防护配置,请稍后...",request:L({s_key:e.key}),message:!0}),s()},f=[{label:"名称",prop:"name"},{label:"描述",prop:"ps"},{label:"状态",render:e=>o(E,{modelValue:e.open,size:"small",onChange:t=>u(e,t)},null)},O([{onClick:async e=>{h({title:"配置【".concat(e.name,"】"),component:()=>e.key==="ssh"?r(()=>import("./row-ssh-config.js?v=1777008528"),__vite__mapDeps([]),import.meta.url):e.key==="process"?r(()=>import("./row-process.js?v=1777008528"),__vite__mapDeps([]),import.meta.url):r(()=>import("./row-reinforce.js?v=1777008528"),__vite__mapDeps([]),import.meta.url),compData:e,area:72})},title:"配置"}])];return w(()=>a.value,e=>{e?s():n.value.forEach(t=>t.open=!1)}),x(s),(e,t)=>{const d=R,g=k,S=y,l=C("bt-loading");return P(),I("div",M,[o(g,null,{content:V(()=>[A(o(d,{column:f,data:p(n),description:"防护配置列表为空"},null,8,["data"]),[[l,p(i)],[l,"正在加载防护配置列表,请稍后...","title"]])]),_:1}),o(S,{options:m,class:"mx-[1.6rem] my-[0.6rem]"})])}}});export{K as default};
function __vite__mapDeps(indexes) {
  if (!__vite__mapDeps.viteFileDeps) {
    __vite__mapDeps.viteFileDeps = []
  }
  return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
}