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/useMethod-legacy2.js
!function(){function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}function e(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function n(t){for(var n=1;n<arguments.length;n++){var o=null!=arguments[n]?arguments[n]:{};n%2?e(Object(o),!0).forEach(function(e){r(t,e,o[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):e(Object(o)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))})}return t}function r(e,n,r){return(n=function(e){var n=function(e,n){if("object"!=t(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,n||"default");if("object"!=t(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"==t(n)?n:n+""}(n))in e?Object.defineProperty(e,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[n]=r,e}function o(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var t,e,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",a=n.toStringTag||"@@toStringTag";function u(n,r,o,a){var u=r&&r.prototype instanceof s?r:s,l=Object.create(u.prototype);return i(l,"_invoke",function(n,r,o){var i,a,u,s=0,l=o||[],f=!1,p={p:0,n:0,v:t,a:b,f:b.bind(t,4),d:function(e,n){return i=e,a=0,u=t,p.n=n,c}};function b(n,r){for(a=n,u=r,e=0;!f&&s&&!o&&e<l.length;e++){var o,i=l[e],b=p.p,y=i[2];n>3?(o=y===r)&&(u=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=t):i[0]<=b&&((o=n<2&&b<i[1])?(a=0,p.v=r,p.n=i[1]):b<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,l,y){if(s>1)throw TypeError("Generator is already running");for(f&&1===l&&b(l,y),a=l,u=y;(e=a<2?t:u)||!f;){i||(a?a<3?(a>1&&(p.n=-1),b(a,u)):p.n=u:p.v=u);try{if(s=2,i){if(a||(o="next"),e=i[o]){if(!(e=e.call(i,u)))throw TypeError("iterator result is not an object");if(!e.done)return e;u=e.value,a<2&&(a=0)}else 1===a&&(e=i.return)&&e.call(i),a<2&&(u=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=t}else if((e=(f=p.n<0)?u:n.call(r,p))!==c)break}catch(e){i=t,a=1,u=e}finally{s=1}}return{value:e,done:f}}}(n,o,a),!0),l}var c={};function s(){}function l(){}function f(){}e=Object.getPrototypeOf;var p=[][r]?e(e([][r]())):(i(e={},r,function(){return this}),e),b=f.prototype=s.prototype=Object.create(p);function y(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,f):(t.__proto__=f,i(t,a,"GeneratorFunction")),t.prototype=Object.create(b),t}return l.prototype=f,i(b,"constructor",f),i(f,"constructor",l),l.displayName="GeneratorFunction",i(f,a,"GeneratorFunction"),i(b),i(b,a,"Generator"),i(b,r,function(){return this}),i(b,"toString",function(){return"[object Generator]"}),(o=function(){return{w:u,m:y}})()}function i(t,e,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(t){o=0}i=function(t,e,n,r){function a(e,n){i(t,e,function(t){return this._invoke(e,n,t)})}e?o?o(t,e,{value:n,enumerable:!r,configurable:!r,writable:!r}):t[e]=n:(a("next",0),a("throw",1),a("return",2))},i(t,e,n,r)}function a(t,e,n,r,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void n(t)}u.done?e(c):Promise.resolve(c).then(r,o)}function u(t){return function(){var e=this,n=arguments;return new Promise(function(r,o){var i=t.apply(e,n);function u(t){a(i,r,o,u,c,"next",t)}function c(t){a(i,r,o,u,c,"throw",t)}u(void 0)})}}System.register(["./utils-lib-legacy.js?v=1777008528","./base-lib-legacy.js?v=1777008528","./useStore-legacy.js?v=1777008528","./config-legacy.js?v=1777008528"],function(t,e){"use strict";var r,i,a,c,s,l,f,p;return{setters:[function(t){r=t.M,i=t.k,a=t.l,c=t.m,s=t.e,l=t._},null,function(t){f=t.g},function(t){p=t.s}],execute:function(){var b=f(),y=b.refs,h=y.panelConfig,m=y.safeConfig,d=b.getConfigData;t("s",function(){var t=u(o().m(function t(e){var n;return o().w(function(t){for(;;)switch(t.n){case 0:if(m.value.panelSSl||!e){t.n=1;break}return h.value.passkey_status=!1,t.a(2,r.error("请先启用面板SSL,再开启Passkey"));case 1:if(!/^[\d.]+$/.test(window.location.hostname)||!e){t.n=2;break}return t.a(2,r.error("当前访问地址非域名,请使用绑定了有效证书的域名访问后再开启Passkey。"));case 2:return t.n=3,i({loading:"正在设置Passkey配置,请稍候...",request:p({status:e}),message:!0,success:function(t){t.status||(h.value.passkey_status=!h.value.passkey_status),d()}});case 3:return n=t.v,t.a(2,n)}},t)}));return function(e){return t.apply(this,arguments)}}()),t("g",u(o().m(function t(){var e,r,i;return o().w(function(t){for(;;)switch(t.n){case 0:return e=[],t.n=1,a();case 1:return r=t.v,i=r.data,c(i.data)&&i.data.length&&i.data.forEach(function(t){var r,o;e.push(n(n({},t.template),{},{module:t.send_type_list,title:t.title,type:t.source,tid:t.id,name:t.load_cls.name,advancedShow:t.advanced_default,used:t.used,tags:t.tags,can_create:null===(r=t.can_create)||void 0===r||r,is_pro:null!==(o=t.is_pro)&&void 0!==o&&o,description:t.description}))}),t.a(2,e)}},t)}))),t("o",function(t){s({title:"风险操作",component:function(){return l(function(){return e.import("./index-legacy125.js?v=1777008528")},void 0,e.meta.url)},area:50,showFooter:!0,compData:t})}),t("a",function(t){if(!c(t))return[];return[{name:"wx_account",title:"微信公众号",ps:"宝塔微信公众号,用于接收面板消息推送",help:"https://www.bt.cn/bbs/thread-108309-1-1.html"},{name:"mail",title:"邮箱",ps:"宝塔邮箱消息通道,用于接收面板消息推送",help:"https://www.bt.cn/bbs/thread-108097-1-1.html"},{name:"dingding",title:"钉钉",ps:"宝塔钉钉消息通道,用于接收面板消息推送",help:"https://www.bt.cn/bbs/thread-108081-1-1.html"},{name:"feishu",title:"飞书",ps:"宝塔飞书消息通道,用于接收面板消息推送",help:"https://www.bt.cn/bbs/thread-108274-1-1.html"},{name:"weixin",title:"企业微信",ps:"宝塔企业微信消息通道,用于接收面板消息推送",help:"https://www.bt.cn/bbs/thread-108116-1-1.html"},{name:"sms",title:"短信通知",ps:"宝塔短信通知,用于接收面板消息推送",help:"https://www.bt.cn/bbs/thread-108758-1-1.html"},{name:"webhook",title:"自定义消息通道",ps:"宝塔自定义API信息通道,用于接收面板消息推送",help:"https://www.bt.cn/bbs/thread-143326-1-1.html"}].map(function(e){return{name:e.name,type:e.name,title:e.title,ps:e.ps,help:e.help,list:t.filter(function(t){return t.sender_type===e.name})}})})}}})}();