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/simulate-attack-legacy.js
!function(){function t(t){return function(t){if(Array.isArray(t))return n(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,r){if(t){if("string"==typeof t)return n(t,r);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?n(t,r):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(t,n){(null==n||n>t.length)&&(n=t.length);for(var r=0,e=Array(n);r<n;r++)e[r]=t[r];return e}function r(){/*! 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:{},i=o.iterator||"@@iterator",a=o.toStringTag||"@@toStringTag";function u(r,o,i,a){var u=o&&o.prototype instanceof l?o:l,s=Object.create(u.prototype);return e(s,"_invoke",function(r,e,o){var i,a,u,l=0,s=o||[],f=!1,p={p:0,n:0,v:t,a:v,f:v.bind(t,4),d:function(n,r){return i=n,a=0,u=t,p.n=r,c}};function v(r,e){for(a=r,u=e,n=0;!f&&l&&!o&&n<s.length;n++){var o,i=s[n],v=p.p,y=i[2];r>3?(o=y===e)&&(u=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=t):i[0]<=v&&((o=r<2&&v<i[1])?(a=0,p.v=e,p.n=i[1]):v<y&&(o=r<3||i[0]>e||e>y)&&(i[4]=r,i[5]=e,p.n=y,a=0))}if(o||r>1)return c;throw f=!0,e}return function(o,s,y){if(l>1)throw TypeError("Generator is already running");for(f&&1===s&&v(s,y),a=s,u=y;(n=a<2?t:u)||!f;){i||(a?a<3?(a>1&&(p.n=-1),v(a,u)):p.n=u:p.v=u);try{if(l=2,i){if(a||(o="next"),n=i[o]){if(!(n=n.call(i,u)))throw TypeError("iterator result is not an object");if(!n.done)return n;u=n.value,a<2&&(a=0)}else 1===a&&(n=i.return)&&n.call(i),a<2&&(u=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=t}else if((n=(f=p.n<0)?u:r.call(e,p))!==c)break}catch(n){i=t,a=1,u=n}finally{l=1}}return{value:n,done:f}}}(r,i,a),!0),s}var c={};function l(){}function s(){}function f(){}n=Object.getPrototypeOf;var p=[][i]?n(n([][i]())):(e(n={},i,function(){return this}),n),v=f.prototype=l.prototype=Object.create(p);function y(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,f):(t.__proto__=f,e(t,a,"GeneratorFunction")),t.prototype=Object.create(v),t}return s.prototype=f,e(v,"constructor",f),e(f,"constructor",s),s.displayName="GeneratorFunction",e(f,a,"GeneratorFunction"),e(v),e(v,a,"Generator"),e(v,i,function(){return this}),e(v,"toString",function(){return"[object Generator]"}),(r=function(){return{w:u,m:y}})()}function e(t,n,r,o){var i=Object.defineProperty;try{i({},"",{})}catch(t){i=0}e=function(t,n,r,o){function a(n,r){e(t,n,function(t){return this._invoke(n,r,t)})}n?i?i(t,n,{value:r,enumerable:!o,configurable:!o,writable:!o}):t[n]=r:(a("next",0),a("throw",1),a("return",2))},e(t,n,r,o)}function o(t,n,r,e,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void r(t)}u.done?n(c):Promise.resolve(c).then(e,o)}function i(t){return function(){var n=this,r=arguments;return new Promise(function(e,i){var a=t.apply(n,r);function u(t){o(a,e,i,u,c,"next",t)}function c(t){o(a,e,i,u,c,"throw",t)}u(void 0)})}}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(n,e){"use strict";var o,a,u,c,l,s,f,p,v,y,m,d,b,h,g,j,w,_,O;return{setters:[function(t){o=t.c,a=t.r,u=t.o,c=t.I,l=t.J,s=t.p,f=t.j,p=t.k,v=t.q,y=t.e,m=t.Q,d=t.v,b=t.x,h=t.z},function(t){g=t.k,j=t.W,w=t.cZ},function(t){_=t.O,O=t.bp},null],execute:function(){var e={class:"p-[2rem]"},P={class:"sn-test-line"},S={class:"sn-test-line-content"},A=o({__name:"simulate-attack",props:{compData:{type:Function}},emits:["close"],setup:function(n,o){var w=o.emit,A=n,k=w,T=a(!1),x=a(""),G=a([]),I=function(){var t=i(r().m(function t(){return r().w(function(t){for(;;)switch(t.n){case 0:return G.value=[],t.n=1,g({loading:T,request:_(),data:{php_versions:[Array,function(t){G.value=t.map(function(t){return{label:t.version,value:t.v}})}]}});case 1:return t.a(2)}},t)}));return function(){return t.apply(this,arguments)}}(),E=function(){var t=i(r().m(function t(){return r().w(function(t){for(;;)switch(t.n){case 0:return t.n=1,g({loading:"正在模拟攻击,预计等待一分钟,请稍候...",request:O({version:x.value}),message:!0});case 1:A.compData(),k("close");case 2:return t.a(2)}},t)}));return function(){return t.apply(this,arguments)}}();return u(function(){return I()}),function(n,r){var o=j,i=h,a=c("bt-loading");return l((f(),p("div",e,[v("div",P,[r[3]||(r[3]=v("div",{class:"sn-test-line-title"},"1.选择一个PHP版本进行模拟攻击(预计一分钟)",-1)),v("div",S,[r[2]||(r[2]=v("span",null,"PHP版本",-1)),y(o,{modelValue:s(x),"onUpdate:modelValue":r[0]||(r[0]=function(t){return m(x)?x.value=t:null}),options:s(G),class:"ml-[2rem] !w-[155px]",placeholder:"请选择PHP版本"},null,8,["modelValue","options"]),y(i,{class:"!ml-[1rem]",type:"primary",onClick:E},{default:d(function(){return t(r[1]||(r[1]=[b("模拟攻击",-1)]))}),_:1})])])])),[[a,s(T)]])}}});n("default",w(A,[["__scopeId","data-v-ab4f4e7a"]]))}}})}();