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/add-user-legacy.js
!function(){function e(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var t,n,o="function"==typeof Symbol?Symbol:{},u=o.iterator||"@@iterator",a=o.toStringTag||"@@toStringTag";function i(e,o,u,a){var i=o&&o.prototype instanceof l?o:l,s=Object.create(i.prototype);return r(s,"_invoke",function(e,r,o){var u,a,i,l=0,s=o||[],f=!1,p={p:0,n:0,v:t,a:d,f:d.bind(t,4),d:function(e,r){return u=e,a=0,i=t,p.n=r,c}};function d(e,r){for(a=e,i=r,n=0;!f&&l&&!o&&n<s.length;n++){var o,u=s[n],d=p.p,m=u[2];e>3?(o=m===r)&&(i=u[(a=u[4])?5:(a=3,3)],u[4]=u[5]=t):u[0]<=d&&((o=e<2&&d<u[1])?(a=0,p.v=r,p.n=u[1]):d<m&&(o=e<3||u[0]>r||r>m)&&(u[4]=e,u[5]=r,p.n=m,a=0))}if(o||e>1)return c;throw f=!0,r}return function(o,s,m){if(l>1)throw TypeError("Generator is already running");for(f&&1===s&&d(s,m),a=s,i=m;(n=a<2?t:i)||!f;){u||(a?a<3?(a>1&&(p.n=-1),d(a,i)):p.n=i:p.v=i);try{if(l=2,u){if(a||(o="next"),n=u[o]){if(!(n=n.call(u,i)))throw TypeError("iterator result is not an object");if(!n.done)return n;i=n.value,a<2&&(a=0)}else 1===a&&(n=u.return)&&n.call(u),a<2&&(i=TypeError("The iterator does not provide a '"+o+"' method"),a=1);u=t}else if((n=(f=p.n<0)?i:e.call(r,p))!==c)break}catch(n){u=t,a=1,i=n}finally{l=1}}return{value:n,done:f}}}(e,u,a),!0),s}var c={};function l(){}function s(){}function f(){}n=Object.getPrototypeOf;var p=[][u]?n(n([][u]())):(r(n={},u,function(){return this}),n),d=f.prototype=l.prototype=Object.create(p);function m(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,f):(e.__proto__=f,r(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=f,r(d,"constructor",f),r(f,"constructor",s),s.displayName="GeneratorFunction",r(f,a,"GeneratorFunction"),r(d),r(d,a,"Generator"),r(d,u,function(){return this}),r(d,"toString",function(){return"[object Generator]"}),(e=function(){return{w:i,m:m}})()}function r(e,t,n,o){var u=Object.defineProperty;try{u({},"",{})}catch(e){u=0}r=function(e,t,n,o){function a(t,n){r(e,t,function(e){return this._invoke(t,n,e)})}t?u?u(e,t,{value:n,enumerable:!o,configurable:!o,writable:!o}):e[t]=n:(a("next",0),a("throw",1),a("return",2))},r(e,t,n,o)}function t(e,r,t,n,o,u,a){try{var i=e[u](a),c=i.value}catch(e){return void t(e)}i.done?r(c):Promise.resolve(c).then(n,o)}System.register(["./base-lib-legacy.js?v=1777008528","./utils-lib-legacy.js?v=1777008528","./firewall-legacy.js?v=1777008528","./__commonjsHelpers__-legacy.js?v=1777008528"],function(r,n){"use strict";var o,u,a,i,c,l,s,f,p,d,m,v,y;return{setters:[function(e){o=e.c,u=e.r,a=e.H,i=e.j,c=e.k,l=e.e,s=e.v,f=e.p,p=e.ad,d=e.ab},function(e){m=e.k,v=e.cO},function(e){y=e.aa},null],execute:function(){var n={class:"p-2rem"};r("default",o({__name:"add-user",props:{compData:{default:function(){return{}}}},setup:function(r,o){var b=o.expose,g=r,h=u(),w=a({username:"",password:""}),_={username:[{required:!0,message:"请输入用户名",trigger:"blur"}],password:[{required:!0,message:"请输入密码",trigger:"blur"},{min:8,message:"密码长度不能小于8位"}]},j=function(){var r,n=(r=e().m(function r(t){return e().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,h.value.validate();case 1:return e.n=2,m({loading:"正在创建用户,请稍后...",request:y(w),message:!0});case 2:g.compData.refreshFn(),t();case 3:return e.a(2)}},r)}),function(){var e=this,n=arguments;return new Promise(function(o,u){var a=r.apply(e,n);function i(e){t(a,o,u,i,c,"next",e)}function c(e){t(a,o,u,i,c,"throw",e)}i(void 0)})});return function(e){return n.apply(this,arguments)}}();return b({onConfirm:j}),function(e,r){var t=v,o=p,u=d;return i(),c("div",n,[l(u,{model:f(w),ref_key:"sshAddUserRef",ref:h,rules:_},{default:s(function(){return[l(o,{label:"用户名",prop:"username"},{default:s(function(){return[l(t,{modelValue:f(w).username,"onUpdate:modelValue":r[0]||(r[0]=function(e){return f(w).username=e}),placeholder:"请输入用户名"},null,8,["modelValue"])]}),_:1}),l(o,{label:"密码",prop:"password"},{default:s(function(){return[l(t,{modelValue:f(w).password,"onUpdate:modelValue":r[1]||(r[1]=function(e){return f(w).password=e}),placeholder:"请输入密码",iconType:"refresh"},null,8,["modelValue"])]}),_:1})]}),_:1},8,["model"])])}}}))}}})}();