日志倒排,重新编译前端

This commit is contained in:
samwaf
2022-10-26 23:25:16 +08:00
parent 6a5b0dde50
commit 3e243eebdf
41 changed files with 3 additions and 2133 deletions
+1 -1
View File
@@ -95,7 +95,7 @@ func StartLocalServer() {
var total int64 = 0
var weblogs []innerbean.WebLog
global.GWAF_LOCAL_DB.Debug().Limit(waf_attack.PageSize).Offset(waf_attack.PageSize * (waf_attack.PageIndex - 1)).Find(&weblogs)
global.GWAF_LOCAL_DB.Debug().Limit(waf_attack.PageSize).Offset(waf_attack.PageSize * (waf_attack.PageIndex - 1)).Order("create_time desc").Find(&weblogs)
global.GWAF_LOCAL_DB.Debug().Model(&innerbean.WebLog{}).Count(&total)
c.JSON(http.StatusOK, response.Response{
File diff suppressed because one or more lines are too long
-1
View File
@@ -1 +0,0 @@
import{n as a}from"./index.46025505.js";var _=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"tdesign-wrapper"},[n("router-view")],1)},o=[];_._withStripped=!0;const i={},r={};var s=a(i,_,o,!1,l,"082ee776",null,null);function l(t){for(let e in r)this[e]=r[e]}s.options.__file="src/layouts/blank.vue";var c=function(){return s.exports}();export{c as default};
-1
View File
@@ -1 +0,0 @@
import{d as Y}from"./index.46025505.js";const t=[Y().subtract(7,"day").format("YYYY-MM-DD"),Y().subtract(1,"day").format("YYYY-MM-DD")];Y().subtract(30,"day").format("YYYY-MM-DD"),Y().subtract(1,"day").format("YYYY-MM-DD");export{t as L};
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
-1
View File
@@ -1 +0,0 @@
import{r as u}from"./index.6ab6d0c9.js";import{n as _}from"./index.46025505.js";var o=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("result",{attrs:{title:"\u7F51\u7EDC\u5F02\u5E38",tip:"\u7F51\u7EDC\u5F02\u5E38\uFF0C\u8BF7\u7A0D\u540E\u518D\u8BD5",type:"wifi"}},[r("div",[r("t-button",{on:{click:function(){return t.$router.push("/")}}},[t._v("\u91CD\u65B0\u52A0\u8F7D")]),r("t-button",{attrs:{theme:"default"},on:{click:function(){return t.$router.push("/")}}},[t._v("\u8FD4\u56DE\u9996\u9875")])],1)])},i=[];o._withStripped=!0;const c={name:"ResultNetworkError",components:{result:u}},n={};var s=_(c,o,i,!1,l,"de6f8f04",null,null);function l(t){for(let e in n)this[e]=n[e]}s.options.__file="src/pages/result/network-error/index.vue";var v=function(){return s.exports}();export{v as default};
File diff suppressed because one or more lines are too long
-1
View File
@@ -1 +0,0 @@
import{V as i,n as a}from"./index.46025505.js";var s=function(){var e=this,r=e.$createElement,t=e._self._c||r;return t("span",{class:e.containerCls},[t("span",{class:e.iconCls},[e.type==="down"?t("svg",{attrs:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[t("path",{attrs:{d:"M11.5 8L8 11.5L4.5 8",stroke:"currentColor","stroke-width":"1.5"}}),t("path",{attrs:{d:"M8 11L8 4",stroke:"currentColor","stroke-width":"1.5"}})]):t("svg",{attrs:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[t("path",{attrs:{d:"M4.5 8L8 4.5L11.5 8",stroke:"currentColor","stroke-width":"1.5"}}),t("path",{attrs:{d:"M8 5V12",stroke:"currentColor","stroke-width":"1.5"}})])]),t("span",[e._v(e._s(e.describe))])])},c=[];s._withStripped=!0;const _=i.extend({name:"Trend",props:{type:String,describe:[String,Number],isReverseColor:Boolean},computed:{containerCls(){return["trend-container",{"trend-container__reverse":this.isReverseColor,"trend-container__up":!this.isReverseColor&&this.type==="up","trend-container__down":!this.isReverseColor&&this.type==="down"}]},iconCls(){return["trend-icon-container"]}}}),n={};var o=a(_,s,c,!1,l,"96d9c800",null,null);function l(e){for(let r in n)this[r]=n[r]}o.options.__file="src/components/trend/index.vue";var p=function(){return o.exports}();export{p as T};
-1
View File
@@ -1 +0,0 @@
import{C as s}from"./CommonTable.7b6d47a9.js";import{n as o,i as u}from"./index.46025505.js";import"./index.3aedcce4.js";import"./index.6b44d315.js";var r=function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("t-card",[l("div",{staticClass:"table-tree-container"},[l("div",{staticClass:"list-tree-wrapper"},[l("div",{staticClass:"list-tree-operator"},[l("t-input",{attrs:{placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD"},on:{input:e.onInput},model:{value:e.filterText,callback:function(i){e.filterText=i},expression:"filterText"}},[l("search-icon",{attrs:{slot:"suffix-icon",size:"20px"},slot:"suffix-icon"})],1),l("t-tree",{attrs:{data:e.items,hover:"","expand-on-click-node":"","default-expanded":e.expanded,filter:e.filterByText}})],1),l("div",{staticClass:"list-tree-content"},[l("common-table")],1)])])])},c=[];r._withStripped=!0;const v={name:"ListTree",components:{SearchIcon:u,CommonTable:s},data(){return{data:[],filterText:"",filterByText:null,options:[{label:"\u4E00\u7EA7\u64CD\u4F5C",value:"1"},{label:"\u4E8C\u7EA7\u64CD\u4F5C",value:"2"}],value:"first",expanded:["0","0-0","0-1","0-2","0-3","0-4"],items:[{label:"\u6DF1\u5733\u603B\u90E8",value:0,children:[{label:"\u603B\u529E",value:"0-0"},{label:"\u5E02\u573A\u90E8",value:"0-1",children:[{label:"\u91C7\u8D2D1\u7EC4",value:"0-1-0"},{label:"\u91C7\u8D2D2\u7EC4",value:"0-1-1"}]},{label:"\u6280\u672F\u90E8",value:"0-2"}]},{label:"\u5317\u4EAC\u603B\u90E8",value:1,children:[{label:"\u603B\u529E",value:"1-0"},{label:"\u5E02\u573A\u90E8",value:"1-1",children:[{label:"\u91C7\u8D2D1\u7EC4",value:"1-1-0"},{label:"\u91C7\u8D2D2\u7EC4",value:"1-1-1"}]}]},{label:"\u4E0A\u6D77\u603B\u90E8",value:2,children:[{label:"\u5E02\u573A\u90E8",value:"2-0"},{label:"\u8D22\u52A1\u90E8",value:"2-1",children:[{label:"\u8D22\u52A11\u7EC4",value:"2-1-0"},{label:"\u8D22\u52A12\u7EC4",value:"2-1-1"}]}]},{label:"\u6E56\u5357",value:3},{label:"\u6E56\u5317",value:4}]}},methods:{onInput(){this.filterByText=e=>e.label.indexOf(this.filterText)>=0},rehandleClickOp({text:e,row:t}){console.log(e,t)}}},a={};var n=o(v,r,c,!1,d,"35b74944",null,null);function d(e){for(let t in a)this[t]=a[t]}n.options.__file="src/pages/list/tree/index.vue";var x=function(){return n.exports}();export{x as default};
-2000
View File
File diff suppressed because one or more lines are too long
-1
View File
@@ -1 +0,0 @@
import{r as u}from"./index.6ab6d0c9.js";import{n as i}from"./index.46025505.js";var o=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("result",{attrs:{title:"500 Internal Server Error",type:"500",tip:"\u62B1\u6B49\uFF0C\u670D\u52A1\u5668\u51FA\u9519\u5566"}},[r("t-button",{on:{click:function(){return t.$router.push("/")}}},[t._v("\u8FD4\u56DE\u9996\u9875")])],1)},l=[];o._withStripped=!0;const _={name:"Result500",components:{result:u}},n={};var s=i(_,o,l,!1,a,null,null,null);function a(t){for(let e in n)this[e]=n[e]}s.options.__file="src/pages/result/500/index.vue";var v=function(){return s.exports}();export{v as default};
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
-1
View File
@@ -1 +0,0 @@
import{n as _,p as c}from"./index.46025505.js";import{m as p}from"./service-detail-base.52afe059.js";var i=function(){var e=this,s=e.$createElement,t=e._self._c||s;return t("div",{staticClass:"detail-base"},[t("t-card",{attrs:{title:"\u57FA\u672C\u4FE1\u606F"}},[t("div",{staticClass:"info-block"},e._l(e.baseInfoData,function(a,l){var n;return t("div",{key:l,staticClass:"info-item"},[t("h1",[e._v(e._s(a.name))]),t("span",{class:(n={},n.inProgress=a.type&&a.type.value==="inProgress",n.pdf=a.type&&a.type.value==="pdf",n)},[a.type&&a.type.key==="contractStatus"?t("i"):e._e(),e._v(" "+e._s(a.value)+" ")])])}),0)]),t("t-card",{staticClass:"container-base-margin-top",attrs:{title:"\u53D8\u66F4\u8BB0\u5F55"}},[t("t-steps",{staticClass:"detail-base-info-steps",attrs:{layout:"vertical",theme:"dot",current:1}},[t("t-step-item",{attrs:{title:"\u4E0A\u4F20\u5408\u540C\u9644\u4EF6",content:"\u8FD9\u91CC\u662F\u63D0\u793A\u6587\u5B57"}}),t("t-step-item",{attrs:{title:"\u4FEE\u6539\u5408\u540C\u91D1\u989D",content:"\u8FD9\u91CC\u662F\u63D0\u793A\u6587\u5B57"}}),t("t-step-item",{attrs:{title:"\u65B0\u5EFA\u5408\u540C",content:"2020-12-01 15:00:00 \u7BA1\u7406\u5458-\u674E\u5DDD\u64CD\u4F5C"}})],1)],1)],1)},d=[];i._withStripped=!0;const u={name:"DetailBase",data(){return{prefix:c,baseInfoData:p.getBaseInfoData()}},methods:{}},r={};var o=_(u,i,d,!1,v,"1882d1be",null,null);function v(e){for(let s in r)this[s]=r[s]}o.options.__file="src/pages/detail/base/index.vue";var y=function(){return o.exports}();export{y as default};
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
-1
View File
@@ -1 +0,0 @@
import{r as o}from"./index.6ab6d0c9.js";import{n as a,l}from"./index.46025505.js";var n=function(){var e=this,r=e.$createElement,t=e._self._c||r;return t("result",{attrs:{title:"\u6D4F\u89C8\u5668\u7248\u672C\u4F4E",tip:"\u62B1\u6B49\uFF0C\u60A8\u6B63\u5728\u4F7F\u7528\u7684\u6D4F\u89C8\u5668\u7248\u672C\u8FC7\u4F4E\uFF0C\u65E0\u6CD5\u6253\u5F00\u5F53\u524D\u7F51\u9875\u3002",type:"ie"}},[t("div",{staticClass:"result-slot-container"},[t("t-button",{staticClass:"result-button",on:{click:function(){return e.$router.push("/")}}},[e._v("\u8FD4\u56DE\u9996\u9875")]),t("div",{staticClass:"recommend-container"},[t("div",[e._v("TDesign Starter \u63A8\u8350\u4EE5\u4E0B\u4E3B\u6D41\u6D4F\u89C8\u5668")]),t("div",{staticClass:"recommend-browser"},[t("div",[t("thumbnail",{staticClass:"browser-icon",attrs:{url:"https://tdesign.gtimg.com/starter/result-page/chorme.png"}}),t("div",[e._v("Chrome")])],1),t("div",[t("thumbnail",{staticClass:"browser-icon",attrs:{url:"https://tdesign.gtimg.com/starter/result-page/qq-browser.png"}}),t("div",[e._v("QQ Browser")])],1)])])],1)])},c=[];n._withStripped=!0;const u={name:"ResultBrowserIncompatible",components:{Result:o,Thumbnail:l}},s={};var i=a(u,n,c,!1,_,"09bb719f",null,null);function _(e){for(let r in s)this[r]=s[r]}i.options.__file="src/pages/result/browser-incompatible/index.vue";var p=function(){return i.exports}();export{p as default};
File diff suppressed because one or more lines are too long
-1
View File
@@ -1 +0,0 @@
import{r as a}from"./index.6ab6d0c9.js";import{n as i}from"./index.46025505.js";var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("result",{attrs:{title:"\u7CFB\u7EDF\u7EF4\u62A4\u4E2D",tip:"\u7CFB\u7EDF\u7EF4\u62A4\u4E2D\uFF0C\u8BF7\u7A0D\u540E\u518D\u8BD5",type:"maintenance"}},[n("t-button",{attrs:{theme:"default"},on:{click:function(){return t.$router.push("/")}}},[t._v("\u8FD4\u56DE\u9996\u9875")])],1)},u=[];o._withStripped=!0;const c={name:"ResultMaintenance",components:{result:a}},r={};var s=i(c,o,u,!1,l,null,null,null);function l(t){for(let e in r)this[e]=r[e]}s.options.__file="src/pages/result/maintenance/index.vue";var m=function(){return s.exports}();export{m as default};
-1
View File
@@ -1 +0,0 @@
import{V as h,_ as m,u as y,I as O,a as b,n as g}from"./index.46025505.js";var C=["size"];function a(s,t){var r=Object.keys(s);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(s);t&&(e=e.filter(function(n){return Object.getOwnPropertyDescriptor(s,n).enumerable})),r.push.apply(r,e)}return r}function i(s){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?a(Object(r),!0).forEach(function(e){b(s,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach(function(e){Object.defineProperty(s,e,Object.getOwnPropertyDescriptor(r,e))})}return s}var P={tag:"svg",attrs:{fill:"none",viewBox:"0 0 16 16",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M4.5 8.2L7 10.7l4.5-4.5-.7-.7L7 9.3 5.2 7.5l-.7.7z",fillOpacity:.9}},{tag:"path",attrs:{fill:"currentColor",d:"M4.11 2.18a7 7 0 117.78 11.64A7 7 0 014.1 2.18zm.56 10.8a6 6 0 106.66-9.97A6 6 0 004.67 13z",fillOpacity:.9}}]},j=h.extend({name:"CheckCircleIcon",functional:!0,props:{size:{type:String},onClick:{type:Function}},render:function(t,r){var e=r.props,n=r.data,p=e.size,_=m(e,C),c=y(p),v=c.className,d=c.style,f=i(i({},_||{}),{},{id:"check-circle",icon:P,staticClass:v,style:d});return n.props=f,t(O,n)}}),l=function(){var s=this,t=this,r=t.$createElement,e=t._self._c||r;return e("div",{staticClass:"result-success"},[e("check-circle-icon",{staticClass:"result-success-icon"}),e("div",{staticClass:"result-success-title"},[t._v("\u9879\u76EE\u5DF2\u521B\u5EFA\u6210\u529F")]),e("div",{staticClass:"result-success-describe"},[t._v("\u53EF\u4EE5\u8054\u7CFB\u8D1F\u8D23\u4EBA\u5206\u53D1\u5E94\u7528")]),e("div",[e("t-button",{on:{click:function(){return s.$router.push("/form/base")}}},[t._v("\u8FD4\u56DE\u9996\u9875")]),e("t-button",{attrs:{theme:"default"},on:{click:function(){return s.$router.push("/detail/advanced")}}},[t._v("\u67E5\u770B\u8FDB\u5EA6")])],1)],1)},w=[];l._withStripped=!0;const z={name:"ResultSuccess",components:{CheckCircleIcon:j}},o={};var u=g(z,l,w,!1,x,"cb6aa450",null,null);function x(s){for(let t in o)this[t]=o[t]}u.options.__file="src/pages/result/success/index.vue";var k=function(){return u.exports}();export{k as default};
-1
View File
@@ -1 +0,0 @@
import{p as d,n as r}from"./index.46025505.js";import{m as n}from"./service-detail-base.52afe059.js";var _={name:"WafAttackLogDetail",data(){return{prefix:d,baseInfoData:n.getBaseInfoData(),detail_data:{}}},beforeRouteUpdate(t,a){console.log("beforeRouteUpdate")},mounted(){console.log("----mounted----"),this.getDetail(this.$route.query.req_uuid)},beforeCreate(){console.log("----beforeCreate----")},created(){console.log("----created----")},beforeMount(){console.log("----beforeMount----")},beforeUpdate(){console.log("----beforeUpdate----")},updated(){console.log("----updated----")},watch:{"$route.query.code"(t,a){console.log("route.query.code changed",t,a),this.getDetail(t)}},methods:{getDetail(t){let a=this;this.$request.get("/wafhost/host/detail",{params:{CODE:t}}).then(e=>{let s=e.data;console.log(s),s.code===200&&(a.detail_data=s.data)}).catch(e=>{console.log(e)}).finally(()=>{})}}},o=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"detail-base"},[e("t-card",{attrs:{title:"\u7F51\u7AD9\u8BE6\u60C5"}},[e("div",{staticClass:"info-block"},[e("div",{staticClass:"info-item"},[e("h1",[t._v(" \u521B\u5EFA\u65F6\u95F4")]),e("span",[t._v(" "+t._s(t.detail_data.create_time)+" ")])]),e("div",{staticClass:"info-item"},[e("h1",[t._v(" \u7F51\u7AD9")]),e("span",[t._v(" "+t._s(t.detail_data.host)+" ")])]),e("div",{staticClass:"info-item"},[e("h1",[t._v(" \u7F51\u7AD9\u7AEF\u53E3")]),e("span",[t._v(" "+t._s(t.detail_data.port)+" ")])]),e("div",{staticClass:"info-item"},[e("h1",[t._v(" \u52A0\u5BC6\u8BC1\u4E66")]),e("span",[t._v(" "+t._s(t.detail_data.ssl)+" ")])]),e("div",{staticClass:"info-item"},[e("h1",[t._v(" \u540E\u7AEF\u7CFB\u7EDF\u7C7B\u578B")]),e("span",[t._v(" "+t._s(t.detail_data.remote_system)+" ")])]),e("div",{staticClass:"info-item"},[e("h1",[t._v(" \u540E\u7AEF\u7CFB\u7EDF\u5E94\u7528\u7C7B\u578B")]),e("span",[t._v(" "+t._s(t.detail_data.remote_app)+" ")])]),e("div",{staticClass:"info-item"},[e("h1",[t._v(" \u540E\u7AEF\u57DF\u540D")]),e("span",[t._v(" "+t._s(t.detail_data.remote_host)+" ")])]),e("div",{staticClass:"info-item"},[e("h1",[t._v(" \u540E\u7AEF\u7AEF\u53E3")]),e("span",[t._v(" "+t._s(t.detail_data.remote_port)+" ")])])])]),e("t-card",{staticClass:"container-base-margin-top",attrs:{title:"\u6700\u8FD1\u914D\u7F6E\u8BB0\u5F55"}},[e("t-list",{attrs:{split:!0}},[e("t-list-item",[e("t-list-item-meta",{attrs:{title:"\u8BF7\u6C42\u5934",description:t.detail_data.header}})],1),e("t-list-item",[e("t-list-item-meta",{attrs:{title:"\u8BF7\u6C42\u7528\u6237\u6D4F\u89C8\u5668",description:t.detail_data.user_agent}})],1),e("t-list-item",[e("t-list-item-meta",{attrs:{title:"\u8BF7\u6C42cookies",description:t.detail_data.cookies}})],1),e("t-list-item",[e("t-list-item-meta",{attrs:{title:"\u8BF7\u6C42BODY",description:t.detail_data.body}})],1)],1)],1)],1)},c=[];o._withStripped=!0;const i={};var l=r(_,o,c,!1,m,"02211709",null,null);function m(t){for(let a in i)this[a]=i[a]}l.options.__file="src/pages/waf-host/host/detail/index.vue";var f=function(){return l.exports}();export{f as default};
File diff suppressed because one or more lines are too long
-1
View File
@@ -1 +0,0 @@
import{p as d,n as r}from"./index.46025505.js";import{m as n}from"./service-detail-base.52afe059.js";var _={name:"WafAttackLogDetail",data(){return{prefix:d,baseInfoData:n.getBaseInfoData(),detail_data:{}}},beforeRouteUpdate(t,a){console.log("beforeRouteUpdate")},mounted(){console.log("----mounted----"),this.getDetail(this.$route.query.req_uuid)},beforeCreate(){console.log("----beforeCreate----")},created(){console.log("----created----")},beforeMount(){console.log("----beforeMount----")},beforeUpdate(){console.log("----beforeUpdate----")},updated(){console.log("----updated----")},watch:{"$route.query.req_uuid"(t,a){console.log("route.query.req_uuid changed",t,a),this.getDetail(t)}},methods:{getDetail(t){let a=this;this.$request.get("/waflog/attack/detail",{params:{REQ_UUID:t}}).then(e=>{let i=e.data;console.log(i),i.code===200&&(a.detail_data=i.data)}).catch(e=>{console.log(e)}).finally(()=>{})}}},o=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"detail-base"},[e("t-card",{staticClass:"container-base-margin-top",attrs:{title:"\u9632\u5FA1\u60C5\u51B5"}},[e("t-steps",{staticClass:"detail-base-info-steps",attrs:{layout:"horizontal",theme:"dot",current:2}},[e("t-step-item",{attrs:{title:"\u8BBF\u95EE",content:t.detail_data.create_time}}),e("t-step-item",{attrs:{title:"\u68C0\u6D4B",content:t.detail_data.create_time}}),e("t-step-item",{attrs:{title:"\u9632\u5FA1\u72B6\u6001",content:t.detail_data.action}})],1)],1),e("t-card",{attrs:{title:"\u672C\u6B21\u8BF7\u6C42\u8BE6\u60C5"}},[e("div",{staticClass:"info-block"},[e("div",{staticClass:"info-item"},[e("h1",[t._v(" \u8BF7\u6C42\u6807\u8BC6")]),e("span",[t._v(" "+t._s(t.detail_data.req_uuid)+" ")])]),e("div",{staticClass:"info-item"},[e("h1",[t._v(" \u8BF7\u6C42\u65F6\u95F4")]),e("span",[t._v(" "+t._s(t.detail_data.create_time)+" ")])]),e("div",{staticClass:"info-item"},[e("h1",[t._v(" \u8BF7\u6C42\u57DF\u540D")]),e("span",[t._v(" "+t._s(t.detail_data.host)+" ")])]),e("div",{staticClass:"info-item"},[e("h1",[t._v(" \u8BF7\u6C42\u8DEF\u5F84")]),e("span",[t._v(" "+t._s(t.detail_data.url)+" ")])]),e("div",{staticClass:"info-item"},[e("h1",[t._v(" \u8BF7\u6C42\u65B9\u6CD5")]),e("span",[t._v(" "+t._s(t.detail_data.method)+" ")])]),e("div",{staticClass:"info-item"},[e("h1",[t._v(" \u8BF7\u6C42\u5185\u5BB9\u5927\u5C0F")]),e("span",[t._v(" "+t._s(t.detail_data.content_length)+" ")])]),e("div",{staticClass:"info-item"},[e("h1",[t._v(" \u8BBF\u95EE\u8005IP")]),e("span",[t._v(" "+t._s(t.detail_data.src_ip)+" ")])]),e("div",{staticClass:"info-item"},[e("h1",[t._v(" \u8BBF\u95EE\u8005\u7AEF\u53E3")]),e("span",[t._v(" "+t._s(t.detail_data.src_port)+" ")])]),e("div",{staticClass:"info-item"},[e("h1",[t._v(" \u8BF7\u6C42\u5730\u533A")]),e("span",[t._v(" "+t._s(t.detail_data.country)+" ")])])])]),e("t-card",{staticClass:"container-base-margin-top",attrs:{title:"\u8BBF\u95EE\u5176\u4ED6\u8BB0\u5F55"}},[e("t-list",{attrs:{split:!0}},[e("t-list-item",[e("t-list-item-meta",{attrs:{title:"\u8BF7\u6C42\u5934",description:t.detail_data.header}})],1),e("t-list-item",[e("t-list-item-meta",{attrs:{title:"\u8BF7\u6C42\u7528\u6237\u6D4F\u89C8\u5668",description:t.detail_data.user_agent}})],1),e("t-list-item",[e("t-list-item-meta",{attrs:{title:"\u8BF7\u6C42cookies",description:t.detail_data.cookies}})],1),e("t-list-item",[e("t-list-item-meta",{attrs:{title:"\u8BF7\u6C42BODY",description:t.detail_data.body}})],1)],1)],1)],1)},c=[];o._withStripped=!0;const s={};var l=r(_,o,c,!1,m,"e4ae1f2a",null,null);function m(t){for(let a in s)this[a]=s[a]}l.options.__file="src/pages/waf-log/attack/detail/index.vue";var v=function(){return l.exports}();export{v as default};
-1
View File
@@ -1 +0,0 @@
import{r as i}from"./index.6ab6d0c9.js";import{n as u}from"./index.46025505.js";var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("result",{attrs:{title:"403 Forbidden",tip:"\u62B1\u6B49\uFF0C\u60A8\u65E0\u6743\u9650\u8BBF\u95EE\u6B64\u9875\u9762\uFF0C\u4F01\u4E1A\u5FAE\u4FE1\u8054\u7CFB\u521B\u5EFA\u8005xiaolaoshi"}},[n("t-button",{on:{click:function(){return t.$router.push("/")}}},[t._v("\u8FD4\u56DE\u9996\u9875")])],1)},l=[];o._withStripped=!0;const _={name:"Result403",components:{result:i}},r={};var s=u(_,o,l,!1,a,null,null,null);function a(t){for(let e in r)this[e]=r[e]}s.options.__file="src/pages/result/403/index.vue";var v=function(){return s.exports}();export{v as default};
File diff suppressed because one or more lines are too long
-1
View File
@@ -1 +0,0 @@
import{V as h,_ as m,u as y,I as b,a as O,n as g}from"./index.46025505.js";var P=["size"];function a(n,t){var r=Object.keys(n);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(n);t&&(e=e.filter(function(s){return Object.getOwnPropertyDescriptor(n,s).enumerable})),r.push.apply(r,e)}return r}function o(n){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?a(Object(r),!0).forEach(function(e){O(n,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))})}return n}var j={tag:"svg",attrs:{fill:"none",viewBox:"0 0 16 16",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M8.5 4v5.5h-1V4h1zM8.6 10.5H7.4v1.2h1.2v-1.2z",fillOpacity:.9}},{tag:"path",attrs:{fill:"currentColor",d:"M15 8A7 7 0 101 8a7 7 0 0014 0zm-1 0A6 6 0 112 8a6 6 0 0112 0z",fillOpacity:.9}}]},C=h.extend({name:"ErrorCircleIcon",functional:!0,props:{size:{type:String},onClick:{type:Function}},render:function(t,r){var e=r.props,s=r.data,p=e.size,f=m(e,P),i=y(p),_=i.className,v=i.style,d=o(o({},f||{}),{},{id:"error-circle",icon:j,staticClass:_,style:v});return s.props=d,t(b,s)}}),l=function(){var n=this,t=this,r=t.$createElement,e=t._self._c||r;return e("div",{staticClass:"result-fail"},[e("error-circle-icon",{staticClass:"result-fail-icon"}),e("div",{staticClass:"result-fail-title"},[t._v("\u521B\u5EFA\u5931\u8D25")]),e("div",{staticClass:"result-fail-describe"},[t._v("\u62B1\u6B49\uFF0C\u60A8\u7684\u9879\u76EE\u521B\u5EFA\u5931\u8D25\uFF0C\u4F01\u4E1A\u5FAE\u4FE1\u8054\u7CFB\u68C0\u67E5\u521B\u5EFA\u8005\u6743\u9650\uFF0C\u6216\u8FD4\u56DE\u4FEE\u6539\u3002")]),e("div",[e("t-button",{on:{click:function(){return n.$router.push("/form/base")}}},[t._v("\u8FD4\u56DE\u4FEE\u6539")]),e("t-button",{attrs:{theme:"default"},on:{click:function(){return n.$router.push("/form/base")}}},[t._v("\u8FD4\u56DE\u9996\u9875")])],1)],1)},z=[];l._withStripped=!0;const w={name:"ResultFail",components:{ErrorCircleIcon:C}},c={};var u=g(w,l,z,!1,x,"bc20b702",null,null);function x(n){for(let t in c)this[t]=c[t]}u.options.__file="src/pages/result/fail/index.vue";var E=function(){return u.exports}();export{E as default};
File diff suppressed because one or more lines are too long
-1
View File
@@ -1 +0,0 @@
import{C as s}from"./CommonTable.7b6d47a9.js";import{n as a}from"./index.46025505.js";import"./index.3aedcce4.js";import"./index.6b44d315.js";var l={name:"ListFilter",components:{CommonTable:s}},o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("t-card",[n("common-table")],1)},_=[];o._withStripped=!0;const r={};var i=a(l,o,_,!1,c,null,null,null);function c(t){for(let e in r)this[e]=r[e]}i.options.__file="src/pages/list/filter/index.vue";var f=function(){return i.exports}();export{f as default};
File diff suppressed because one or more lines are too long
-1
View File
@@ -1 +0,0 @@
import{r as u}from"./index.6ab6d0c9.js";import{n as i}from"./index.46025505.js";var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("result",{attrs:{title:"404 Not Found",tip:"\u62B1\u6B49\uFF0C\u60A8\u8BBF\u95EE\u7684\u9875\u9762\u4E0D\u5B58\u5728",type:"404"}},[n("t-button",{on:{click:function(){return t.$router.push("/")}}},[t._v("\u8FD4\u56DE\u9996\u9875")])],1)},l=[];o._withStripped=!0;const _={name:"Result404",components:{result:u}},r={};var s=i(_,o,l,!1,c,null,null,null);function c(t){for(let e in r)this[e]=r[e]}s.options.__file="src/pages/result/404/index.vue";var v=function(){return s.exports}();export{v as default};
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
-1
View File
@@ -1 +0,0 @@
import{V as O,_ as f,u as v,I as y,a as g}from"./index.46025505.js";var h=["size"];function a(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(t,s).enumerable})),e.push.apply(e,r)}return e}function i(t){for(var n=1;n<arguments.length;n++){var e=arguments[n]!=null?arguments[n]:{};n%2?a(Object(e),!0).forEach(function(r){g(t,r,e[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):a(Object(e)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))})}return t}var P={tag:"svg",attrs:{fill:"none",viewBox:"0 0 16 16",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M9.5 2.5H2v1h7.5v-1zM12 2.5v9.8l2.15-2.15.7.7-2.95 2.95c-.33.34-.9.1-.9-.37V2.5h1zM2 7.5h7.5v1H2v-1zM9.5 12.5H2v1h7.5v-1z",fillOpacity:.9}}]},m=O.extend({name:"OrderDescendingIcon",functional:!0,props:{size:{type:String},onClick:{type:Function}},render:function(n,e){var r=e.props,s=e.data,p=r.size,c=f(r,h),o=v(p),l=o.className,u=o.style,d=i(i({},c||{}),{},{id:"order-descending",icon:P,staticClass:l,style:u});return s.props=d,n(y,s)}});export{m as O};
+1 -1
View File
@@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>SAM 网站安全防护后台</title>
<script type="module" crossorigin src="./assets/index.46025505.js"></script>
<script type="module" crossorigin src="./assets/index.d3b0f665.js"></script>
<link rel="stylesheet" href="./assets/style.170703be.css">
</head>
<body>
+1 -1
View File
@@ -124,7 +124,7 @@ func (h *baseHandle) ServeHTTP(w http.ResponseWriter, r *http.Request) {
header, _ := json.Marshal(r.Header)
// 取出客户IP
ipAndPort := strings.Split(r.RemoteAddr, ":")
region := GetCountry("8.8.8.8") //region:=GetCountry(ipAndPort[0])
region := GetCountry(ipAndPort[0])
weblogbean := innerbean.WebLog{
HOST: host,
URL: r.RequestURI,