← Back
Editing: malware-legacy.js
!function(){function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}function t(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function r(e){for(var r=1;r<arguments.length;r++){var a=null!=arguments[r]?arguments[r]:{};r%2?t(Object(a),!0).forEach((function(t){n(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):t(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function n(t,r,n){return(r=function(t){var r=function(t,r){if("object"!=e(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var a=n.call(t,r||"default");if("object"!=e(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==e(r)?r:r+""}(r))in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,t}function a(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */a=function(){return r};var t,r={},n=Object.prototype,i=n.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},l="function"==typeof Symbol?Symbol:{},u=l.iterator||"@@iterator",c=l.asyncIterator||"@@asyncIterator",s=l.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(t){f=function(e,t,r){return e[t]=r}}function p(e,t,r,n){var a=t&&t.prototype instanceof w?t:w,i=Object.create(a.prototype),l=new T(n||[]);return o(i,"_invoke",{value:S(e,r,l)}),i}function v(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}r.wrap=p;var d="suspendedStart",m="suspendedYield",h="executing",y="completed",x={};function w(){}function g(){}function b(){}var _={};f(_,u,(function(){return this}));var k=Object.getPrototypeOf,j=k&&k(k(D([])));j&&j!==n&&i.call(j,u)&&(_=j);var O=b.prototype=w.prototype=Object.create(_);function L(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function E(t,r){function n(a,o,l,u){var c=v(t[a],t,o);if("throw"!==c.type){var s=c.arg,f=s.value;return f&&"object"==e(f)&&i.call(f,"__await")?r.resolve(f.__await).then((function(e){n("next",e,l,u)}),(function(e){n("throw",e,l,u)})):r.resolve(f).then((function(e){s.value=e,l(s)}),(function(e){return n("throw",e,l,u)}))}u(c.arg)}var a;o(this,"_invoke",{value:function(e,t){function i(){return new r((function(r,a){n(e,t,r,a)}))}return a=a?a.then(i,i):i()}})}function S(e,r,n){var a=d;return function(i,o){if(a===h)throw Error("Generator is already running");if(a===y){if("throw"===i)throw o;return{value:t,done:!0}}for(n.method=i,n.arg=o;;){var l=n.delegate;if(l){var u=P(l,n);if(u){if(u===x)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===d)throw a=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=h;var c=v(e,r,n);if("normal"===c.type){if(a=n.done?y:m,c.arg===x)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(a=y,n.method="throw",n.arg=c.arg)}}}function P(e,r){var n=r.method,a=e.iterator[n];if(a===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,P(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),x;var i=v(a,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,x;var o=i.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,x):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,x)}function V(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function C(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(V,this),this.reset(!0)}function D(r){if(r||""===r){var n=r[u];if(n)return n.call(r);if("function"==typeof r.next)return r;if(!isNaN(r.length)){var a=-1,o=function e(){for(;++a<r.length;)if(i.call(r,a))return e.value=r[a],e.done=!1,e;return e.value=t,e.done=!0,e};return o.next=o}}throw new TypeError(e(r)+" is not iterable")}return g.prototype=b,o(O,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:g,configurable:!0}),g.displayName=f(b,s,"GeneratorFunction"),r.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},r.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,f(e,s,"GeneratorFunction")),e.prototype=Object.create(O),e},r.awrap=function(e){return{__await:e}},L(E.prototype),f(E.prototype,c,(function(){return this})),r.AsyncIterator=E,r.async=function(e,t,n,a,i){void 0===i&&(i=Promise);var o=new E(p(e,t,n,a),i);return r.isGeneratorFunction(t)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},L(O),f(O,s,"Generator"),f(O,u,(function(){return this})),f(O,"toString",(function(){return"[object Generator]"})),r.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},r.values=D,T.prototype={constructor:T,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(C),!e)for(var r in this)"t"===r.charAt(0)&&i.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function n(n,a){return l.type="throw",l.arg=e,r.next=n,a&&(r.method="next",r.arg=t),!!a}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],l=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var u=i.call(o,"catchLoc"),c=i.call(o,"finallyLoc");if(u&&c){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var a=n;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=e,o.arg=t,a?(this.method="next",this.next=a.finallyLoc,x):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),x},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),C(r),x}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var a=n.arg;C(r)}return a}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:D(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),x}},r}function i(e,t,r,n,a,i,o){try{var l=e[i](o),u=l.value}catch(e){return void r(e)}l.done?t(u):Promise.resolve(u).then(n,a)}function o(e){return function(){var t=this,r=arguments;return new Promise((function(n,a){var o=e.apply(t,r);function l(e){i(o,n,a,l,u,"next",e)}function u(e){i(o,n,a,l,u,"throw",e)}l(void 0)}))}}System.register(["./index-legacy140.js?v=VERSION_NUMBER","./utils-lib-legacy.js?v=VERSION_NUMBER","./base-lib-legacy.js?v=VERSION_NUMBER","./index-legacy103.js?v=VERSION_NUMBER","./index-legacy317.js?v=VERSION_NUMBER","./column-legacy.js?v=VERSION_NUMBER","./store-legacy5.js?v=VERSION_NUMBER","./useStore-legacy4.js?v=VERSION_NUMBER","./useMethod-legacy6.js?v=VERSION_NUMBER","./ace-legacy.js?v=VERSION_NUMBER","./__commonjsHelpers__-legacy.js?v=VERSION_NUMBER","./validator-legacy.js?v=VERSION_NUMBER","./index-legacy104.js?v=VERSION_NUMBER","./site-legacy.js?v=VERSION_NUMBER","./firewall-legacy.js?v=VERSION_NUMBER","./useStore-legacy5.js?v=VERSION_NUMBER"],(function(e,t){"use strict";var n,i,l,u,c,s,f,p,v,d,m,h,y,x,w,g,b,_,k,j,O,L,E,S,P,V,C,T,D,F,N,G,q,M,A,H,z,I,U,B,J,K,Y,R,$,Q,W;return{setters:[function(e){n=e.B},function(e){i=e.u,l=e.p,u=e.K,c=e.ag,s=e.l,f=e.a0,p=e.c,v=e.j,d=e.b,m=e.e},function(e){h=e.c,y=e.t,x=e.s,w=e.r,g=e.g,b=e.e,_=e.ba,k=e.w,j=e.G,O=e.q,L=e.v,E=e.y,S=e.x,P=e.F,V=e.z,C=e.a_,T=e.K,D=e.P,F=e.A,N=e.B,G=e.H,q=e.D,M=e.al,A=e.a$,H=e.f,z=e.aV},function(e){I=e._},function(e){U=e.H},function(e){B=e.a,J=e.u},function(e){K=e.y,Y=e.z,R=e.A,$=e.j},function(e){Q=e.S},function(e){W=e.f},null,null,null,null,null,null,null],execute:function(){var t={class:"text-right text-[#666] mb-2"},X={class:"flex mb-[1.6rem] p-[1.6rem] border-[0.1rem] border-[#efefef] rounded-[0.4rem]"},Z={class:"text-[1.2rem] text-[#666] mb-[1.6rem]"},ee={class:"flex justify-between items-center"},te={class:"flex items-center"},re={class:"flex items-center"},ne={key:1,class:"p-[1rem]"},ae={class:"flex justify-between items-center px-4"},ie={class:"text-[2rem]"},oe=["innerHTML"],le={class:"text-[1.6rem] mt-[1.2rem]"},ue={class:"text-[1.5rem]"},ce={class:"flex justify-center"},se={class:"p-[2rem]"},fe={class:"flex items-center mb-[1.6rem]"},pe={class:"flex-1 truncate"},ve={class:"flex items-center mb-[1.6rem]"},de={class:"flex-1 truncate"},me={class:"flex items-center mb-[1.6rem]"},he={class:"flex-1 truncate"},ye={class:"flex items-center mb-[1.6rem]"},xe={class:"flex-1 truncate"},we={class:"flex items-center mb-[1.6rem]"},ge={class:"flex-1 truncate"},be={class:"flex items-center mb-[1.6rem]"},_e={class:"flex-1 truncate"},ke={class:"flex items-center"},je={class:"flex-1"},Oe={class:"p-20px"},Le=h({__name:"malware",setup:function(e){var m=i().payment,h=y(m.value).authType,Le=U(),Ee=x(Le),Se=Ee.repairTypeActive,Pe=Ee.tootipTotal,Ve=Ee.malwareData,Ce=Le.getScanTotal,Te=Le.openPayView,De=Le.convertDataStructure,Fe=Le.malwareAdvanced,Ne=Le.setMalwareConfig,Ge=d(),qe=Q(),Me=qe.getFileEvent,Ae=qe.saveFileEvent,He=w(),ze=w([{title:"总检测文件数",value:0,style:"color: #333"},{title:"高危",value:0,style:"color: #F50606;",id:2},{title:"中危",value:0,style:"color: #FF9900",id:1},{title:"低危",value:0,style:"color: #DDC400",id:0}]),Ie=[{label:"不限时间",value:""},{label:"最近1天",value:1},{label:"最近7天",value:7},{label:"最近30天",value:30}],Ue=w("");w(!1);var Be,Je=w(!1),Ke=w(!1),Ye=w({filename:"",filepath:"",threat_type:"",md5:"",risk_level:0,time:"",quarantined:!1,rule:"",processed:0,risk_level_desc:""}),Re=w(""),$e=w(""),Qe=w(!1),We=w({total:0,loading:!1,data:[]}),Xe=function(){var e=o(a().mark((function e(t){return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:Ye.value=t,Ke.value=!0;case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Ze=g((function(){var e=Pe.value.malware;return e?'<span class="text-[#ff0000]">'.concat(e,"</span>个高危文件待处理!总扫描文件数量").concat(ze.value[0].value,"个"):"已完成".concat(ze.value[0].value,"个文件深度扫描,未发现任何恶意文件或异常行为")})),et=function(){var e=o(a().mark((function e(t){return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,l({title:"忽略恶意文件",content:"是否忽略该文件?",onConfirm:function(){var e=o(a().mark((function e(){var r,n,i,o,l;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.filepath,n=t.md5,i=t.filename,o=t.risk_level,e.next=3,u({loading:"正在保存配置,请稍后...",request:K({filepath:r,md5:n,filename:i,risk:o})});case 3:return(l=e.sent).status?Ge.success("忽略成功"):Ge.error(l.msg),e.next=7,st();case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()});case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),tt=function(){var e=o(a().mark((function e(t){return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,l({title:"处理恶意文件",content:"是否要删除关联的源文件?",onConfirm:function(){var e=o(a().mark((function e(){return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,u({loading:"正在保存配置,请稍后...",request:Y({file_list:JSON.stringify([{filepath:t.filepath,md5:t.md5}]),action_type:"delete"}),message:!0});case 2:return e.next=4,st();case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()});case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),rt=[B({key:"keyid"}),{label:"文件名",prop:"filename"},{label:"威胁标签",prop:"threat_type",width:86,render:function(e){return b(_,{type:"info",effect:"plain"},{default:function(){return["网站后门"]}})}},{label:"MD5",prop:"md5",width:140,render:function(e){return b("div",{class:"truncate w-[15rem]",title:e.md5},[e.md5])}},{label:"等级",prop:"risk_level_desc",width:50,render:function(e){var t,r=null===(t=ze.value.find((function(t){return t.id===e.risk_level})))||void 0===t?void 0:t.style;return b("span",{style:r},[e.risk_level_desc])}},{label:"检测时间",prop:"time",width:140},J([{onClick:et,title:"忽略"},{onClick:tt,title:"处理"},{onClick:Xe,title:"详情"}])],nt=function(){var e=o(a().mark((function e(t){return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Ue.value=t,e.next=3,it();case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),at=function(){var e=o(a().mark((function e(t){var r,n;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t?"开启":"关闭",n=t?"将全天候检测系统是否存在恶意文件":"将不再检测系统是否存在恶意文件",e.next=4,l({title:"".concat(r,"动态查杀"),content:"".concat(r,"后,").concat(n,",是否继续?")});case 4:return Je.value=t,e.next=7,Ne({dynamic_detection:Je.value});case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),it=function(){var e=o(a().mark((function e(){var t,n,i,o,l;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return We.value.loading=!0,t=""!==Ue.value?{day:Number(Ue.value)}:void 0,e.next=4,R(t);case 4:n=e.sent,i=n.data,We.value.loading=!1,We.value.data=i.detected.map((function(e,t){return r(r({},e),{},{keyid:t})})),Re.value=i.last_scan_time,o=i.total_scanned_files,l=i.risk_stats,ze.value[0].value=o,ze.value[1].value=l[2],ze.value[2].value=l[1],ze.value[3].value=l[0];case 14:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),ot=function(){var e=o(a().mark((function e(){var t,r,n;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,$();case 2:t=e.sent,r=t.data,n=r.data,Je.value=n.dynamic_detection,Ve.value.autoIntercept=n.quarantine,Ve.value.ossConfig={status:n.scan_oss,isHasMounts:n.has_oss_mounts},Ve.value.exclude_dirs=De(n.exclude_dirs),Ve.value.monitor_dirs=De(n.monitor_dirs);case 10:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),lt=function(){var e=o(a().mark((function e(){var t;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Me({path:Ye.value.filepath});case 2:if((t=e.sent).status){e.next=8;break}return Ge.error(t.data.msg),e.abrupt("return",!1);case 8:$e.value=t.data.data||t.msg,Qe.value=!0;case 10:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),ut=function(){var e=o(a().mark((function e(){var t;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Ae({path:Ye.value.filepath,data:$e.value,encoding:"utf-8"});case 2:t=e.sent,Ge.request(t);case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),ct=[{label:"处理恶意文件",value:"delete",event:(Be=o(a().mark((function e(t,r){var n;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=function(){var e=o(a().mark((function e(t){var r;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r={filepath:t.filepath,md5:t.md5},e.next=3,Y({file_list:JSON.stringify([r]),action_type:"delete"});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),e.next=3,W(t,r,n,{label:"文件名",prop:"filename"},st);case 3:case"end":return e.stop()}}),e)}))),function(e,t){return Be.apply(this,arguments)})}],st=function(){var e=o(a().mark((function e(){var t,r=arguments;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]&&r[0],e.next=3,ot();case 3:return e.next=5,it();case 5:if(t){e.next=8;break}return e.next=8,Ce();case 8:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return k(Se,(function(e){"malware"===e&&st(!0)})),function(e,r){var a=c,i=q,o=M,l=s,u=f,d=I,m=A,y=H,x=p,w=z,g=v,_=n,k=j("bt-loading");return O(),L("div",null,[r[20]||(r[20]=E("div",{class:"text-[1.8rem] mb-6"},"恶意文件检测",-1)),"ltd"===S(h)?(O(),L(P,{key:0},[E("div",t,"最近一次扫描时间:"+V(S(Re)),1),E("div",X,[(O(!0),L(P,null,C(S(ze),(function(e){return O(),L("div",{class:"flex-1",key:e.title},[E("div",Z,V(e.title),1),E("div",{class:"text-[2.4rem]",style:T(e.style)},V(e.value),5)])})),128))]),E("div",ee,[b(a,{modelValue:S(Ue),"onUpdate:modelValue":r[0]||(r[0]=function(e){return D(Ue)?Ue.value=e:null}),options:Ie,onChange:nt,class:"mr-[1rem] !w-[12rem]","empty-values":[null,void 0]},null,8,["modelValue"]),E("div",te,[b(i,{size:"small",onClick:S(Fe)},{default:F((function(){return r[5]||(r[5]=[N("高级设置")])})),_:1},8,["onClick"]),r[7]||(r[7]=E("span",{class:"text-[#999] mx-[1.2rem]"},"|",-1)),E("div",re,[r[6]||(r[6]=E("span",{class:"mr-[.8rem]"},"动态查杀开关",-1)),b(o,{modelValue:S(Je),"onUpdate:modelValue":r[1]||(r[1]=function(e){return D(Je)?Je.value=e:null}),size:"small",onChange:at},null,8,["modelValue"])])])]),b(d,null,{content:F((function(){return[G(b(l,{ref_key:"malwareTable",ref:He,column:rt,data:S(We).data,"max-height":"270",description:"文件列表为空"},null,8,["data"]),[[k,S(We).loading],[k,"正在获取恶意文件列表,请稍后...","title"]])]})),"footer-left":F((function(){return[b(u,{"table-ref":S(He),options:ct},null,8,["table-ref"])]})),_:1}),r[8]||(r[8]=E("ul",{class:"ml-6 mt-6 list-disc leading-10"},[E("li",{class:"text-medium"},"恶意文件检测每6小时自动运行,24小时不间断保护您的系统安全,无需任何手动操作!")],-1))],64)):(O(),L("div",ne,[E("div",ae,[E("div",ie,[E("span",{class:"font-bold",innerHTML:S(Ze)},null,8,oe),E("p",le,"上一次扫描时间:"+V(S(Re)),1)]),b(i,{type:"primary",onClick:S(Te),class:"h-[4rem] w-[10rem]",size:"large"},{default:F((function(){return[E("span",ue,V(S(Pe).malware>0?"立即处理":"立即开启"),1)]})),_:1},8,["onClick"])]),b(m),E("div",ce,[b(y,{class:"w-[63rem] mr-[2rem]",fit:"scale-down",src:"https://www.bt.cn/Public/new/plugin/introduce/home/malware.png"}),r[9]||(r[9]=E("div",{class:"max-w-[22rem]"},[E("span",{class:"text-[1.8rem] font-bold"},"恶意文件检测工具介绍"),E("ul",{class:"block leading-[2.6rem] mx-[2rem] list-square mt-[2rem]"},[E("li",null,[N("支持检测21种恶意文件类型: "),E("br"),N("反弹Shell后门、DDoS木马、下载器木马、 黑客工具、高危程序、被污染的基础软件、 恶意脚本、恶意程序、挖矿程序、 代理工具、勒索病毒、高危软件、 Rootkit、窃密工具、恶意扫描器、 可疑程序、感染型病毒、网站后门、 蠕虫病毒、广告程序、破解程序 ")])])],-1))])])),b(g,{modelValue:S(Ke),"onUpdate:modelValue":r[2]||(r[2]=function(e){return D(Ke)?Ke.value=e:null}),title:"[".concat(S(Ye).filename,"]详情"),area:54},{default:F((function(){return[E("div",se,[E("div",fe,[r[10]||(r[10]=E("div",{class:"text-[1.2rem] text-[#000] w-[10rem]"},"文件名称",-1)),E("div",pe,V(S(Ye).filename),1)]),E("div",ve,[r[11]||(r[11]=E("div",{class:"text-[1.2rem] text-[#000] w-[10rem]"},"文件路径",-1)),E("div",de,V(S(Ye).filepath),1)]),E("div",me,[r[12]||(r[12]=E("div",{class:"text-[1.2rem] text-[#000] w-[10rem]"},"MD5",-1)),E("div",he,V(S(Ye).md5),1)]),E("div",ye,[r[13]||(r[13]=E("div",{class:"text-[1.2rem] text-[#000] w-[10rem]"},"威胁标签",-1)),E("div",xe,V(S(Ye).threat_type),1)]),E("div",we,[r[14]||(r[14]=E("div",{class:"text-[1.2rem] text-[#000] w-[10rem]"},"是否已进行隔离",-1)),E("div",ge,V(S(Ye).quarantined?"是":"否"),1)]),E("div",be,[r[16]||(r[16]=E("div",{class:"text-[1.2rem] text-[#000] w-[10rem]"},"样本文件",-1)),E("div",_e,[b(x,{onClick:lt},{default:F((function(){return r[15]||(r[15]=[N("查看")])})),_:1})])]),r[19]||(r[19]=E("div",{class:"mb-[1rem] mt-[4rem] font-bold text-[#333] text-[1.4rem]"},"事件说明",-1)),E("div",ke,[E("div",je,[b(w,{style:{width:"480px"},shadow:"always",class:"p-[1rem]"},{default:F((function(){return[r[17]||(r[17]=N(" 发现了一个可疑文件,建议您先确认文件合法性并进行处理 ")),b(m,{class:"!my-1.2rem"}),r[18]||(r[18]=E("div",{class:"flex flex-wrap"},[E("div",null,"处置建议:"),E("div",null,"如果您确认该文件不是自己部署的业务所需文件,请隔离该文件,或直接删除。如果您确定为误报,请先忽略该告警。")],-1))]})),_:1})])])])]})),_:1},8,["modelValue","title"]),b(g,{title:"在线编辑",showFooter:"",modelValue:S(Qe),"onUpdate:modelValue":r[4]||(r[4]=function(e){return D(Qe)?Qe.value=e:null}),area:70,onConfirm:ut},{default:F((function(){return[E("div",Oe,[b(_,{modelValue:S($e),"onUpdate:modelValue":r[3]||(r[3]=function(e){return D($e)?$e.value=e:null}),class:"!h-[40rem]"},null,8,["modelValue"])])]})),_:1},8,["modelValue"])])}}});e("default",m(Le,[["__scopeId","data-v-c4f9ce13"]]))}}}))}();
Save File
Cancel