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-legacy7.js
!function(){function t(n){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(n)}function n(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),e.push.apply(e,r)}return e}function e(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?n(Object(o),!0).forEach(function(n){r(t,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):n(Object(o)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(o,n))})}return t}function r(n,e,r){return(e=function(n){var e=function(n,e){if("object"!=t(n)||!n)return n;var r=n[Symbol.toPrimitive];if(void 0!==r){var o=r.call(n,e||"default");if("object"!=t(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(n)}(n,"string");return"symbol"==t(e)?e:e+""}(e))in n?Object.defineProperty(n,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[e]=r,n}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,n,e="function"==typeof Symbol?Symbol:{},r=e.iterator||"@@iterator",i=e.toStringTag||"@@toStringTag";function a(e,r,o,i){var a=r&&r.prototype instanceof l?r:l,s=Object.create(a.prototype);return u(s,"_invoke",function(e,r,o){var u,i,a,l=0,s=o||[],f=!1,p={p:0,n:0,v:t,a:v,f:v.bind(t,4),d:function(n,e){return u=n,i=0,a=t,p.n=e,c}};function v(e,r){for(i=e,a=r,n=0;!f&&l&&!o&&n<s.length;n++){var o,u=s[n],v=p.p,y=u[2];e>3?(o=y===r)&&(a=u[(i=u[4])?5:(i=3,3)],u[4]=u[5]=t):u[0]<=v&&((o=e<2&&v<u[1])?(i=0,p.v=r,p.n=u[1]):v<y&&(o=e<3||u[0]>r||r>y)&&(u[4]=e,u[5]=r,p.n=y,i=0))}if(o||e>1)return c;throw f=!0,r}return function(o,s,y){if(l>1)throw TypeError("Generator is already running");for(f&&1===s&&v(s,y),i=s,a=y;(n=i<2?t:a)||!f;){u||(i?i<3?(i>1&&(p.n=-1),v(i,a)):p.n=a:p.v=a);try{if(l=2,u){if(i||(o="next"),n=u[o]){if(!(n=n.call(u,a)))throw TypeError("iterator result is not an object");if(!n.done)return n;a=n.value,i<2&&(i=0)}else 1===i&&(n=u.return)&&n.call(u),i<2&&(a=TypeError("The iterator does not provide a '"+o+"' method"),i=1);u=t}else if((n=(f=p.n<0)?a:e.call(r,p))!==c)break}catch(n){u=t,i=1,a=n}finally{l=1}}return{value:n,done:f}}}(e,o,i),!0),s}var c={};function l(){}function s(){}function f(){}n=Object.getPrototypeOf;var p=[][r]?n(n([][r]())):(u(n={},r,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,u(t,i,"GeneratorFunction")),t.prototype=Object.create(v),t}return s.prototype=f,u(v,"constructor",f),u(f,"constructor",s),s.displayName="GeneratorFunction",u(f,i,"GeneratorFunction"),u(v),u(v,i,"Generator"),u(v,r,function(){return this}),u(v,"toString",function(){return"[object Generator]"}),(o=function(){return{w:a,m:y}})()}function u(t,n,e,r){var o=Object.defineProperty;try{o({},"",{})}catch(t){o=0}u=function(t,n,e,r){function i(n,e){u(t,n,function(t){return this._invoke(n,e,t)})}n?o?o(t,n,{value:e,enumerable:!r,configurable:!r,writable:!r}):t[n]=e:(i("next",0),i("throw",1),i("return",2))},u(t,n,e,r)}function i(t,n,e,r,o,u,i){try{var a=t[u](i),c=a.value}catch(t){return void e(t)}a.done?n(c):Promise.resolve(c).then(r,o)}function a(t){return function(){var n=this,e=arguments;return new Promise(function(r,o){var u=t.apply(n,e);function a(t){i(u,r,o,a,c,"next",t)}function c(t){i(u,r,o,a,c,"throw",t)}a(void 0)})}}System.register(["./utils-lib-legacy.js?v=1777008528","./firewall-legacy.js?v=1777008528","./base-lib-legacy.js?v=1777008528","./index-legacy3.js?v=1777008528","./useStore-legacy8.js?v=1777008528"],function(t,n){"use strict";var r,u,i,c,l,s,f,p,v,y,d,b,m,w,h,g,O,j,_,k,P,S,x,T,L;return{setters:[function(t){r=t.k,u=t.I,i=t.f,c=t.a1,l=t.a2,s=t.R,f=t.e,p=t._},function(t){v=t.g,y=t.a,d=t.b},function(t){b=t.r,m=t.H,w=t.e,h=t.x,g=t.aW,O=t.aF,j=t.ar,_=t.at,k=t.as,P=t.i},function(t){S=t.g,x=t.i,T=t.b},function(t){L=t.g}],execute:function(){var C=i(),E=L().refs,F=E.sshInfo,I=E.firewallInfo,G=(t("i",a(o().m(function t(){var n,e;return o().w(function(t){for(;;)switch(t.p=t.n){case 0:return t.p=0,t.n=1,v();case 1:n=t.v,F.value=n.data,t.n=3;break;case 2:t.p=2,e=t.v,console.log(e);case 3:return t.a(2)}},t,null,[[0,2]])}))),t("e",a(o().m(function t(){var n;return o().w(function(t){for(;;)switch(t.n){case 0:return t.n=1,r({request:y()});case 1:n=t.v,I.value=e(e({},I.value),n.data),I.value.ping=!n.data.ping;case 2:return t.a(2)}},t)}))),t("d",a(o().m(function t(){var n,e,r,u;return o().w(function(t){for(;;)switch(t.n){case 0:return t.n=1,d();case 1:n=t.v,e=n.data,r=e.status,u=e.init_status,I.value.status=r||!1,I.value.init_status=(null==u?void 0:u.status)||!1;case 2:return t.a(2)}},t)})))),U=(t("g",function(){var t=a(o().m(function t(n){var e,r;return o().w(function(t){for(;;)switch(t.p=t.n){case 0:return t.p=0,e=C.load("正在获取插件状态,请稍后..."),t.n=1,u({sName:n});case 1:return r=t.v,t.a(2,r.data);case 2:t.p=2,t.v;case 3:return t.p=3,e.close(),t.f(3);case 4:return t.a(2)}},t,null,[[0,2,3,4]])}));return function(n){return t.apply(this,arguments)}}()),t("s",b(!1))),D=t("l",b("初始化防火墙中...")),M=b(null),N=(t("c",function(){var t=a(o().m(function t(n){return o().w(function(t){for(;;)switch(t.n){case 0:M.value=null,U.value=!0,M.value=setInterval(a(o().m(function t(){var e;return o().w(function(t){for(;;)switch(t.n){case 0:return t.n=1,c({num:10,filename:"/www/server/panel/tmp/"+n+".log"});case 1:e=t.v,D.value=e.msg.replace(/\n/g,"<br/>"),(e.msg.indexOf("结束")>-1||!e.status)&&(U.value=!1,G(),e.status||C.request(e),clearInterval(M.value));case 2:return t.a(2)}},t)})),1e3);case 1:return t.a(2)}},t)}));return function(n){return t.apply(this,arguments)}}()),t("m",m({1:"全站扫描",2:"快速扫描",3:"单URL"})),m({title:"标题",body:"网页内",keywords:"关键词",descriptions:"描述",title_update:"标题更新",keywords_update:"关键词更新",description_update:"描述更新",tail_hash_update:"尾部script代码块更新",title_hash_update:"头部head代码块更新"})),A=(t("b",function(){return[{label:"巡检时间",width:150,render:function(t){var n=l(t.time,"number",0);return w("span",null,[s(n)])}},{label:"URL",showOverflowTooltip:!0,render:function(t){return w("span",{class:"bt-link",title:t.url,onClick:function(){return window.open(t.url,"_blank","noopener,noreferrer")}},[t.url])}},{label:"关键词",prop:"content",width:180},{label:"类型",prop:"risk_content",width:180},{label:"风险位置",width:120,showOverflowTooltip:!0,render:function(t){return N[t.risk_type]}},S([{onClick:A,title:"详情"}])]}),function(t){var n,e="/www/server/panel/class/projectModel/content/source/",r=e+t.source_file;(null===(n=t.risk_type)||void 0===n?void 0:n.indexOf("_update"))>-1?H(t,e):R(r,t.content)}),H=function(t,n){"title_hash_update"!==t.risk_type&&"tail_hash_update"!==t.risk_type||(n="/www/server/panel/class/projectModel/content/hash/"+t.site_name+"/");var e=n+t.new_content_file;R(e)},R=function(t,n){x(t,"editor","html")},q=(t("o",function(t){f({title:"风险详情",area:[70,55],component:function(){return p(function(){return n.import("./index-legacy159.js?v=1777008528")},void 0,n.meta.url)},compData:t})}),t("r",function(t,n,e){return w("div",null,"link"===n?[t,w("span",{class:"ml-4px bt-ico-ask",onClick:function(){return window.open(e,"_blank","noopener,noreferrer")}},[h("?")])]:[w("span",null,[t]),w(g,{content:n,placement:"top"},{default:function(){return[w("span",{class:"ml-4px bt-ico-ask"},[e||"?"])]}})])}),t("p",{3306:"MySQL服务默认端口",888:"phpMyAdmin默认端口",22:"SSH远程服务",20:"FTP主动模式数据端口",21:"FTP协议默认端口","39000-40000":"FTP被动模式端口范围","30000-40000":"FTP被动模式端口范围",11211:"Memcached服务端口",873:"rsync数据同步服务",8888:"宝塔Linux面板默认端口"}),t("f",b("ALL")));t("h",function(t){var n=t.changePolicy,e=t.change;return[{label:"策略",render:function(t,e){return w("span",{class:"cursor-pointer",style:"color:".concat("accept"===t.Strategy?"var(--el-color-primary)":"#ef0808"),onClick:function(){return n(t)}},["accept"==t.Strategy?"放行":"禁止"])}},{label:"方向",renderHeader:function(){var t,n=[{title:"所有方向",key:"ALL"},{title:"入站",key:"INPUT"},{title:"出站",key:"OUTPUT"}],r=null===(t=n.find(function(t){return t.key===q.value}))||void 0===t?void 0:t.title;return O("div",{class:"flex items-center flex-nowrap"},["",O(j,{onCommand:function(t){return e(t)}},{default:function(){return O("span",{class:"text-small flex items-center"},[[w("span",{class:"status-header-text"},[h("状态"),"ALL"===q.value?"":r?"(".concat(r,")"):""])],O("i",{class:"svgtofont-el-arrow-down "})])},dropdown:function(){var t,e;return w(k,null,"function"==typeof(e=t=n.map(function(t){return w(_,{command:t.key},{default:function(){return[t.title]}})}))||"[object Object]"===Object.prototype.toString.call(e)&&!P(e)?t:{default:function(){return[t]}})}})])},render:function(t,n){return"INPUT"===t.Chain?"入站":"出站"}}]}),t("u",function(t){var n=t.editEvent,e=t.deleteEvent;return S([{onClick:n,title:"修改"},{onClick:e,title:"删除"}])}),t("a",function(){var t=a(o().m(function t(n,e,r,u,i){return o().w(function(t){for(;;)switch(t.n){case 0:return t.n=1,n({title:"批量删除",content:"即将删除所选中的数据,是否继续操作?",column:[u,T()],onConfirm:function(){var t=a(o().m(function t(){return o().w(function(t){for(;;)switch(t.n){case 0:return t.n=1,e(r);case 1:return i(),t.a(2,!1)}},t)}));return function(){return t.apply(this,arguments)}}()});case 1:return t.a(2)}},t)}));return function(n,e,r,o,u){return t.apply(this,arguments)}}())}}})}();