← Back
Editing: index-legacy504.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(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e=function(){return r};var n,r={},o=Object.prototype,i=o.hasOwnProperty,a=Object.defineProperty||function(t,e,n){t[e]=n.value},u="function"==typeof Symbol?Symbol:{},c=u.iterator||"@@iterator",l=u.asyncIterator||"@@asyncIterator",s=u.toStringTag||"@@toStringTag";function f(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(n){f=function(t,e,n){return t[e]=n}}function h(t,e,n,r){var o=e&&e.prototype instanceof w?e:w,i=Object.create(o.prototype),u=new N(r||[]);return a(i,"_invoke",{value:O(t,n,u)}),i}function p(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}r.wrap=h;var v="suspendedStart",d="suspendedYield",y="executing",m="completed",g={};function w(){}function x(){}function b(){}var _={};f(_,c,(function(){return this}));var j=Object.getPrototypeOf,L=j&&j(j(V([])));L&&L!==o&&i.call(L,c)&&(_=L);var k=b.prototype=w.prototype=Object.create(_);function E(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function S(e,n){function r(o,a,u,c){var l=p(e[o],e,a);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==t(f)&&i.call(f,"__await")?n.resolve(f.__await).then((function(t){r("next",t,u,c)}),(function(t){r("throw",t,u,c)})):n.resolve(f).then((function(t){s.value=t,u(s)}),(function(t){return r("throw",t,u,c)}))}c(l.arg)}var o;a(this,"_invoke",{value:function(t,e){function i(){return new n((function(n,o){r(t,e,n,o)}))}return o=o?o.then(i,i):i()}})}function O(t,e,r){var o=v;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:n,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var c=F(u,r);if(c){if(c===g)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===v)throw o=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=y;var l=p(t,e,r);if("normal"===l.type){if(o=r.done?m:d,l.arg===g)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(o=m,r.method="throw",r.arg=l.arg)}}}function F(t,e){var r=e.method,o=t.iterator[r];if(o===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=n,F(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var i=p(o,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,g;var a=i.arg;return a?a.done?(e[t.resultName]=a.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=n),e.delegate=null,g):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function G(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function V(e){if(e||""===e){var r=e[c];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function t(){for(;++o<e.length;)if(i.call(e,o))return t.value=e[o],t.done=!1,t;return t.value=n,t.done=!0,t};return a.next=a}}throw new TypeError(t(e)+" is not iterable")}return x.prototype=b,a(k,"constructor",{value:b,configurable:!0}),a(b,"constructor",{value:x,configurable:!0}),x.displayName=f(b,s,"GeneratorFunction"),r.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===x||"GeneratorFunction"===(e.displayName||e.name))},r.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,f(t,s,"GeneratorFunction")),t.prototype=Object.create(k),t},r.awrap=function(t){return{__await:t}},E(S.prototype),f(S.prototype,l,(function(){return this})),r.AsyncIterator=S,r.async=function(t,e,n,o,i){void 0===i&&(i=Promise);var a=new S(h(t,e,n,o),i);return r.isGeneratorFunction(e)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},E(k),f(k,s,"Generator"),f(k,c,(function(){return this})),f(k,"toString",(function(){return"[object Generator]"})),r.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},r.values=V,N.prototype={constructor:N,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(G),!t)for(var e in this)"t"===e.charAt(0)&&i.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=n)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(r,o){return u.type="throw",u.arg=t,e.next=r,o&&(e.method="next",e.arg=n),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],u=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var c=i.call(a,"catchLoc"),l=i.call(a,"finallyLoc");if(c&&l){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!l)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),G(n),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;G(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:V(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=n),g}},r}function n(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 r(t){return function(){var e=this,r=arguments;return new Promise((function(o,i){var a=t.apply(e,r);function u(t){n(a,o,i,u,c,"next",t)}function c(t){n(a,o,i,u,c,"throw",t)}u(void 0)}))}}System.register(["./utils-lib-legacy.js?v=VERSION_NUMBER","./index-legacy120.js?v=VERSION_NUMBER","./index-legacy104.js?v=VERSION_NUMBER","./index-legacy146.js?v=VERSION_NUMBER","./index-legacy126.js?v=VERSION_NUMBER","./base-lib-legacy.js?v=VERSION_NUMBER","./index-legacy105.js?v=VERSION_NUMBER","./column-legacy.js?v=VERSION_NUMBER","./site-legacy.js?v=VERSION_NUMBER","./useStore-legacy4.js?v=VERSION_NUMBER","./__commonjsHelpers__-legacy.js?v=VERSION_NUMBER","./validator-legacy.js?v=VERSION_NUMBER","./ace-legacy.js?v=VERSION_NUMBER"],(function(t,n){"use strict";var o,i,a,u,c,l,s,f,h,p,v,d,y,m,g,w,x,b,_,j,L,k,E,S,O,F,P,G,N,V,T,q,A,C,I,U,D,H,M;return{setters:[function(t){o=t.u,i=t.o,a=t.L,u=t.K,c=t.n,l=t.k,s=t.b,f=t.q,h=t._},function(t){p=t._},function(t){v=t._},function(t){d=t.B},function(t){y=t._},function(t){m=t.c,g=t.r,w=t.k,x=t.p,b=t.G,_=t.q,j=t.v,L=t.x,k=t.M,E=t.A,S=t.y,O=t.e,F=t.B,P=t.P,G=t.H,N=t.D,V=t.al},function(t){T=t._},function(t){q=t.d,A=t.u},function(t){C=t.checkMonitorDir,I=t.setMonitorDir,U=t.webshellFileSingle,D=t.setHandleFile},function(t){H=t.S,M=t.u},null,null,null],execute:function(){var B={class:"flex items-center"},Y={class:"p-20px"},J=m({__name:"index",setup:function(t){var h=H(),m=h.getFileEvent,J=h.saveFileEvent,K=s(),R=o().payment,z=M().siteInfo,Q=g([]),W=g(!1),X=g(""),Z=g(!1),$=g({}),tt=g(!1),et=w({title:"动态查杀-功能介绍",ps:"当查杀站点目录中的文件发生修改就会自动的进行木马查杀并进行隔离",source:185,desc:["网页内容修改检测","木马查杀隔离"],tabImgs:[{title:"概览",imgSrc:"https://www.bt.cn/Public/new/plugin/introduce/site/dynamic_kill.png"}]}),nt=function(){i({isAsync:!0,title:"白名单",area:[70,55],component:function(){return a((function(){return n.import("./index-legacy471.js?v=VERSION_NUMBER")}),void 0,n.meta.url)},showFooter:!1})},rt=function(){var t=r(e().mark((function t(){var n;return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,C({path:z.value.path});case 3:n=t.sent,tt.value=n.data.is_run,t.next=10;break;case 7:t.prev=7,t.t0=t.catch(0);case 10:case"end":return t.stop()}}),t,null,[[0,7]])})));return function(){return t.apply(this,arguments)}}(),ot=function(){var t=r(e().mark((function t(n){return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,u({loading:"正在设置中,请稍后...",request:I(!n,{path:z.value.path}),message:!0});case 2:rt();case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),it=function(){var t=r(e().mark((function t(){var n;return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,J({path:$.value.path,data:X.value,encoding:"utf-8"});case 2:n=t.sent,K.request(n);case 4:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),at=function(){var t=r(e().mark((function t(){var n;return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return W.value=!0,t.prev=1,t.next=4,U({path:(z.value.path+"/").replace("//","/")});case 4:n=t.sent,Q.value=Array.isArray(n.data)?n.data:[],t.next=11;break;case 8:t.prev=8,t.t0=t.catch(1);case 11:W.value=!1;case 12:case"end":return t.stop()}}),t,null,[[1,8]])})));return function(){return t.apply(this,arguments)}}(),ut=function(){var t=r(e().mark((function t(n){var r;return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return $.value=n,t.next=3,m({path:n.path});case 3:if((r=t.sent).status){t.next=10;break}return K.request(r),t.abrupt("return",!1);case 10:X.value=r.data.data||r.msg,Z.value=!0;case 12:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),ct=g([{label:"隔离时间",prop:"time"},q(),A([{width:80,onClick:ut,title:"样本文件"},{onClick:function(t){f({title:"删除文件",content:"是否要删除关联的源文件?",type:"check",icon:"warning",check:{content:"源文件",onConfirm:function(e){u({loading:"正在删除文件中,请稍后...",request:D({data:JSON.stringify({path:t.path,md5:t.md5,type:e?"delete":""})}),message:!0,success:function(t){t.status&&at()}})}}})},title:"删除"}])]);return x((function(){"ltd"===R.value.authType&&(rt(),at())})),function(t,e){var n=N,r=T,o=V,i=y,a=c,u=d,s=l,f=v,h=p,m=b("bt-loading");return _(),j("div",null,["ltd"===L(R).authType?(_(),k(f,{key:0},{"header-left":E((function(){return[S("div",B,[O(n,{type:"default",onClick:nt},{default:E((function(){return e[3]||(e[3]=[F(" 白名单 ")])})),_:1}),O(r),e[4]||(e[4]=S("div",{class:"mr-8px"},"动态查杀站点",-1)),S("div",null,[O(o,{modelValue:L(tt),"onUpdate:modelValue":e[0]||(e[0]=function(t){return P(tt)?tt.value=t:null}),width:36,onChange:ot},null,8,["modelValue"])])])]})),"header-right":E((function(){return[O(i,{onRefresh:at})]})),content:E((function(){return[G(O(a,{column:L(ct),"max-height":400,data:L(Q)},null,8,["column","data"]),[[m,L(W)]])]})),"footer-left":E((function(){return e[5]||(e[5]=[S("ul",{class:"mt-8px leading-8 text-[1.2rem] list-disc ml-20px"},[S("li",null,"注意:隔离文件后的数字表示隔离文件总数。"),S("li",{class:"text-orange"},"动态查杀开启后,当查杀目录中的文件发生修改就会自动的进行木马查杀并进行隔离")],-1)])})),"footer-right":E((function(){return e[6]||(e[6]=[])})),popup:E((function(){return[O(s,{title:"在线编辑",showFooter:"",modelValue:L(Z),"onUpdate:modelValue":e[2]||(e[2]=function(t){return P(Z)?Z.value=t:null}),area:70,onConfirm:it},{default:E((function(){return[S("div",Y,[O(u,{modelValue:L(X),"onUpdate:modelValue":e[1]||(e[1]=function(t){return P(X)?X.value=t:null}),class:"!h-[40rem]"},null,8,["modelValue"])])]})),_:1},8,["modelValue"])]})),_:1})):(_(),k(h,{key:1,data:L(et)},null,8,["data"]))])}}});t("default",h(J,[["__file","/Users/chudong/project/linux-10/src/views/site/views/php-model/site-safe/dynamic-killing/index.vue"]]))}}}))}();
Save File
Cancel