← Back
Editing: index-legacy359.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 n};var r,n={},a=Object.prototype,i=a.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},c="function"==typeof Symbol?Symbol:{},s=c.iterator||"@@iterator",l=c.asyncIterator||"@@asyncIterator",u=c.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(r){f=function(t,e,r){return t[e]=r}}function v(t,e,r,n){var a=e&&e.prototype instanceof b?e:b,i=Object.create(a.prototype),c=new P(n||[]);return o(i,"_invoke",{value:T(t,r,c)}),i}function d(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}n.wrap=v;var p="suspendedStart",m="suspendedYield",h="executing",y="completed",g={};function b(){}function x(){}function w(){}var _={};f(_,s,(function(){return this}));var j=Object.getPrototypeOf,L=j&&j(j(G([])));L&&L!==a&&i.call(L,s)&&(_=L);var S=w.prototype=b.prototype=Object.create(_);function k(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function E(e,r){function n(a,o,c,s){var l=d(e[a],e,o);if("throw"!==l.type){var u=l.arg,f=u.value;return f&&"object"==t(f)&&i.call(f,"__await")?r.resolve(f.__await).then((function(t){n("next",t,c,s)}),(function(t){n("throw",t,c,s)})):r.resolve(f).then((function(t){u.value=t,c(u)}),(function(t){return n("throw",t,c,s)}))}s(l.arg)}var a;o(this,"_invoke",{value:function(t,e){function i(){return new r((function(r,a){n(t,e,r,a)}))}return a=a?a.then(i,i):i()}})}function T(t,e,n){var a=p;return function(i,o){if(a===h)throw Error("Generator is already running");if(a===y){if("throw"===i)throw o;return{value:r,done:!0}}for(n.method=i,n.arg=o;;){var c=n.delegate;if(c){var s=O(c,n);if(s){if(s===g)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===p)throw a=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=h;var l=d(t,e,n);if("normal"===l.type){if(a=n.done?y:m,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(a=y,n.method="throw",n.arg=l.arg)}}}function O(t,e){var n=e.method,a=t.iterator[n];if(a===r)return e.delegate=null,"throw"===n&&t.iterator.return&&(e.method="return",e.arg=r,O(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=d(a,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,g;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=r),e.delegate=null,g):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,g)}function F(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 N(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(F,this),this.reset(!0)}function G(e){if(e||""===e){var n=e[s];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var a=-1,o=function t(){for(;++a<e.length;)if(i.call(e,a))return t.value=e[a],t.done=!1,t;return t.value=r,t.done=!0,t};return o.next=o}}throw new TypeError(t(e)+" is not iterable")}return x.prototype=w,o(S,"constructor",{value:w,configurable:!0}),o(w,"constructor",{value:x,configurable:!0}),x.displayName=f(w,u,"GeneratorFunction"),n.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===x||"GeneratorFunction"===(e.displayName||e.name))},n.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,w):(t.__proto__=w,f(t,u,"GeneratorFunction")),t.prototype=Object.create(S),t},n.awrap=function(t){return{__await:t}},k(E.prototype),f(E.prototype,l,(function(){return this})),n.AsyncIterator=E,n.async=function(t,e,r,a,i){void 0===i&&(i=Promise);var o=new E(v(t,e,r,a),i);return n.isGeneratorFunction(e)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},k(S),f(S,u,"Generator"),f(S,s,(function(){return this})),f(S,"toString",(function(){return"[object Generator]"})),n.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},n.values=G,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(N),!t)for(var e in this)"t"===e.charAt(0)&&i.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=r)},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 n(n,a){return c.type="throw",c.arg=t,e.next=n,a&&(e.method="next",e.arg=r),!!a}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],c=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var s=i.call(o,"catchLoc"),l=i.call(o,"finallyLoc");if(s&&l){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!l)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(t,e){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"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=t,o.arg=e,a?(this.method="next",this.next=a.finallyLoc,g):this.complete(o)},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 r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),N(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var a=n.arg;N(r)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:G(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=r),g}},n}function r(t,e,r,n,a,i,o){try{var c=t[i](o),s=c.value}catch(t){return void r(t)}c.done?e(s):Promise.resolve(s).then(n,a)}System.register(["./utils-lib-legacy.js?v=VERSION_NUMBER","./base-lib-legacy.js?v=VERSION_NUMBER","./site-legacy.js?v=VERSION_NUMBER","./validator-legacy.js?v=VERSION_NUMBER","./__commonjsHelpers__-legacy.js?v=VERSION_NUMBER","./index-legacy104.js?v=VERSION_NUMBER","./column-legacy.js?v=VERSION_NUMBER"],(function(t,n){"use strict";var a,i,o,c,s,l,u,f,v,d,p,m,h,y,g,b,x,w,_,j,L,S,k,E,T,O,F,N,P,G,V,A,C,H,z;return{setters:[function(t){a=t.u,i=t.R,o=t.d,c=t._,s=t.c,l=t.e},function(t){u=t.c,f=t.t,v=t.r,d=t.g,p=t.p,m=t.G,h=t.H,y=t.x,g=t.q,b=t.v,x=t.y,w=t.M,_=t.C,j=t.z,L=t.A,S=t.e,k=t.b7,E=t.F,T=t.a_,O=t.P,F=t.D,N=t.a$,P=t.f,G=t.bw,V=t.B,A=t.ba,C=t.bv},function(t){H=t.scanSitesVluList},function(t){z=t.p},null,null,null],execute:function(){var n={class:"p-2rem"},I={class:"mb-[2rem]"},M={class:"flex flex-row flex-wrap items-center justify-between"},B={class:"flex flex-row flex-wrap justify-center items-center"},D={class:"flex justify-between flex-col px-[2rem]"},J=["innerHTML"],R={class:"text-[1.6rem] mt-[1.2rem]"},q={class:"justify-end relative"},Y={key:0},U={class:"webedit-con flex items-center justify-center"},W={key:1},Z={key:0,class:"scan-dangerous"},$={class:"overflow-auto h-[36rem]"},K={class:"flex items-center"},Q={class:"w-[26rem] flex items-center justify-start"},X={class:"ml-[1.2rem]"},tt={class:"flex items-center justify-between w-full"},et={class:"flex items-center ml-[1.2rem]"},rt={class:"text-[#999] ml-[1.2rem]"},nt={class:"bg-[#f6f6f6] text-[#999]"},at={class:"p-[3rem] bg-[#F8F8F8]"},it={class:"flex items-center"},ot={class:"collapse-item"},ct={class:"flex mt-[10px] items-center"},st={class:"collapse-item"},lt={class:"flex mt-[10px] items-center"},ut={class:"collapse-item"},ft={class:"flex mt-[10px] items-center"},vt={class:"collapse-item"},dt={class:"flex mt-[10px] items-center"},pt={class:"collapse-item"},mt={class:"flex mt-[10px] items-center"},ht={class:"collapse-item"},yt={key:1,class:"scan-success border-[0.1rem] p-[2rem] h-[38rem] border-[#e8e8e8] flex items-center justify-center"},gt={class:"flex flex-column items-center"},bt=u({__name:"index",setup:function(t){var l=a().payment,u=f(l.value).authType,bt=["danger","高危"],xt=["warning","中危"],wt=["info","低危"],_t=v("success"),jt=d((function(){return kt.value.total>0})),Lt=v({scanTitle:"当前未发现风险项。"}),St=v(!1),kt=v({list:[],total:0,time:""}),Et=v(["1"]),Tt=function(t){return(t=Number(t))>=0&&t<=3.9?wt:t>=4&&t<=6.9?xt:t>=7&&t<=10?bt:["default","未知风险"]},Ot=function(){var t,n=(t=e().mark((function t(){var r,n;return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return St.value=!0,t.prev=1,t.next=4,H();case 4:r=t.sent,n=r.data,kt.value.list=n.list,kt.value.total=n.count,kt.value.time=i(n.time),Ft(n.count);case 10:return t.prev=10,St.value=!1,t.finish(10);case 13:case"end":return t.stop()}}),t,null,[[1,,10,13]])})),function(){var e=this,n=arguments;return new Promise((function(a,i){var o=t.apply(e,n);function c(t){r(o,a,i,c,s,"next",t)}function s(t){r(o,a,i,c,s,"throw",t)}c(void 0)}))});return function(){return n.apply(this,arguments)}}(),Ft=function(t){t>0?(_t.value="danger",Lt.value.scanTitle="<span class='text-danger'>".concat(t,"</span>个漏洞风险项待处理!")):(_t.value="success",Lt.value.scanTitle="当前未发现风险项。")};return p(Ot),function(t,e){var r=c,a=F,i=N,l=P,f=A,v=s,d=C,p=G,H=o,bt=m("bt-loading");return h((g(),b("div",n,[x("div",I,[x("div",M,[x("div",B,["success"==y(_t)?(g(),w(r,{key:0,icon:"scanning-success",size:80,color:"#20a53a"})):_("",!0),"danger"==y(_t)?(g(),w(r,{key:1,icon:"scanning-danger",size:80,color:"#ef0808"})):_("",!0),x("div",D,[x("div",{class:"text-[2rem] font-bold",innerHTML:y(Lt).scanTitle},null,8,J),x("div",R,"上一次扫描时间:"+j(y(kt).time),1)])]),x("div",q,["ltd"!==y(u)?(g(),w(a,{key:0,class:"scan-btn h-[4rem] w-[10rem]",type:"primary",size:"large",onClick:e[0]||(e[0]=function(t){return y(z)({sourceId:168})})},{default:L((function(){return e[2]||(e[2]=[x("span",{class:"text-[1.5rem]"},"立即查看",-1)])})),_:1})):_("",!0),S(a,{class:"scan-btn h-[4rem] w-[10rem]",type:"primary",size:"large",onClick:Ot},{default:L((function(){return e[3]||(e[3]=[x("span",{class:"text-[1.5rem]"},"重新检测",-1)])})),_:1})])])]),S(i,{class:"!mt-0"}),"ltd"!==y(u)?(g(),b("div",Y,[x("div",U,[S(l,{class:"max-w-[90rem] mr-[4rem] w-[36rem]",src:"https://www.bt.cn/Public/new/plugin/introduce/site/javaVulScan.png",custom:!0}),e[4]||(e[4]=k('<div class="thumbnail-introduce mt-[0rem]" data-v-f0ceaf3b><span class="text-[1.8rem] font-bold" data-v-f0ceaf3b>漏洞扫描工具介绍:</span><ul class="block leading-[2.6rem] mx-[2rem] list-square mt-[2rem]" data-v-f0ceaf3b><li data-v-f0ceaf3b> 可识别多款Java组件漏洞,支持如下:<br data-v-f0ceaf3b> Apache Log4j2、Apache Shiro、Fastjson、<br data-v-f0ceaf3b> Spring Boot、Spring Framework、Struts2、<br data-v-f0ceaf3b> Tomcat、Weblogic、JBoss、Hibernate、Nexus<br data-v-f0ceaf3b> Dubbo、Nacos、Druid、MyBatis、Spring Cloud<br data-v-f0ceaf3b> Eureka、Ribbon、Hystrix、Zuul、Gateway<br data-v-f0ceaf3b> Thymeleaf、FreeMarker、Velocity<br data-v-f0ceaf3b></li><li data-v-f0ceaf3b>提供修复/提供付费解决方案</li><li data-v-f0ceaf3b>提供详细的漏洞描述和风险等级(CVSS评分)</li></ul></div>',1))])])):(g(),b("div",W,[y(jt)?(g(),b("div",Z,[e[13]||(e[13]=x("div",{class:"flex items-center mb-[2rem] text-[#333]"},[x("span",{class:"w-[26rem]"},"项目名称"),x("span",null,"类型")],-1)),x("div",$,[S(p,{modelValue:y(Et),"onUpdate:modelValue":e[1]||(e[1]=function(t){return O(Et)?Et.value=t:null}),accordion:""},{default:L((function(){return[(g(!0),b(E,null,T(y(kt).list,(function(t,r){return g(),w(d,{key:r},{title:L((function(){return[x("div",K,[x("div",Q,[S(f,{type:"warning",effect:"dark"},{default:L((function(){return[V(j(t.list.length)+"项 ",1)]})),_:2},1024),x("span",X,j(t.title),1)]),e[5]||(e[5]=x("div",{class:"text-[#666] text-[1.2rem]"},"无法自动修复,请手动处理",-1))])]})),default:L((function(){return[S(p,{accordion:""},{default:L((function(){return[(g(!0),b(E,null,T(t.list,(function(t,r){return g(),w(d,{key:r},{title:L((function(){return[x("div",tt,[x("div",et,[S(f,{type:Tt(t.cvss)[0]},{default:L((function(){return[V(j(Tt(t.cvss)[1]),1)]})),_:2},1032,["type"]),x("span",rt,j(t.desc),1)]),S(v,{class:"mb-[.2rem] mr-[1.6rem]"},{default:L((function(){return e[6]||(e[6]=[V("详情")])})),_:1})])]})),default:L((function(){return[x("div",nt,[x("div",at,[x("div",it,[e[7]||(e[7]=x("div",{class:"text-[#333] collapse-title"},"漏洞编号",-1)),x("div",ot,j(t.CVE),1)]),x("div",ct,[e[8]||(e[8]=x("div",{class:"text-[#333] collapse-title"},"风险描述",-1)),x("div",st,j(t.desc),1)]),x("div",lt,[e[9]||(e[9]=x("div",{class:"text-[#333] collapse-title"},"CVSS",-1)),x("div",ut,j(t.cvss),1)]),x("div",ft,[e[10]||(e[10]=x("div",{class:"text-[#333] collapse-title"},"JAR",-1)),x("div",vt,j(t.jar),1)]),x("div",dt,[e[11]||(e[11]=x("div",{class:"text-[#333] collapse-title"},"CLASS",-1)),x("div",pt,j(t.class),1)]),x("div",mt,[e[12]||(e[12]=x("div",{class:"text-[#333] collapse-title"},"HASH(16)",-1)),x("div",ht,j(t.hash256),1)])])])]})),_:2},1024)})),128))]})),_:2},1024)]})),_:2},1024)})),128))]})),_:1},8,["modelValue"])])])):(g(),b("div",yt,[x("div",gt,[S(H,{src:"/firewall/secure.png",class:"w-[34.0rem] h-[30.1rem]"}),e[14]||(e[14]=x("span",{class:"absolute mt-[10.5rem] text-[2rem] leading-[0.14rem]"}," 当前处于【安全状态】,请继续保持! ",-1))])]))]))])),[[bt,y(St)]])}}});t("default",l(bt,[["__scopeId","data-v-f0ceaf3b"]]))}}}))}();
Save File
Cancel