diff --git a/src/overseer/scanner.py b/src/overseer/scanner.py index 2ea409a..7eb7be8 100644 --- a/src/overseer/scanner.py +++ b/src/overseer/scanner.py @@ -285,7 +285,7 @@ class Scanner(Thread): results.extend( list(map(lambda x: "%s TCP" % x, self.tcp_results)) ) # noqa: E501 - results.sort() + results.sort(key=lambda x: int(x.split(" ")[0])) return results def __scan_tcp(self): diff --git a/src/overseer/static/css/app.4fe206b0.css b/src/overseer/static/css/app.a6dc3078.css similarity index 61% rename from src/overseer/static/css/app.4fe206b0.css rename to src/overseer/static/css/app.a6dc3078.css index d2265c2..103f9a1 100644 --- a/src/overseer/static/css/app.4fe206b0.css +++ b/src/overseer/static/css/app.a6dc3078.css @@ -1 +1 @@ -#overseer-websocket[data-v-1f35cde8]{height:18px;width:18px;border-radius:8px;position:absolute;left:25px;top:20px;z-index:-1}#overseer-header[data-v-1f35cde8]{background-color:#c9582c;width:100%;height:60px;position:fixed;top:0}#overseer-header a[data-v-1f35cde8]{color:inherit}.scan-progress[data-v-2b9f4f85]{border:1px solid #000;border-radius:6px;overflow:hidden;position:relative;text-align:center;margin-bottom:5px}.scan-progress span[data-v-2b9f4f85]{position:absolute;font-size:.75em;right:48%;font-weight:900;top:-2px;color:#000}.scan-progress div[data-v-2b9f4f85]{height:12px;transition:1s;background-color:green;text-align:center;font-size:.6em;width:0}#overseer-notifications[data-v-7218f0ce]{height:calc(100% - 60px);width:320px;position:fixed;transition:.5s;right:0;top:0;overflow:scroll;margin-top:60px;z-index:1}.overseer-notification[data-v-7218f0ce]{transition:.5s;background-color:#e0e3de;border-radius:2px;text-align:start;padding:10px;margin:10px;cursor:pointer}#overseer-app{height:100%;width:100%;font-family:Avenir,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-align:center;color:#3a4040}#overseer-body{height:calc(100% - 60px);width:100%;margin-top:60px;overflow:scroll;position:absolute;color:#eaece9}#overseer-body-center{min-height:100%;width:1000px;margin:0 auto;background-color:#343a46;box-shadow:inset 0 0 3px 3px #2b303a}body,html{height:100%;width:100%;margin:0;padding:0;background-color:#2b303a}.lds-roller[data-v-d7e11832]{display:inline-block;position:relative;width:80px;height:80px}.lds-roller div[data-v-d7e11832]{-webkit-animation:lds-roller-data-v-d7e11832 1.2s cubic-bezier(.5,0,.5,1) infinite;animation:lds-roller-data-v-d7e11832 1.2s cubic-bezier(.5,0,.5,1) infinite;transform-origin:40px 40px}.lds-roller div[data-v-d7e11832]:after{content:" ";display:block;position:absolute;width:7px;height:7px;border-radius:50%;background:#fff;margin:-4px 0 0 -4px}.lds-roller div[data-v-d7e11832]:first-child{-webkit-animation-delay:-36ms;animation-delay:-36ms}.lds-roller div[data-v-d7e11832]:first-child:after{top:63px;left:63px}.lds-roller div[data-v-d7e11832]:nth-child(2){-webkit-animation-delay:-72ms;animation-delay:-72ms}.lds-roller div[data-v-d7e11832]:nth-child(2):after{top:68px;left:56px}.lds-roller div[data-v-d7e11832]:nth-child(3){-webkit-animation-delay:-.108s;animation-delay:-.108s}.lds-roller div[data-v-d7e11832]:nth-child(3):after{top:71px;left:48px}.lds-roller div[data-v-d7e11832]:nth-child(4){-webkit-animation-delay:-.144s;animation-delay:-.144s}.lds-roller div[data-v-d7e11832]:nth-child(4):after{top:72px;left:40px}.lds-roller div[data-v-d7e11832]:nth-child(5){-webkit-animation-delay:-.18s;animation-delay:-.18s}.lds-roller div[data-v-d7e11832]:nth-child(5):after{top:71px;left:32px}.lds-roller div[data-v-d7e11832]:nth-child(6){-webkit-animation-delay:-.216s;animation-delay:-.216s}.lds-roller div[data-v-d7e11832]:nth-child(6):after{top:68px;left:24px}.lds-roller div[data-v-d7e11832]:nth-child(7){-webkit-animation-delay:-.252s;animation-delay:-.252s}.lds-roller div[data-v-d7e11832]:nth-child(7):after{top:63px;left:17px}.lds-roller div[data-v-d7e11832]:nth-child(8){-webkit-animation-delay:-.288s;animation-delay:-.288s}.lds-roller div[data-v-d7e11832]:nth-child(8):after{top:56px;left:12px}@-webkit-keyframes lds-roller-data-v-d7e11832{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes lds-roller-data-v-d7e11832{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}#overseer-search[data-v-7ef10590]::-moz-placeholder{text-align:center}#overseer-search[data-v-7ef10590]:-ms-input-placeholder{text-align:center}#overseer-search[data-v-7ef10590]::placeholder{text-align:center}#overseer-search[data-v-7ef10590]{width:400px;height:40px;border-radius:5px;text-align:center;font-size:1rem;padding:.3rem .8rem;text-indent:0;outline:none;border:0 solid}#overseer-websocket[data-v-7ef10590]{height:40px;width:40px;border-radius:20px;position:absolute;left:19px;bottom:66px}.error[data-v-7ef10590]{margin-top:5px;color:#b30000}.proto[data-v-384ed2f1]{border-radius:4px;padding:0 2px;color:#0a282f;margin-left:5px}li[data-v-384ed2f1]{display:flex;margin:10px 43px;width:75px}li span[data-v-384ed2f1]{font-weight:700}ul[data-v-384ed2f1]{display:flex;-moz-column-count:3;column-count:3;flex-wrap:wrap;flex-direction:row;list-style-type:none;padding:0;margin:0}#scan-status[data-v-c5e5b3c6]{color:#eaece9;text-align:center;margin:0}#sub-status[data-v-c5e5b3c6]{text-align:center;width:200px;margin:-5px auto 10px auto;border-bottom:1px solid}h4[data-v-5434dc9e]{margin:10px 0;text-align:center}#overseer-scan[data-v-5e05b9e5]{text-align:left}#results[data-v-5e05b9e5]{width:700px;margin:150px auto 0 auto}#scan-button[data-v-5e05b9e5]{font-size:1em;background-color:#0e6a0e;padding:8px;border-radius:10px;float:right;font-weight:700;cursor:pointer;margin:8px}.compare-content[data-v-5e05b9e5]{width:70px;max-height:22px;padding:0 10px;background-color:#c9582c;border-radius:15px;transition:.5s;font-weight:700;margin:25px auto 0 auto;overflow:hidden;cursor:pointer} \ No newline at end of file +#overseer-websocket[data-v-7cd42864]{height:18px;width:18px;border-radius:8px;position:absolute;left:25px;top:20px;z-index:-1}#overseer-header[data-v-7cd42864]{background-color:#c9582c;width:100%;height:60px;position:fixed;top:0}#overseer-header a[data-v-7cd42864]{color:inherit}.scan-progress[data-v-24fabce4]{border:1px solid #000;border-radius:6px;overflow:hidden;position:relative;text-align:center;margin-bottom:5px}.scan-progress span[data-v-24fabce4]{position:absolute;font-size:.75em;right:48%;font-weight:900;top:-2px;color:#000}.scan-progress div[data-v-24fabce4]{height:12px;transition:1s;background-color:green;text-align:center;font-size:.6em;width:0}#overseer-notifications[data-v-455a59c1]{height:calc(100% - 60px);width:320px;position:fixed;transition:.5s;right:0;top:0;overflow:scroll;margin-top:60px;z-index:1}.overseer-notification[data-v-455a59c1]{transition:.5s;background-color:#e0e3de;border-radius:2px;text-align:start;padding:10px;margin:10px;cursor:pointer}#overseer-app{height:100%;width:100%;font-family:Avenir,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-align:center;color:#3a4040}#overseer-body{height:calc(100% - 60px);width:100%;margin-top:60px;overflow:scroll;position:absolute;color:#eaece9}#overseer-body-center{min-height:100%;width:1000px;margin:0 auto;background-color:#343a46;box-shadow:inset 0 0 3px 3px #2b303a}body,html{height:100%;width:100%;margin:0;padding:0;background-color:#2b303a}.lds-roller[data-v-d7e11832]{display:inline-block;position:relative;width:80px;height:80px}.lds-roller div[data-v-d7e11832]{-webkit-animation:lds-roller-data-v-d7e11832 1.2s cubic-bezier(.5,0,.5,1) infinite;animation:lds-roller-data-v-d7e11832 1.2s cubic-bezier(.5,0,.5,1) infinite;transform-origin:40px 40px}.lds-roller div[data-v-d7e11832]:after{content:" ";display:block;position:absolute;width:7px;height:7px;border-radius:50%;background:#fff;margin:-4px 0 0 -4px}.lds-roller div[data-v-d7e11832]:first-child{-webkit-animation-delay:-36ms;animation-delay:-36ms}.lds-roller div[data-v-d7e11832]:first-child:after{top:63px;left:63px}.lds-roller div[data-v-d7e11832]:nth-child(2){-webkit-animation-delay:-72ms;animation-delay:-72ms}.lds-roller div[data-v-d7e11832]:nth-child(2):after{top:68px;left:56px}.lds-roller div[data-v-d7e11832]:nth-child(3){-webkit-animation-delay:-.108s;animation-delay:-.108s}.lds-roller div[data-v-d7e11832]:nth-child(3):after{top:71px;left:48px}.lds-roller div[data-v-d7e11832]:nth-child(4){-webkit-animation-delay:-.144s;animation-delay:-.144s}.lds-roller div[data-v-d7e11832]:nth-child(4):after{top:72px;left:40px}.lds-roller div[data-v-d7e11832]:nth-child(5){-webkit-animation-delay:-.18s;animation-delay:-.18s}.lds-roller div[data-v-d7e11832]:nth-child(5):after{top:71px;left:32px}.lds-roller div[data-v-d7e11832]:nth-child(6){-webkit-animation-delay:-.216s;animation-delay:-.216s}.lds-roller div[data-v-d7e11832]:nth-child(6):after{top:68px;left:24px}.lds-roller div[data-v-d7e11832]:nth-child(7){-webkit-animation-delay:-.252s;animation-delay:-.252s}.lds-roller div[data-v-d7e11832]:nth-child(7):after{top:63px;left:17px}.lds-roller div[data-v-d7e11832]:nth-child(8){-webkit-animation-delay:-.288s;animation-delay:-.288s}.lds-roller div[data-v-d7e11832]:nth-child(8):after{top:56px;left:12px}@-webkit-keyframes lds-roller-data-v-d7e11832{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes lds-roller-data-v-d7e11832{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}#overseer-search[data-v-746378c8]::-moz-placeholder{text-align:center}#overseer-search[data-v-746378c8]:-ms-input-placeholder{text-align:center}#overseer-search[data-v-746378c8]::placeholder{text-align:center}#overseer-search[data-v-746378c8]{width:400px;height:40px;border-radius:5px;text-align:center;font-size:1rem;padding:.3rem .8rem;text-indent:0;outline:none;border:0 solid}#overseer-websocket[data-v-746378c8]{height:40px;width:40px;border-radius:20px;position:absolute;left:19px;bottom:66px}.error[data-v-746378c8]{margin-top:5px;color:#b30000}.proto[data-v-6e55647c]{border-radius:4px;padding:0 2px;color:#0a282f;margin:auto}li[data-v-6e55647c]{display:flex;margin:10px 43px;width:75px}li span[data-v-6e55647c]{font-weight:700}ul[data-v-6e55647c]{display:flex;-moz-column-count:3;column-count:3;flex-wrap:wrap;flex-direction:row;list-style-type:none;padding:0;margin:0}#scan-status[data-v-6e6e76c2]{color:#eaece9;text-align:center;margin:0}#sub-status[data-v-6e6e76c2]{text-align:center;width:190px;margin:-5px auto 10px auto;border-bottom:1px solid}h4[data-v-353c254e]{margin:10px 0;text-align:center}#overseer-scan[data-v-aa025a82]{text-align:left}#results[data-v-aa025a82]{width:700px;margin:150px auto 0 auto}#scan-button[data-v-aa025a82]{font-size:1em;background-color:#0e6a0e;padding:8px;border-radius:10px;float:right;font-weight:700;cursor:pointer;margin:8px}.compare-content[data-v-aa025a82]{width:70px;max-height:22px;padding:0 10px;background-color:#c9582c;border-radius:15px;transition:.5s;font-weight:700;margin:25px auto 0 auto;overflow:hidden;cursor:pointer} \ No newline at end of file diff --git a/src/overseer/static/js/app.e5e6eeee.js b/src/overseer/static/js/app.e5e6eeee.js deleted file mode 100644 index 6feafca..0000000 --- a/src/overseer/static/js/app.e5e6eeee.js +++ /dev/null @@ -1,2 +0,0 @@ -(function(t){function e(e){for(var r,i,s=e[0],c=e[1],u=e[2],d=0,f=[];d-1:t.hideErrors},on:{change:function(e){var n=t.hideErrors,r=e.target,o=!!r.checked;if(Array.isArray(n)){var a=null,i=t._i(n,a);r.checked?i<0&&(t.hideErrors=n.concat([a])):i>-1&&(t.hideErrors=n.slice(0,i).concat(n.slice(i+1)))}else t.hideErrors=o}}}),n("label",{staticStyle:{"font-size":"1.3em"},attrs:{for:"hide-errors"}},[t._v(" Hide Errors")])]),n("div",{attrs:{id:"results"}},t._l(t.getRequestedScans,(function(e,r){return n("div",{key:e.id},[n("ScanResult",{staticStyle:{padding:"20px","margin-top":"25px","border-radius":"5px","box-shadow":"0px 0px 10px #e0e3de"},attrs:{scan:e,error:t.error,loading:t.loading}}),t.getRequestedScans.length!=r+1?n("div",{ref:"compareContainer",refInFor:!0,staticClass:"compare-content",style:t.deriveCompareStyle(e),on:{click:function(n){return t.toggleCompare(e)}}},[t.openCompare.includes(e)?n("ScanCompare",{attrs:{newScan:e,oldScan:t.getRequestedScans[r+1]}}):n("h4",{staticStyle:{margin:"0px","text-align":"center"}},[t._v("Compare")])],1):t._e()],1)})),0)],1)},W=[],q=(n("4de4"),n("caad"),n("2532"),function(){var t=this,e=t.$createElement,n=t._self._c||e;return"FAILED"==t.scan.status||t.error?n("div",[n("h2",{attrs:{id:"scan-status"}},[t._v("Error")]),n("h5",{staticStyle:{color:"#B30000","border-bottom":"unset"},attrs:{id:"sub-status"}},[t._v(t._s(t.error||t.scan.error))])]):"LOADING"==t.scan.status||t.loading?n("div",[n("Loading",{staticStyle:{margin:"0px auto",display:"block"}}),n("h2",{attrs:{id:"scan-status"}},[t._v("Loading...")])],1):"NO_RESULTS"==t.scan.status?n("div",[n("h2",{attrs:{id:"scan-status"}},[t._v("No Scans Found")])]):n("div",[n("router-link",{staticStyle:{"text-decoration":"none"},attrs:{to:"/scan/"+t.scan.target+"/"+t.scan.id}},["IN_PROGRESS"==t.scan.status?n("h2",{attrs:{id:"scan-status"}},[t._v("Scanning in Progress")]):n("h2",{attrs:{id:"scan-status"}},[t._v("Scan Result")])]),n("h5",{attrs:{id:"sub-status"}},[t._v(t._s(t.normalizeDate(t.scan.created_at)))]),"IN_PROGRESS"==t.scan.status?n("div",[n("ScanProgress",{attrs:{title:"TCP",percentage:t.scan.tcp_progress}}),n("ScanProgress",{attrs:{title:"UDP",percentage:t.scan.udp_progress}}),n("ScanProgress",{attrs:{title:"Total",percentage:t.scan.total_progress}})],1):t._e(),n("PortList",{attrs:{ports:t.scan.results}})],1)}),K=[],V=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("ul",t._l(t.ports,(function(e){return n("li",{key:e,style:t.getItemWidth()},[n("span",[t._v(t._s(e.split(" ")[0]))]),n("span",{staticClass:"proto",style:t.dynamicProtocolStyle(e.split(" ")[1])},[t._v(t._s(e.split(" ")[1]))])])})),0)},J=[],Z={name:"PortList",props:["ports","itemWidth"],methods:{dynamicProtocolStyle:function(t){return{backgroundColor:"TCP"==t?"#E7E6FF":"#D5EFFF"}},getItemWidth:function(){return{width:this.itemWidth||"75px"}}}},Q=Z,X=(n("73da"),Object(l["a"])(Q,V,J,!1,null,"384ed2f1",null)),Y=X.exports,tt={name:"ScanResult",props:["scan","error","loading"],components:{Loading:H,PortList:Y,ScanProgress:y},methods:{normalizeDate:function(t){var e=new Date(t);return e.toDateString()+" "+e.toLocaleTimeString()}}},et=tt,nt=(n("c596"),Object(l["a"])(et,q,K,!1,null,"c5e5b3c6",null)),rt=nt.exports,ot=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.getPortDiff(t.newScan,t.oldScan).length+t.getPortDiff(t.oldScan,t.newScan).length==0?n("div",[n("h4",[t._v("No Differences Found")])]):t._e(),t.getPortDiff(t.newScan,t.oldScan).length>0?n("div",[n("h4",{staticStyle:{"text-decoration":"underline"}},[t._v("New Ports")]),n("PortList",{attrs:{ports:t.getPortDiff(t.newScan,t.oldScan),itemWidth:"70px"}})],1):t._e(),t.getPortDiff(t.oldScan,t.newScan).length>0?n("div",[n("h4",{staticStyle:{"text-decoration":"underline"}},[t._v("Removed Ports")]),n("PortList",{attrs:{ports:t.getPortDiff(t.oldScan,t.newScan),itemWidth:"70px"}})],1):t._e()])},at=[],it={name:"ScanCompare",props:["newScan","oldScan"],components:{PortList:Y},methods:{getPortDiff:function(t,e){return t.results.filter((function(t){return!e.results.includes(t)}))}}},st=it,ct=(n("b037"),Object(l["a"])(st,ot,at,!1,null,"5434dc9e",null)),ut=ct.exports,lt={name:"Scan",components:{ScanResult:rt,ScanCompare:ut},data:function(){return{error:null,loading:!1,hideErrors:!0,openCompare:[]}},computed:{getRequestedScans:function(){var t,e=this,n=this.$store.state.scan_cache,r=this.$route.params.target,o=this.$route.params.scan_id;return n[r]?(t=o?n[r].filter((function(t){return t.id==o})):n[r].filter((function(t){return!e.hideErrors||"FAILED"!=t.status})),t.length?t:[{status:"NO_RESULTS"}]):[{status:"LOADING"}]}},methods:{deriveCompareStyle:function(t){return this.openCompare.includes(t)?{width:"90%",padding:"10px","max-height":"10000px"}:{}},toggleCompare:function(t){this.openCompare.includes(t)?this.openCompare=this.openCompare.filter((function(e){return e!==t})):this.openCompare.push(t)},performScan:function(){var t=this;this.error=null,this.loading=!0,this.$store.dispatch("performScan",this.$route.params.target).then((function(e){if(e.error)throw new Error(e.error);t.$router.push({path:"/scan/".concat(t.$route.params.target)})})).catch((function(e){t.error=e})).finally((function(){t.loading=!1}))}},mounted:function(){this.$store.dispatch("getScansByTarget",this.$route.params.target)}},dt=lt,ft=(n("2d59"),Object(l["a"])(dt,U,W,!1,null,"5e05b9e5",null)),pt=ft.exports,ht=function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)},vt=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticStyle:{"padding-top":"300px"}},[n("h1",[t._v("Error")]),n("h4",[t._v("404 Page Not Found")])])}],gt={},mt=Object(l["a"])(gt,ht,vt,!1,null,null,null),_t=mt.exports,St=function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)},yt=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticStyle:{"padding-top":"300px"}},[n("h1",[t._v("Error")]),n("h4",[t._v("404 Page Not Found")])])}],bt={},xt=Object(l["a"])(bt,St,yt,!1,null,null,null),Et=xt.exports;r["a"].use(A["a"]);var wt=[{path:"/",name:"Home",component:G},{path:"/scan/:target/:scan_id",name:"Scan",component:pt},{path:"/scan/:target",name:"Scan",component:pt},{path:"/search/:target",name:"Search",component:_t},{path:"*",name:"NotFound",component:Et}],Ct=new A["a"]({mode:"history",base:"/",routes:wt}),Ot=Ct,Pt=n("5132"),$t=n.n(Pt),kt=n("8e27"),Nt=n.n(kt);r["a"].use(new $t.a({debug:!0,connection:Nt()({path:"/api/v1/socket.io"}),vuex:{store:T,actionPrefix:"SOCKET_",mutationPrefix:"SOCKET_"}})),r["a"].config.productionTip=!1,new r["a"]({render:function(t){return t($)},router:Ot,store:T}).$mount("#app")},"5c48":function(t,e,n){},6103:function(t,e,n){"use strict";n("88f9")},"6cde":function(t,e,n){},"73c0":function(t,e,n){},"73da":function(t,e,n){"use strict";n("ca08")},"85ec":function(t,e,n){},"88f9":function(t,e,n){},"99d0":function(t,e,n){"use strict";n("177e")},b037:function(t,e,n){"use strict";n("6cde")},b535:function(t,e,n){},c596:function(t,e,n){"use strict";n("2ce7")},ca08:function(t,e,n){},e6b7:function(t,e,n){"use strict";n("73c0")}}); -//# sourceMappingURL=app.e5e6eeee.js.map \ No newline at end of file diff --git a/src/overseer/static/js/app.e5e6eeee.js.map b/src/overseer/static/js/app.e5e6eeee.js.map deleted file mode 100644 index abd0fc1..0000000 --- a/src/overseer/static/js/app.e5e6eeee.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/App.vue?7e02","webpack:///./src/components/ScanProgress.vue?63de","webpack:///./src/views/Scan.vue?1f46","webpack:///./src/components/OverseerNotifications.vue?6be1","webpack:///./src/App.vue?89b6","webpack:///./src/components/OverseerHeader.vue?1e7d","webpack:///src/components/OverseerHeader.vue","webpack:///./src/components/OverseerHeader.vue?e94e","webpack:///./src/components/OverseerHeader.vue?2035","webpack:///./src/components/OverseerNotifications.vue?e8fb","webpack:///./src/components/ScanProgress.vue?0a1d","webpack:///src/components/ScanProgress.vue","webpack:///./src/components/ScanProgress.vue?a200","webpack:///./src/components/ScanProgress.vue?ff27","webpack:///src/components/OverseerNotifications.vue","webpack:///./src/components/OverseerNotifications.vue?328e","webpack:///./src/components/OverseerNotifications.vue?1bc5","webpack:///src/App.vue","webpack:///./src/App.vue?1160","webpack:///./src/App.vue?bff9","webpack:///./src/store/index.js","webpack:///./src/views/Home.vue?7872","webpack:///./src/components/Loading.vue?0b4c","webpack:///./src/components/Loading.vue?2b2d","webpack:///src/views/Home.vue","webpack:///./src/views/Home.vue?493c","webpack:///./src/views/Home.vue?c853","webpack:///./src/views/Scan.vue?2dd1","webpack:///./src/components/ScanResult.vue?3cf5","webpack:///./src/components/PortList.vue?6a86","webpack:///src/components/PortList.vue","webpack:///./src/components/PortList.vue?b882","webpack:///./src/components/PortList.vue?6179","webpack:///src/components/ScanResult.vue","webpack:///./src/components/ScanResult.vue?a958","webpack:///./src/components/ScanResult.vue?36af","webpack:///./src/components/ScanCompare.vue?6ff8","webpack:///src/components/ScanCompare.vue","webpack:///./src/components/ScanCompare.vue?4749","webpack:///./src/components/ScanCompare.vue?2f1c","webpack:///src/views/Scan.vue","webpack:///./src/views/Scan.vue?b9b9","webpack:///./src/views/Scan.vue?cd3e","webpack:///./src/views/Search.vue?75b7","webpack:///./src/views/Search.vue","webpack:///./src/views/NotFound.vue?1caf","webpack:///./src/views/NotFound.vue","webpack:///./src/router/index.js","webpack:///./src/main.js","webpack:///./src/views/Home.vue?9d95","webpack:///./src/components/PortList.vue?2b81","webpack:///./src/components/OverseerHeader.vue?5621","webpack:///./src/components/ScanCompare.vue?bb3d","webpack:///./src/components/ScanResult.vue?e7e1","webpack:///./src/components/Loading.vue?222a"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","exports","module","l","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","p","jsonpArray","window","oldJsonpFunction","slice","_vm","this","_h","$createElement","_c","_self","attrs","staticRenderFns","$store","state","staticStyle","_e","ws_connected","_v","on","$event","toggleNotifications","_s","notificationCount","component","style","deriveNotificationCSS","showNotifications","_l","scan","id","staticClass","navigateToScan","target","status","total_progress","title","scanProgress","percentage","components","OverseerHeader","OverseerNotifications","Vue","use","Vuex","Store","notifications","scan_cache","getters","getScansByTarget","actions","commit","fetch","then","resp","json","performScan","method","headers","body","JSON","stringify","mutations","set","matchedItem","find","item","keys","forEach","unshift","type","indexOf","_k","keyCode","onSubmit","error","_m","script","$route","params","getRequestedScans","scan_id","directives","rawName","expression","domProps","Array","isArray","hideErrors","_i","$$a","$$el","$$c","checked","$$v","$$i","concat","index","loading","ref","refInFor","deriveCompareStyle","toggleCompare","openCompare","includes","normalizeDate","created_at","tcp_progress","udp_progress","results","port","getItemWidth","split","dynamicProtocolStyle","getPortDiff","newScan","oldScan","VueRouter","routes","path","Home","Scan","Search","NotFound","router","base","VueSocketIO","debug","connection","socketio","vuex","store","actionPrefix","mutationPrefix","config","productionTip","render","h","App","$mount"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,EAAgBX,GAAW,EAE5B,IAAID,KAAYG,EACZK,OAAOC,UAAUC,eAAeC,KAAKR,EAAaH,KACpDc,EAAQd,GAAYG,EAAYH,IAG/Be,GAAqBA,EAAoBhB,GAE5C,MAAMO,EAASC,OACdD,EAASU,OAATV,GAOD,OAHAW,EAAgBJ,KAAKK,MAAMD,EAAiBb,GAAkB,IAGvDe,IAER,SAASA,IAER,IADA,IAAIC,EACIf,EAAI,EAAGA,EAAIY,EAAgBV,OAAQF,IAAK,CAG/C,IAFA,IAAIgB,EAAiBJ,EAAgBZ,GACjCiB,GAAY,EACRC,EAAI,EAAGA,EAAIF,EAAed,OAAQgB,IAAK,CAC9C,IAAIC,EAAQH,EAAeE,GACG,IAA3BX,EAAgBY,KAAcF,GAAY,GAE3CA,IACFL,EAAgBQ,OAAOpB,IAAK,GAC5Be,EAASM,EAAoBA,EAAoBC,EAAIN,EA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AITC,GAAS,IAAIP,OAAU,CAC3B9H,KAAM,UACNsI,KAAM,IACNP,YAGaM,M,gDCpCflF,OAAIC,IAAI,IAAImF,KAAY,CACpBC,OAAO,EACPC,WAAYC,KAAS,CAAEV,KAAM,sBAC7BW,KAAM,CACFC,QACAC,aAAc,UACdC,eAAgB,cAIxB3F,OAAI4F,OAAOC,eAAgB,EAE3B,IAAI7F,OAAI,CACJ8F,OAAQ,SAAAC,GAAC,OAAIA,EAAEC,IACfd,UACAO,UACDQ,OAAO,S,2DCvBV,W,sFCAA,W,sFCAA,W,kCCAA,W,yDCAA,W,yDCAA","file":"js/app.e5e6eeee.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"app\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/static/\";\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","export * from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&lang=css&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ScanProgress.vue?vue&type=style&index=0&id=2b9f4f85&scoped=true&lang=css&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Scan.vue?vue&type=style&index=0&id=5e05b9e5&scoped=true&lang=css&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OverseerNotifications.vue?vue&type=style&index=0&id=7218f0ce&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"overseer-app\"}},[_c('OverseerHeader'),_c('OverseerNotifications'),_c('div',{attrs:{\"id\":\"overseer-body\"}},[_c('div',{attrs:{\"id\":\"overseer-body-center\"}},[_c('router-view')],1)])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"overseer-header\"}},[_c('router-link',{attrs:{\"to\":\"/\"}},[(this.$store.state.ws_connected)?_c('div',{staticStyle:{\"background-color\":\"#0E6A0E\"},attrs:{\"id\":\"overseer-websocket\"}}):_vm._e(),(!this.$store.state.ws_connected)?_c('div',{staticStyle:{\"background-color\":\"#B30000\"},attrs:{\"id\":\"overseer-websocket\"}}):_vm._e(),_c('div',{staticStyle:{\"float\":\"left\",\"margin\":\"8px 20px\",\"font-weight\":\"700\",\"font-size\":\"2em\"}},[_vm._v(\"Overseer\")])]),_c('div',{staticStyle:{\"float\":\"right\",\"margin\":\"10px 20px\",\"cursor\":\"pointer\"},on:{\"click\":function($event){return _vm.toggleNotifications()}}},[_c('p',{staticStyle:{\"color\":\"white\",\"position\":\"absolute\",\"font-weight\":\"700\",\"width\":\"35px\",\"height\":\"35px\",\"margin\":\"9px 0px\",\"font-size\":\".8em\"}},[_vm._v(\" \"+_vm._s(_vm.notificationCount)+\" \")]),_c('svg',{staticStyle:{\"width\":\"35px\",\"height\":\"35px\"},attrs:{\"viewBox\":\"0 0 24 24\"}},[_c('path',{attrs:{\"fill\":\"currentColor\",\"d\":\"M21,19V20H3V19L5,17V11C5,7.9 7.03,5.17 10,4.29C10,4.19 10,4.1 10,4A2,2 0 0,1 12,2A2,2 0 0,1 14,4C14,4.1 14,4.19 14,4.29C16.97,5.17 19,7.9 19,11V17L21,19M14,21A2,2 0 0,1 12,23A2,2 0 0,1 10,21M19.75,3.19L18.33,4.61C20.04,6.3 21,8.6 21,11H23C23,8.07 21.84,5.25 19.75,3.19M1,11H3C3,8.6 3.96,6.3 5.67,4.61L4.25,3.19C2.16,5.25 1,8.07 1,11Z\"}})])])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OverseerHeader.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OverseerHeader.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./OverseerHeader.vue?vue&type=template&id=1f35cde8&scoped=true&\"\nimport script from \"./OverseerHeader.vue?vue&type=script&lang=js&\"\nexport * from \"./OverseerHeader.vue?vue&type=script&lang=js&\"\nimport style0 from \"./OverseerHeader.vue?vue&type=style&index=0&id=1f35cde8&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"1f35cde8\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{style:(_vm.deriveNotificationCSS(_vm.showNotifications)),attrs:{\"id\":\"overseer-notifications\"}},_vm._l((_vm.activeScans),function(scan){return _c('div',{key:scan.id,staticClass:\"overseer-notification\",on:{\"click\":function($event){return _vm.navigateToScan(scan)}}},[_c('div',{staticStyle:{\"float\":\"left\",\"width\":\"100%\",\"margin\":\"5px 0px\"}},[_c('b',{staticStyle:{\"float\":\"left\"}},[_vm._v(_vm._s(scan.target))]),_c('b',{staticStyle:{\"float\":\"right\"}},[_vm._v(_vm._s(scan.status))])]),_c('ScanProgress',{staticStyle:{\"margin-top\":\"5px\"},attrs:{\"percentage\":scan.status =='COMPLETE' ? 100 : scan.total_progress}})],1)}),0)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"scan-progress\"},[_c('span',{staticStyle:{\"right\":\"46.5%\"}},[_vm._v(_vm._s(_vm.title))]),_c('div',{style:(_vm.scanProgress(_vm.percentage))})])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ScanProgress.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ScanProgress.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ScanProgress.vue?vue&type=template&id=2b9f4f85&scoped=true&\"\nimport script from \"./ScanProgress.vue?vue&type=script&lang=js&\"\nexport * from \"./ScanProgress.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ScanProgress.vue?vue&type=style&index=0&id=2b9f4f85&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2b9f4f85\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OverseerNotifications.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OverseerNotifications.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./OverseerNotifications.vue?vue&type=template&id=7218f0ce&scoped=true&\"\nimport script from \"./OverseerNotifications.vue?vue&type=script&lang=js&\"\nexport * from \"./OverseerNotifications.vue?vue&type=script&lang=js&\"\nimport style0 from \"./OverseerNotifications.vue?vue&type=style&index=0&id=7218f0ce&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7218f0ce\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n","import mod from \"-!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=a26f032c&\"\nimport script from \"./App.vue?vue&type=script&lang=js&\"\nexport * from \"./App.vue?vue&type=script&lang=js&\"\nimport style0 from \"./App.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import Vue from 'vue'\nimport Vuex from 'vuex'\n\nVue.use(Vuex)\n\nexport default new Vuex.Store({\n state: {\n ws_connected: false,\n notifications: [],\n scan_cache: {}\n },\n getters: {\n getScansByTarget(state, target){\n return state.scan_cache[target]\n }\n },\n actions: {\n getScansByTarget({ commit }, target){\n return fetch('/api/v1/scans/' + target)\n .then(resp => resp.json())\n .then(json => {\n commit(\"SET_TARGET_SCANS\", { target, data: json.data });\n });\n },\n performScan({ commit }, target) {\n return fetch('/api/v1/scans', {\n method: 'POST',\n headers: {\n 'Content-Type': 'application/json'\n },\n body: JSON.stringify({ \"target\": target })\n }).then(async resp => {\n let scan = await resp.json()\n commit(\"UPDATE_SCAN\", { scan });\n return scan;\n });\n }\n },\n mutations: {\n \"SET_TARGET_SCANS\"(state, { target, data }) {\n Vue.set(state.scan_cache, target, data)\n },\n \"UPDATE_SCAN\"(state, { scan }) {\n let target = scan.target;\n if (!state.scan_cache[target]) {\n Vue.set(state.scan_cache, target, [scan])\n } else {\n let matchedItem = state.scan_cache[target]\n .find(item => item.id == scan.id);\n\n if (matchedItem)\n Object.keys(scan).forEach(key => {\n Vue.set(matchedItem, key, scan[key])\n });\n else\n state.scan_cache[target].unshift(scan);\n }\n },\n \"SOCKET_message\"(state, scan) {\n // Update progress queue\n let matchedItem = state.notifications.find(item => item.id == scan.id);\n if (matchedItem)\n Object.keys(scan).forEach(key => {\n Vue.set(matchedItem, key, scan[key])\n });\n else\n state.notifications.push(scan);\n\n // Update scan cache\n this.commit(\"UPDATE_SCAN\", { scan });\n },\n \"SOCKET_connect\"(state) {\n state.ws_connected = true\n },\n \"SOCKET_disconnect\"(state) {\n state.ws_connected = false\n },\n },\n})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticStyle:{\"padding\":\"250px 0px 40px\",\"position\":\"relative\",\"width\":\"300px\",\"margin\":\"0px auto\"}},[(this.$store.state.ws_connected)?_c('div',{staticStyle:{\"background-color\":\"#0E6A0E\"},attrs:{\"id\":\"overseer-websocket\"}}):_vm._e(),(!this.$store.state.ws_connected)?_c('div',{staticStyle:{\"background-color\":\"#B30000\"},attrs:{\"id\":\"overseer-websocket\"}}):_vm._e(),_c('div',{staticStyle:{\"font-weight\":\"700\",\"font-size\":\"4em\",\"position\":\"relative\"}},[_vm._v(\"Overseer\")])]),_c('input',{attrs:{\"id\":\"overseer-search\",\"placeholder\":\"IP Address / Hostname\",\"type\":\"text\"},on:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.onSubmit($event)}}}),_c('br'),(_vm.error != null)?_c('h5',{staticClass:\"error\"},[_vm._v(_vm._s(_vm.error))]):_vm._e(),(_vm.loading)?_c('Loading',{staticStyle:{\"margin-top\":\"50px\"}}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _vm._m(0)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"lds-roller\"},[_c('div'),_c('div'),_c('div'),_c('div'),_c('div'),_c('div'),_c('div'),_c('div')])}]\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./Loading.vue?vue&type=template&id=d7e11832&scoped=true&\"\nvar script = {}\nimport style0 from \"./Loading.vue?vue&type=style&index=0&id=d7e11832&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"d7e11832\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Home.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Home.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Home.vue?vue&type=template&id=7ef10590&scoped=true&\"\nimport script from \"./Home.vue?vue&type=script&lang=js&\"\nexport * from \"./Home.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Home.vue?vue&type=style&index=0&id=7ef10590&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7ef10590\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticStyle:{\"padding\":\"50px\"},attrs:{\"id\":\"overseer-scan\"}},[_c('router-link',{attrs:{\"to\":(\"/scan/\" + (_vm.$route.params.target))}},[_c('h1',{staticStyle:{\"font-size\":\"2.5em\",\"margin\":\"0px\",\"float\":\"left\",\"color\":\"#EAECE9\"}},[_vm._v(_vm._s(_vm.$route.params.target))])]),(_vm.getRequestedScans[0].status == 'COMPLETE')?_c('span',{attrs:{\"id\":\"scan-button\"},on:{\"click\":function($event){return _vm.performScan()}}},[_vm._v(\"Scan Again\")]):_vm._e(),(!_vm.$route.params.scan_id)?_c('div',{staticStyle:{\"float\":\"right\",\"padding\":\"13px\"}},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.hideErrors),expression:\"hideErrors\"}],staticStyle:{\"height\":\"19px\",\"width\":\"19px\"},attrs:{\"id\":\"hide-errors\",\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(_vm.hideErrors)?_vm._i(_vm.hideErrors,null)>-1:(_vm.hideErrors)},on:{\"change\":function($event){var $$a=_vm.hideErrors,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.hideErrors=$$a.concat([$$v]))}else{$$i>-1&&(_vm.hideErrors=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.hideErrors=$$c}}}}),_c('label',{staticStyle:{\"font-size\":\"1.3em\"},attrs:{\"for\":\"hide-errors\"}},[_vm._v(\" Hide Errors\")])]):_vm._e(),_c('div',{attrs:{\"id\":\"results\"}},_vm._l((_vm.getRequestedScans),function(scan,index){return _c('div',{key:scan.id},[_c('ScanResult',{staticStyle:{\"padding\":\"20px\",\"margin-top\":\"25px\",\"border-radius\":\"5px\",\"box-shadow\":\"0px 0px 10px #e0e3de\"},attrs:{\"scan\":scan,\"error\":_vm.error,\"loading\":_vm.loading}}),(_vm.getRequestedScans.length != index + 1)?_c('div',{ref:\"compareContainer\",refInFor:true,staticClass:\"compare-content\",style:(_vm.deriveCompareStyle(scan)),on:{\"click\":function($event){return _vm.toggleCompare(scan)}}},[(!_vm.openCompare.includes(scan))?_c('h4',{staticStyle:{\"margin\":\"0px\",\"text-align\":\"center\"}},[_vm._v(\"Compare\")]):_c('ScanCompare',{attrs:{\"newScan\":scan,\"oldScan\":_vm.getRequestedScans[index + 1]}})],1):_vm._e()],1)}),0)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.scan.status == 'FAILED' || _vm.error)?_c('div',[_c('h2',{attrs:{\"id\":\"scan-status\"}},[_vm._v(\"Error\")]),_c('h5',{staticStyle:{\"color\":\"#B30000\",\"border-bottom\":\"unset\"},attrs:{\"id\":\"sub-status\"}},[_vm._v(_vm._s(_vm.error || _vm.scan.error))])]):(_vm.scan.status == 'LOADING' || _vm.loading)?_c('div',[_c('Loading',{staticStyle:{\"margin\":\"0px auto\",\"display\":\"block\"}}),_c('h2',{attrs:{\"id\":\"scan-status\"}},[_vm._v(\"Loading...\")])],1):(_vm.scan.status == 'NO_RESULTS')?_c('div',[_c('h2',{attrs:{\"id\":\"scan-status\"}},[_vm._v(\"No Scans Found\")])]):_c('div',[_c('router-link',{staticStyle:{\"text-decoration\":\"none\"},attrs:{\"to\":(\"/scan/\" + (_vm.scan.target) + \"/\" + (_vm.scan.id))}},[(_vm.scan.status == 'IN_PROGRESS')?_c('h2',{attrs:{\"id\":\"scan-status\"}},[_vm._v(\"Scanning in Progress\")]):_c('h2',{attrs:{\"id\":\"scan-status\"}},[_vm._v(\"Scan Result\")])]),_c('h5',{attrs:{\"id\":\"sub-status\"}},[_vm._v(_vm._s(_vm.normalizeDate(_vm.scan.created_at)))]),(_vm.scan.status == 'IN_PROGRESS')?_c('div',[_c('ScanProgress',{attrs:{\"title\":\"TCP\",\"percentage\":_vm.scan.tcp_progress}}),_c('ScanProgress',{attrs:{\"title\":\"UDP\",\"percentage\":_vm.scan.udp_progress}}),_c('ScanProgress',{attrs:{\"title\":\"Total\",\"percentage\":_vm.scan.total_progress}})],1):_vm._e(),_c('PortList',{attrs:{\"ports\":_vm.scan.results}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ul',_vm._l((_vm.ports),function(port){return _c('li',{key:port,style:(_vm.getItemWidth())},[_c('span',[_vm._v(_vm._s(port.split(\" \")[0]))]),_c('span',{staticClass:\"proto\",style:(_vm.dynamicProtocolStyle(port.split(' ')[1]))},[_vm._v(_vm._s(port.split(\" \")[1]))])])}),0)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PortList.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PortList.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./PortList.vue?vue&type=template&id=384ed2f1&scoped=true&\"\nimport script from \"./PortList.vue?vue&type=script&lang=js&\"\nexport * from \"./PortList.vue?vue&type=script&lang=js&\"\nimport style0 from \"./PortList.vue?vue&type=style&index=0&id=384ed2f1&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"384ed2f1\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ScanResult.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ScanResult.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ScanResult.vue?vue&type=template&id=c5e5b3c6&scoped=true&\"\nimport script from \"./ScanResult.vue?vue&type=script&lang=js&\"\nexport * from \"./ScanResult.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ScanResult.vue?vue&type=style&index=0&id=c5e5b3c6&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"c5e5b3c6\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.getPortDiff(_vm.newScan, _vm.oldScan).length + _vm.getPortDiff(_vm.oldScan, _vm.newScan).length == 0)?_c('div',[_c('h4',[_vm._v(\"No Differences Found\")])]):_vm._e(),(_vm.getPortDiff(_vm.newScan, _vm.oldScan).length > 0)?_c('div',[_c('h4',{staticStyle:{\"text-decoration\":\"underline\"}},[_vm._v(\"New Ports\")]),_c('PortList',{attrs:{\"ports\":_vm.getPortDiff(_vm.newScan, _vm.oldScan),\"itemWidth\":\"70px\"}})],1):_vm._e(),(_vm.getPortDiff(_vm.oldScan, _vm.newScan).length > 0)?_c('div',[_c('h4',{staticStyle:{\"text-decoration\":\"underline\"}},[_vm._v(\"Removed Ports\")]),_c('PortList',{attrs:{\"ports\":_vm.getPortDiff(_vm.oldScan, _vm.newScan),\"itemWidth\":\"70px\"}})],1):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ScanCompare.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ScanCompare.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ScanCompare.vue?vue&type=template&id=5434dc9e&scoped=true&\"\nimport script from \"./ScanCompare.vue?vue&type=script&lang=js&\"\nexport * from \"./ScanCompare.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ScanCompare.vue?vue&type=style&index=0&id=5434dc9e&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5434dc9e\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Scan.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Scan.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Scan.vue?vue&type=template&id=5e05b9e5&scoped=true&\"\nimport script from \"./Scan.vue?vue&type=script&lang=js&\"\nexport * from \"./Scan.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Scan.vue?vue&type=style&index=0&id=5e05b9e5&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5e05b9e5\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _vm._m(0)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticStyle:{\"padding-top\":\"300px\"}},[_c('h1',[_vm._v(\"Error\")]),_c('h4',[_vm._v(\"404 Page Not Found\")])])}]\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./Search.vue?vue&type=template&id=4f6eef93&\"\nvar script = {}\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _vm._m(0)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticStyle:{\"padding-top\":\"300px\"}},[_c('h1',[_vm._v(\"Error\")]),_c('h4',[_vm._v(\"404 Page Not Found\")])])}]\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./NotFound.vue?vue&type=template&id=eb482a4c&\"\nvar script = {}\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import Vue from 'vue'\nimport VueRouter from 'vue-router'\nimport Home from '../views/Home.vue'\nimport Scan from '../views/Scan.vue'\nimport Search from '../views/Search.vue'\nimport NotFound from '../views/NotFound.vue'\n\nVue.use(VueRouter)\n\nconst routes = [\n {\n path: '/',\n name: 'Home',\n component: Home\n },\n {\n path: '/scan/:target/:scan_id',\n name: 'Scan',\n component: Scan\n },\n {\n path: '/scan/:target',\n name: 'Scan',\n component: Scan\n },\n {\n path: '/search/:target',\n name: 'Search',\n component: Search\n },\n {\n path: '*',\n name: 'NotFound',\n component: NotFound\n }\n]\n\nconst router = new VueRouter({\n mode: 'history',\n base: '/',\n routes\n})\n\nexport default router\n","import Vue from 'vue';\nimport App from './App.vue';\nimport store from './store';\nimport router from './router';\nimport VueSocketIO from 'vue-socket.io';\nimport socketio from 'socket.io-client';\n\nVue.use(new VueSocketIO({\n debug: true,\n connection: socketio({ path: \"/api/v1/socket.io\" }),\n vuex: {\n store,\n actionPrefix: 'SOCKET_',\n mutationPrefix: 'SOCKET_'\n },\n}))\n\nVue.config.productionTip = false\n\nnew Vue({\n render: h => h(App),\n router,\n store\n}).$mount('#app')\n","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Home.vue?vue&type=style&index=0&id=7ef10590&scoped=true&lang=css&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PortList.vue?vue&type=style&index=0&id=384ed2f1&scoped=true&lang=css&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OverseerHeader.vue?vue&type=style&index=0&id=1f35cde8&scoped=true&lang=css&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ScanCompare.vue?vue&type=style&index=0&id=5434dc9e&scoped=true&lang=css&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ScanResult.vue?vue&type=style&index=0&id=c5e5b3c6&scoped=true&lang=css&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Loading.vue?vue&type=style&index=0&id=d7e11832&scoped=true&lang=css&\""],"sourceRoot":""} \ No newline at end of file diff --git a/src/overseer/static/js/app.f1a42415.js b/src/overseer/static/js/app.f1a42415.js new file mode 100644 index 0000000..35ac486 --- /dev/null +++ b/src/overseer/static/js/app.f1a42415.js @@ -0,0 +1,2 @@ +(function(t){function e(e){for(var r,i,s=e[0],c=e[1],u=e[2],d=0,f=[];d-1:t.hideErrors},on:{change:function(e){var n=t.hideErrors,r=e.target,o=!!r.checked;if(Array.isArray(n)){var a=null,i=t._i(n,a);r.checked?i<0&&(t.hideErrors=n.concat([a])):i>-1&&(t.hideErrors=n.slice(0,i).concat(n.slice(i+1)))}else t.hideErrors=o}}}),n("label",{staticStyle:{"font-size":"1.3em"},attrs:{for:"hide-errors"}},[t._v(" Hide Errors")])]),n("div",{attrs:{id:"results"}},t._l(t.getRequestedScans,(function(e,r){return n("div",{key:e.id},[n("ScanResult",{staticStyle:{padding:"20px","margin-top":"25px","border-radius":"5px","box-shadow":"0px 0px 10px black"},attrs:{scan:e,error:t.error,loading:t.loading}}),t.getRequestedScans.length!=r+1?n("div",{ref:"compareContainer",refInFor:!0,staticClass:"compare-content",style:t.deriveCompareStyle(e),on:{click:function(n){return t.toggleCompare(e)}}},[t.openCompare.includes(e)?n("ScanCompare",{attrs:{newScan:e,oldScan:t.getRequestedScans[r+1]}}):n("h4",{staticStyle:{margin:"0px","text-align":"center"}},[t._v("Compare")])],1):t._e()],1)})),0)],1)},W=[],q=(n("4de4"),n("caad"),n("2532"),function(){var t=this,e=t.$createElement,n=t._self._c||e;return"FAILED"==t.scan.status||t.error?n("div",[n("h2",{attrs:{id:"scan-status"}},[t._v("Error")]),n("h5",{staticStyle:{color:"#B30000","border-bottom":"unset"},attrs:{id:"sub-status"}},[t._v(t._s(t.error||t.scan.error))])]):"LOADING"==t.scan.status||t.loading?n("div",[n("Loading",{staticStyle:{margin:"0px auto",display:"block"}}),n("h2",{attrs:{id:"scan-status"}},[t._v("Loading...")])],1):"NO_RESULTS"==t.scan.status?n("div",[n("h2",{attrs:{id:"scan-status"}},[t._v("No Scans Found")])]):n("div",[n("router-link",{staticStyle:{"text-decoration":"none"},attrs:{to:"/scan/"+t.scan.target+"/"+t.scan.id}},["IN_PROGRESS"==t.scan.status?n("h2",{attrs:{id:"scan-status"}},[t._v("Scanning in Progress")]):n("h2",{attrs:{id:"scan-status"}},[t._v("Scan Result")])]),n("h5",{attrs:{id:"sub-status"}},[t._v(t._s(t.normalizeDate(t.scan.created_at)))]),"IN_PROGRESS"==t.scan.status?n("div",[n("ScanProgress",{attrs:{title:"TCP",percentage:t.scan.tcp_progress}}),n("ScanProgress",{attrs:{title:"UDP",percentage:t.scan.udp_progress}}),n("ScanProgress",{attrs:{title:"Total",percentage:t.scan.total_progress}})],1):t._e(),n("PortList",{attrs:{ports:t.scan.results}})],1)}),K=[],V=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("ul",t._l(t.ports,(function(e){return n("li",{key:e,style:t.deriveItemWidth()},[n("span",{staticStyle:{margin:"auto"}},[t._v(t._s(e.split(" ")[0]))]),n("span",{staticClass:"proto",style:t.deriveProtocolStyle(e.split(" ")[1])},[t._v(t._s(e.split(" ")[1]))])])})),0)},J=[],Z={name:"PortList",props:["ports","itemWidth"],methods:{deriveProtocolStyle:function(t){return{backgroundColor:"TCP"==t?"#E7E6FF":"#D5EFFF"}},deriveItemWidth:function(){return{width:this.itemWidth||"75px"}}}},Q=Z,X=(n("92fa"),Object(l["a"])(Q,V,J,!1,null,"6e55647c",null)),Y=X.exports,tt={name:"ScanResult",props:["scan","error","loading"],components:{Loading:H,PortList:Y,ScanProgress:y},methods:{normalizeDate:function(t){var e=new Date(t);return e.toDateString()+" "+e.toLocaleTimeString()}}},et=tt,nt=(n("1bfb"),Object(l["a"])(et,q,K,!1,null,"6e6e76c2",null)),rt=nt.exports,ot=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.getPortDiff(t.newScan,t.oldScan).length+t.getPortDiff(t.oldScan,t.newScan).length==0?n("div",[n("h4",[t._v("No Differences Found")])]):t._e(),t.getPortDiff(t.newScan,t.oldScan).length>0?n("div",[n("h4",{staticStyle:{"text-decoration":"underline"}},[t._v("New Ports")]),n("PortList",{attrs:{ports:t.getPortDiff(t.newScan,t.oldScan),itemWidth:"70px"}})],1):t._e(),t.getPortDiff(t.oldScan,t.newScan).length>0?n("div",[n("h4",{staticStyle:{"text-decoration":"underline"}},[t._v("Removed Ports")]),n("PortList",{attrs:{ports:t.getPortDiff(t.oldScan,t.newScan),itemWidth:"70px"}})],1):t._e()])},at=[],it={name:"ScanCompare",props:["newScan","oldScan"],components:{PortList:Y},methods:{getPortDiff:function(t,e){return t.results.filter((function(t){return!e.results.includes(t)}))}}},st=it,ct=(n("811c"),Object(l["a"])(st,ot,at,!1,null,"353c254e",null)),ut=ct.exports,lt={name:"Scan",components:{ScanResult:rt,ScanCompare:ut},data:function(){return{error:null,loading:!1,hideErrors:!0,openCompare:[]}},computed:{getRequestedScans:function(){var t,e=this,n=this.$store.state.scan_cache,r=this.$route.params.target,o=this.$route.params.scan_id;return n[r]?(t=o?n[r].filter((function(t){return t.id==o})):n[r].filter((function(t){return!e.hideErrors||"FAILED"!=t.status})),t.length?t:[{status:"NO_RESULTS"}]):[{status:"LOADING"}]}},methods:{deriveCompareStyle:function(t){return this.openCompare.includes(t)?{width:"90%",padding:"10px","max-height":"10000px"}:{}},toggleCompare:function(t){this.openCompare.includes(t)?this.openCompare=this.openCompare.filter((function(e){return e!==t})):this.openCompare.push(t)},performScan:function(){var t=this;this.error=null,this.loading=!0,this.$store.dispatch("performScan",this.$route.params.target).then((function(e){if(e.error)throw new Error(e.error);t.$router.push({path:"/scan/".concat(t.$route.params.target)})})).catch((function(e){t.error=e})).finally((function(){t.loading=!1}))}},mounted:function(){this.$store.dispatch("getScansByTarget",this.$route.params.target)}},dt=lt,ft=(n("609e"),Object(l["a"])(dt,U,W,!1,null,"aa025a82",null)),pt=ft.exports,ht=function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)},vt=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticStyle:{"padding-top":"300px"}},[n("h1",[t._v("Error")]),n("h4",[t._v("404 Page Not Found")])])}],gt={},mt=Object(l["a"])(gt,ht,vt,!1,null,null,null),_t=mt.exports,St=function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)},yt=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticStyle:{"padding-top":"300px"}},[n("h1",[t._v("Error")]),n("h4",[t._v("404 Page Not Found")])])}],bt={},xt=Object(l["a"])(bt,St,yt,!1,null,null,null),Et=xt.exports;r["a"].use(A["a"]);var wt=[{path:"/",name:"Home",component:G},{path:"/scan/:target/:scan_id",name:"Scan",component:pt},{path:"/scan/:target",name:"Scan",component:pt},{path:"/search/:target",name:"Search",component:_t},{path:"*",name:"NotFound",component:Et}],Ct=new A["a"]({mode:"history",base:"/",routes:wt}),Ot=Ct,Pt=n("5132"),$t=n.n(Pt),kt=n("8e27"),Nt=n.n(kt);r["a"].use(new $t.a({debug:!0,connection:Nt()({path:"/api/v1/socket.io"}),vuex:{store:T,actionPrefix:"SOCKET_",mutationPrefix:"SOCKET_"}})),r["a"].config.productionTip=!1,new r["a"]({render:function(t){return t($)},router:Ot,store:T}).$mount("#app")},"609e":function(t,e,n){"use strict";n("8cc8")},"72d3":function(t,e,n){"use strict";n("a3ee")},"73c0":function(t,e,n){},7921:function(t,e,n){"use strict";n("424d")},"811c":function(t,e,n){"use strict";n("4d75")},"85ec":function(t,e,n){},"8cc8":function(t,e,n){},"92fa":function(t,e,n){"use strict";n("a1bf")},a1bf:function(t,e,n){},a3ee:function(t,e,n){},b658:function(t,e,n){},b789:function(t,e,n){"use strict";n("029d")},e6b7:function(t,e,n){"use strict";n("73c0")}}); +//# sourceMappingURL=app.f1a42415.js.map \ No newline at end of file diff --git a/src/overseer/static/js/app.f1a42415.js.map b/src/overseer/static/js/app.f1a42415.js.map new file mode 100644 index 0000000..55e9f7a --- /dev/null +++ b/src/overseer/static/js/app.f1a42415.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/App.vue?7e02","webpack:///./src/components/ScanResult.vue?37fd","webpack:///./src/components/OverseerHeader.vue?606a","webpack:///./src/App.vue?89b6","webpack:///./src/components/OverseerHeader.vue?309c","webpack:///src/components/OverseerHeader.vue","webpack:///./src/components/OverseerHeader.vue?e94e","webpack:///./src/components/OverseerHeader.vue?2035","webpack:///./src/components/OverseerNotifications.vue?81c8","webpack:///./src/components/ScanProgress.vue?3ad6","webpack:///src/components/ScanProgress.vue","webpack:///./src/components/ScanProgress.vue?a200","webpack:///./src/components/ScanProgress.vue?ff27","webpack:///src/components/OverseerNotifications.vue","webpack:///./src/components/OverseerNotifications.vue?328e","webpack:///./src/components/OverseerNotifications.vue?1bc5","webpack:///src/App.vue","webpack:///./src/App.vue?1160","webpack:///./src/App.vue?bff9","webpack:///./src/store/index.js","webpack:///./src/views/Home.vue?e266","webpack:///./src/components/Loading.vue?0b4c","webpack:///./src/components/Loading.vue?2b2d","webpack:///src/views/Home.vue","webpack:///./src/views/Home.vue?493c","webpack:///./src/views/Home.vue?c853","webpack:///./src/views/Scan.vue?10e2","webpack:///./src/components/ScanResult.vue?a54c","webpack:///./src/components/PortList.vue?2c8e","webpack:///src/components/PortList.vue","webpack:///./src/components/PortList.vue?b882","webpack:///./src/components/PortList.vue?6179","webpack:///src/components/ScanResult.vue","webpack:///./src/components/ScanResult.vue?a958","webpack:///./src/components/ScanResult.vue?36af","webpack:///./src/components/ScanCompare.vue?75e4","webpack:///src/components/ScanCompare.vue","webpack:///./src/components/ScanCompare.vue?4749","webpack:///./src/components/ScanCompare.vue?2f1c","webpack:///src/views/Scan.vue","webpack:///./src/views/Scan.vue?b9b9","webpack:///./src/views/Scan.vue?cd3e","webpack:///./src/views/Search.vue?75b7","webpack:///./src/views/Search.vue","webpack:///./src/views/NotFound.vue?1caf","webpack:///./src/views/NotFound.vue","webpack:///./src/router/index.js","webpack:///./src/main.js","webpack:///./src/views/Scan.vue?d4a6","webpack:///./src/components/OverseerNotifications.vue?faf0","webpack:///./src/components/ScanProgress.vue?2caa","webpack:///./src/components/ScanCompare.vue?72a6","webpack:///./src/components/PortList.vue?a390","webpack:///./src/views/Home.vue?c8fc","webpack:///./src/components/Loading.vue?222a"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","exports","module","l","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","p","jsonpArray","window","oldJsonpFunction","slice","_vm","this","_h","$createElement","_c","_self","attrs","staticRenderFns","$store","state","staticStyle","_e","ws_connected","_v","on","$event","toggleNotifications","_s","notificationCount","component","style","deriveNotificationCSS","showNotifications","_l","scan","id","staticClass","navigateToScan","target","status","total_progress","title","deriveScanProgressStyle","percentage","components","OverseerHeader","OverseerNotifications","Vue","use","Vuex","Store","notifications","scan_cache","actions","getScansByTarget","commit","fetch","then","resp","json","performScan","method","headers","body","JSON","stringify","mutations","set","matchedItem","find","item","keys","forEach","unshift","type","indexOf","_k","keyCode","onSubmit","error","_m","script","$route","params","getRequestedScans","scan_id","directives","rawName","expression","domProps","Array","isArray","hideErrors","_i","$$a","$$el","$$c","checked","$$v","$$i","concat","index","loading","ref","refInFor","deriveCompareStyle","toggleCompare","openCompare","includes","normalizeDate","created_at","tcp_progress","udp_progress","results","port","deriveItemWidth","split","deriveProtocolStyle","getPortDiff","newScan","oldScan","VueRouter","routes","path","Home","Scan","Search","NotFound","router","base","VueSocketIO","debug","connection","socketio","vuex","store","actionPrefix","mutationPrefix","config","productionTip","render","h","App","$mount"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,EAAgBX,GAAW,EAE5B,IAAID,KAAYG,EACZK,OAAOC,UAAUC,eAAeC,KAAKR,EAAaH,KACpDc,EAAQd,GAAYG,EAAYH,IAG/Be,GAAqBA,EAAoBhB,GAE5C,MAAMO,EAASC,OACdD,EAASU,OAATV,GAOD,OAHAW,EAAgBJ,KAAKK,MAAMD,EAAiBb,GAAkB,IAGvDe,IAER,SAASA,IAER,IADA,IAAIC,EACIf,EAAI,EAAGA,EAAIY,EAAgBV,OAAQF,IAAK,CAG/C,IAFA,IA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CACEC,KAAM,IACN1I,KAAM,OACN4C,UAAW+F,GAEb,CACED,KAAM,yBACN1I,KAAM,OACN4C,UAAWgG,IAEb,CACEF,KAAM,gBACN1I,KAAM,OACN4C,UAAWgG,IAEb,CACEF,KAAM,kBACN1I,KAAM,SACN4C,UAAWiG,IAEb,CACEH,KAAM,IACN1I,KAAM,WACN4C,UAAWkG,KAITC,GAAS,IAAIP,OAAU,CAC3B7H,KAAM,UACNqI,KAAM,IACNP,YAGaM,M,gDCpCfjF,OAAIC,IAAI,IAAIkF,KAAY,CACpBC,OAAO,EACPC,WAAYC,KAAS,CAAEV,KAAM,sBAC7BW,KAAM,CACFC,QACAC,aAAc,UACdC,eAAgB,cAIxB1F,OAAI2F,OAAOC,eAAgB,EAK3B,IAAI5F,OAAI,CACJ6F,OAAQ,SAAAC,GAAC,OAAIA,EAAEC,IACfd,UACAO,UACDQ,OAAO,S,oCC7BV,W,oCCAA,W,2DCAA,W,oCCAA,W,sFCAA,W,uGCAA,W,kCCAA","file":"js/app.f1a42415.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"app\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/static/\";\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","export * from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&lang=css&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ScanResult.vue?vue&type=style&index=0&id=6e6e76c2&scoped=true&lang=css&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OverseerHeader.vue?vue&type=style&index=0&id=7cd42864&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"overseer-app\"}},[_c('OverseerHeader'),_c('OverseerNotifications'),_c('div',{attrs:{\"id\":\"overseer-body\"}},[_c('div',{attrs:{\"id\":\"overseer-body-center\"}},[_c('router-view')],1)])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"overseer-header\"}},[_c('router-link',{attrs:{\"to\":\"/\"}},[(this.$store.state.ws_connected)?_c('div',{staticStyle:{\"background-color\":\"#0E6A0E\"},attrs:{\"id\":\"overseer-websocket\"}}):_vm._e(),(!this.$store.state.ws_connected)?_c('div',{staticStyle:{\"background-color\":\"#B30000\"},attrs:{\"id\":\"overseer-websocket\"}}):_vm._e(),_c('div',{staticStyle:{\"float\":\"left\",\"margin\":\"8px 20px\",\"font-weight\":\"700\",\"font-size\":\"2em\"}},[_vm._v(\"Overseer\")])]),_c('div',{staticStyle:{\"float\":\"right\",\"margin\":\"10px 20px\",\"cursor\":\"pointer\"},on:{\"click\":function($event){return _vm.toggleNotifications()}}},[_c('p',{staticStyle:{\"color\":\"white\",\"position\":\"absolute\",\"font-weight\":\"700\",\"width\":\"35px\",\"height\":\"35px\",\"margin\":\"9px 0px\",\"font-size\":\".8em\"}},[_vm._v(\" \"+_vm._s(_vm.notificationCount)+\" \")]),_c('svg',{staticStyle:{\"width\":\"35px\",\"height\":\"35px\"},attrs:{\"viewBox\":\"0 0 24 24\"}},[_c('path',{attrs:{\"fill\":\"currentColor\",\"d\":\"M21,19V20H3V19L5,17V11C5,7.9 7.03,5.17 10,4.29C10,4.19 10,4.1 10,4A2,2 0 0,1 12,2A2,2 0 0,1 14,4C14,4.1 14,4.19 14,4.29C16.97,5.17 19,7.9 19,11V17L21,19M14,21A2,2 0 0,1 12,23A2,2 0 0,1 10,21M19.75,3.19L18.33,4.61C20.04,6.3 21,8.6 21,11H23C23,8.07 21.84,5.25 19.75,3.19M1,11H3C3,8.6 3.96,6.3 5.67,4.61L4.25,3.19C2.16,5.25 1,8.07 1,11Z\"}})])])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OverseerHeader.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OverseerHeader.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./OverseerHeader.vue?vue&type=template&id=7cd42864&scoped=true&\"\nimport script from \"./OverseerHeader.vue?vue&type=script&lang=js&\"\nexport * from \"./OverseerHeader.vue?vue&type=script&lang=js&\"\nimport style0 from \"./OverseerHeader.vue?vue&type=style&index=0&id=7cd42864&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7cd42864\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{style:(_vm.deriveNotificationCSS(_vm.showNotifications)),attrs:{\"id\":\"overseer-notifications\"}},_vm._l((_vm.activeScans),function(scan){return _c('div',{key:scan.id,staticClass:\"overseer-notification\",on:{\"click\":function($event){return _vm.navigateToScan(scan)}}},[_c('div',{staticStyle:{\"float\":\"left\",\"width\":\"100%\",\"margin\":\"5px 0px\"}},[_c('b',{staticStyle:{\"float\":\"left\"}},[_vm._v(_vm._s(scan.target))]),_c('b',{staticStyle:{\"float\":\"right\"}},[_vm._v(_vm._s(scan.status))])]),_c('ScanProgress',{staticStyle:{\"margin-top\":\"5px\"},attrs:{\"percentage\":scan.status =='COMPLETE' ? 100 : scan.total_progress}})],1)}),0)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"scan-progress\"},[_c('span',{staticStyle:{\"right\":\"46.5%\"}},[_vm._v(_vm._s(_vm.title))]),_c('div',{style:(_vm.deriveScanProgressStyle(_vm.percentage))})])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ScanProgress.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ScanProgress.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ScanProgress.vue?vue&type=template&id=24fabce4&scoped=true&\"\nimport script from \"./ScanProgress.vue?vue&type=script&lang=js&\"\nexport * from \"./ScanProgress.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ScanProgress.vue?vue&type=style&index=0&id=24fabce4&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"24fabce4\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OverseerNotifications.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OverseerNotifications.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./OverseerNotifications.vue?vue&type=template&id=455a59c1&scoped=true&\"\nimport script from \"./OverseerNotifications.vue?vue&type=script&lang=js&\"\nexport * from \"./OverseerNotifications.vue?vue&type=script&lang=js&\"\nimport style0 from \"./OverseerNotifications.vue?vue&type=style&index=0&id=455a59c1&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"455a59c1\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n","import mod from \"-!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=a26f032c&\"\nimport script from \"./App.vue?vue&type=script&lang=js&\"\nexport * from \"./App.vue?vue&type=script&lang=js&\"\nimport style0 from \"./App.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import Vue from 'vue'\nimport Vuex from 'vuex'\n\nVue.use(Vuex)\n\n/**\n * Exports a new Vuex store. Responsible for API access and maintaining a cache\n * of requested and pushed Websocket data.\n **/\nexport default new Vuex.Store({\n state: {\n ws_connected: false,\n notifications: [],\n scan_cache: {}\n },\n actions: {\n /**\n * Queries the API for all scans for the given target, then commits the\n * result to the store.\n **/\n getScansByTarget({ commit }, target){\n return fetch('/api/v1/scans/' + target)\n .then(resp => resp.json())\n .then(json => {\n commit(\"SET_TARGET_SCANS\", { target, data: json.data });\n });\n },\n /**\n * Requests a scan from the API. On response, commits the new scan to\n * the store.\n **/\n performScan({ commit }, target) {\n return fetch('/api/v1/scans', {\n method: 'POST',\n headers: {\n 'Content-Type': 'application/json'\n },\n body: JSON.stringify({ \"target\": target })\n }).then(async resp => {\n let scan = await resp.json()\n commit(\"UPDATE_SCAN\", { scan });\n return scan;\n });\n }\n },\n mutations: {\n /**\n * Sets the state of the scan cache for a given target.\n **/\n \"SET_TARGET_SCANS\"(state, { target, data }) {\n Vue.set(state.scan_cache, target, data)\n },\n /**\n * Upserts a scan in the scan cache store.\n **/\n \"UPDATE_SCAN\"(state, { scan }) {\n let target = scan.target;\n if (!state.scan_cache[target]) {\n Vue.set(state.scan_cache, target, [scan])\n } else {\n let matchedItem = state.scan_cache[target]\n .find(item => item.id == scan.id);\n\n if (matchedItem)\n Object.keys(scan).forEach(key => {\n Vue.set(matchedItem, key, scan[key])\n });\n else\n state.scan_cache[target].unshift(scan);\n }\n },\n /**\n * Listens to all 'message' Websocket events for scan progress data\n * in order to update the scan cache and notification queue.\n **/\n \"SOCKET_message\"(state, scan) {\n // Update progress queue\n let matchedItem = state.notifications.find(item => item.id == scan.id);\n if (matchedItem)\n Object.keys(scan).forEach(key => {\n Vue.set(matchedItem, key, scan[key])\n });\n else\n state.notifications.push(scan);\n\n // Update scan cache\n this.commit(\"UPDATE_SCAN\", { scan });\n },\n /**\n * Listens for Websocket connect events. This is used for the green /\n * red 'O' in the Overseer logo. Green = connected, Red = disconnected.\n **/\n \"SOCKET_connect\"(state) {\n state.ws_connected = true\n },\n /**\n * Listens for Websocket connect events. This is used for the green /\n * red 'O' in the Overseer logo. Green = connected, Red = disconnected.\n **/\n \"SOCKET_disconnect\"(state) {\n state.ws_connected = false\n },\n },\n})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticStyle:{\"padding\":\"250px 0px 40px\",\"position\":\"relative\",\"width\":\"300px\",\"margin\":\"0px auto\"}},[(this.$store.state.ws_connected)?_c('div',{staticStyle:{\"background-color\":\"#0E6A0E\"},attrs:{\"id\":\"overseer-websocket\"}}):_vm._e(),(!this.$store.state.ws_connected)?_c('div',{staticStyle:{\"background-color\":\"#B30000\"},attrs:{\"id\":\"overseer-websocket\"}}):_vm._e(),_c('div',{staticStyle:{\"font-weight\":\"700\",\"font-size\":\"4em\",\"position\":\"relative\"}},[_vm._v(\"Overseer\")])]),_c('input',{attrs:{\"id\":\"overseer-search\",\"placeholder\":\"IP Address / Hostname\",\"type\":\"text\"},on:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.onSubmit($event)}}}),_c('br'),(_vm.error != null)?_c('h5',{staticClass:\"error\"},[_vm._v(_vm._s(_vm.error))]):_vm._e(),(_vm.loading)?_c('Loading',{staticStyle:{\"margin-top\":\"50px\"}}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _vm._m(0)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"lds-roller\"},[_c('div'),_c('div'),_c('div'),_c('div'),_c('div'),_c('div'),_c('div'),_c('div')])}]\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./Loading.vue?vue&type=template&id=d7e11832&scoped=true&\"\nvar script = {}\nimport style0 from \"./Loading.vue?vue&type=style&index=0&id=d7e11832&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"d7e11832\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Home.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Home.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Home.vue?vue&type=template&id=746378c8&scoped=true&\"\nimport script from \"./Home.vue?vue&type=script&lang=js&\"\nexport * from \"./Home.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Home.vue?vue&type=style&index=0&id=746378c8&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"746378c8\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticStyle:{\"padding\":\"50px\"},attrs:{\"id\":\"overseer-scan\"}},[_c('router-link',{attrs:{\"to\":(\"/scan/\" + (_vm.$route.params.target))}},[_c('h1',{staticStyle:{\"font-size\":\"2.5em\",\"margin\":\"0px\",\"float\":\"left\",\"color\":\"#EAECE9\"}},[_vm._v(_vm._s(_vm.$route.params.target))])]),(_vm.getRequestedScans[0].status == 'COMPLETE')?_c('span',{attrs:{\"id\":\"scan-button\"},on:{\"click\":function($event){return _vm.performScan()}}},[_vm._v(\"Scan Again\")]):_vm._e(),(!_vm.$route.params.scan_id)?_c('div',{staticStyle:{\"float\":\"right\",\"padding\":\"13px\"}},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.hideErrors),expression:\"hideErrors\"}],staticStyle:{\"height\":\"19px\",\"width\":\"19px\"},attrs:{\"id\":\"hide-errors\",\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(_vm.hideErrors)?_vm._i(_vm.hideErrors,null)>-1:(_vm.hideErrors)},on:{\"change\":function($event){var $$a=_vm.hideErrors,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.hideErrors=$$a.concat([$$v]))}else{$$i>-1&&(_vm.hideErrors=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.hideErrors=$$c}}}}),_c('label',{staticStyle:{\"font-size\":\"1.3em\"},attrs:{\"for\":\"hide-errors\"}},[_vm._v(\" Hide Errors\")])]):_vm._e(),_c('div',{attrs:{\"id\":\"results\"}},_vm._l((_vm.getRequestedScans),function(scan,index){return _c('div',{key:scan.id},[_c('ScanResult',{staticStyle:{\"padding\":\"20px\",\"margin-top\":\"25px\",\"border-radius\":\"5px\",\"box-shadow\":\"0px 0px 10px black\"},attrs:{\"scan\":scan,\"error\":_vm.error,\"loading\":_vm.loading}}),(_vm.getRequestedScans.length != index + 1)?_c('div',{ref:\"compareContainer\",refInFor:true,staticClass:\"compare-content\",style:(_vm.deriveCompareStyle(scan)),on:{\"click\":function($event){return _vm.toggleCompare(scan)}}},[(!_vm.openCompare.includes(scan))?_c('h4',{staticStyle:{\"margin\":\"0px\",\"text-align\":\"center\"}},[_vm._v(\"Compare\")]):_c('ScanCompare',{attrs:{\"newScan\":scan,\"oldScan\":_vm.getRequestedScans[index + 1]}})],1):_vm._e()],1)}),0)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.scan.status == 'FAILED' || _vm.error)?_c('div',[_c('h2',{attrs:{\"id\":\"scan-status\"}},[_vm._v(\"Error\")]),_c('h5',{staticStyle:{\"color\":\"#B30000\",\"border-bottom\":\"unset\"},attrs:{\"id\":\"sub-status\"}},[_vm._v(_vm._s(_vm.error || _vm.scan.error))])]):(_vm.scan.status == 'LOADING' || _vm.loading)?_c('div',[_c('Loading',{staticStyle:{\"margin\":\"0px auto\",\"display\":\"block\"}}),_c('h2',{attrs:{\"id\":\"scan-status\"}},[_vm._v(\"Loading...\")])],1):(_vm.scan.status == 'NO_RESULTS')?_c('div',[_c('h2',{attrs:{\"id\":\"scan-status\"}},[_vm._v(\"No Scans Found\")])]):_c('div',[_c('router-link',{staticStyle:{\"text-decoration\":\"none\"},attrs:{\"to\":(\"/scan/\" + (_vm.scan.target) + \"/\" + (_vm.scan.id))}},[(_vm.scan.status == 'IN_PROGRESS')?_c('h2',{attrs:{\"id\":\"scan-status\"}},[_vm._v(\"Scanning in Progress\")]):_c('h2',{attrs:{\"id\":\"scan-status\"}},[_vm._v(\"Scan Result\")])]),_c('h5',{attrs:{\"id\":\"sub-status\"}},[_vm._v(_vm._s(_vm.normalizeDate(_vm.scan.created_at)))]),(_vm.scan.status == 'IN_PROGRESS')?_c('div',[_c('ScanProgress',{attrs:{\"title\":\"TCP\",\"percentage\":_vm.scan.tcp_progress}}),_c('ScanProgress',{attrs:{\"title\":\"UDP\",\"percentage\":_vm.scan.udp_progress}}),_c('ScanProgress',{attrs:{\"title\":\"Total\",\"percentage\":_vm.scan.total_progress}})],1):_vm._e(),_c('PortList',{attrs:{\"ports\":_vm.scan.results}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ul',_vm._l((_vm.ports),function(port){return _c('li',{key:port,style:(_vm.deriveItemWidth())},[_c('span',{staticStyle:{\"margin\":\"auto\"}},[_vm._v(_vm._s(port.split(\" \")[0]))]),_c('span',{staticClass:\"proto\",style:(_vm.deriveProtocolStyle(port.split(' ')[1]))},[_vm._v(_vm._s(port.split(\" \")[1]))])])}),0)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PortList.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PortList.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./PortList.vue?vue&type=template&id=6e55647c&scoped=true&\"\nimport script from \"./PortList.vue?vue&type=script&lang=js&\"\nexport * from \"./PortList.vue?vue&type=script&lang=js&\"\nimport style0 from \"./PortList.vue?vue&type=style&index=0&id=6e55647c&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6e55647c\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ScanResult.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ScanResult.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ScanResult.vue?vue&type=template&id=6e6e76c2&scoped=true&\"\nimport script from \"./ScanResult.vue?vue&type=script&lang=js&\"\nexport * from \"./ScanResult.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ScanResult.vue?vue&type=style&index=0&id=6e6e76c2&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6e6e76c2\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.getPortDiff(_vm.newScan, _vm.oldScan).length + _vm.getPortDiff(_vm.oldScan, _vm.newScan).length == 0)?_c('div',[_c('h4',[_vm._v(\"No Differences Found\")])]):_vm._e(),(_vm.getPortDiff(_vm.newScan, _vm.oldScan).length > 0)?_c('div',[_c('h4',{staticStyle:{\"text-decoration\":\"underline\"}},[_vm._v(\"New Ports\")]),_c('PortList',{attrs:{\"ports\":_vm.getPortDiff(_vm.newScan, _vm.oldScan),\"itemWidth\":\"70px\"}})],1):_vm._e(),(_vm.getPortDiff(_vm.oldScan, _vm.newScan).length > 0)?_c('div',[_c('h4',{staticStyle:{\"text-decoration\":\"underline\"}},[_vm._v(\"Removed Ports\")]),_c('PortList',{attrs:{\"ports\":_vm.getPortDiff(_vm.oldScan, _vm.newScan),\"itemWidth\":\"70px\"}})],1):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ScanCompare.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ScanCompare.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ScanCompare.vue?vue&type=template&id=353c254e&scoped=true&\"\nimport script from \"./ScanCompare.vue?vue&type=script&lang=js&\"\nexport * from \"./ScanCompare.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ScanCompare.vue?vue&type=style&index=0&id=353c254e&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"353c254e\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Scan.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Scan.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Scan.vue?vue&type=template&id=aa025a82&scoped=true&\"\nimport script from \"./Scan.vue?vue&type=script&lang=js&\"\nexport * from \"./Scan.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Scan.vue?vue&type=style&index=0&id=aa025a82&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"aa025a82\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _vm._m(0)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticStyle:{\"padding-top\":\"300px\"}},[_c('h1',[_vm._v(\"Error\")]),_c('h4',[_vm._v(\"404 Page Not Found\")])])}]\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./Search.vue?vue&type=template&id=4f6eef93&\"\nvar script = {}\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _vm._m(0)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticStyle:{\"padding-top\":\"300px\"}},[_c('h1',[_vm._v(\"Error\")]),_c('h4',[_vm._v(\"404 Page Not Found\")])])}]\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./NotFound.vue?vue&type=template&id=eb482a4c&\"\nvar script = {}\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import Vue from 'vue'\nimport VueRouter from 'vue-router'\nimport Home from '../views/Home.vue'\nimport Scan from '../views/Scan.vue'\nimport Search from '../views/Search.vue'\nimport NotFound from '../views/NotFound.vue'\n\nVue.use(VueRouter)\n\n/**\n * Define all routes within the Overseer SPA.\n **/\nconst routes = [\n {\n path: '/',\n name: 'Home',\n component: Home\n },\n {\n path: '/scan/:target/:scan_id',\n name: 'Scan',\n component: Scan\n },\n {\n path: '/scan/:target',\n name: 'Scan',\n component: Scan\n },\n {\n path: '/search/:target',\n name: 'Search',\n component: Search\n },\n {\n path: '*',\n name: 'NotFound',\n component: NotFound\n }\n]\n\nconst router = new VueRouter({\n mode: 'history',\n base: '/',\n routes\n})\n\nexport default router\n","import Vue from 'vue';\nimport App from './App.vue';\nimport store from './store';\nimport router from './router';\nimport VueSocketIO from 'vue-socket.io';\nimport socketio from 'socket.io-client';\n\n/**\n * Initiates the Websocket connection with the API server.\n **/\nVue.use(new VueSocketIO({\n debug: true,\n connection: socketio({ path: \"/api/v1/socket.io\" }),\n vuex: {\n store,\n actionPrefix: 'SOCKET_',\n mutationPrefix: 'SOCKET_'\n },\n}))\n\nVue.config.productionTip = false\n\n/**\n * Creates the Overseer Vue Application.\n **/\nnew Vue({\n render: h => h(App),\n router,\n store\n}).$mount('#app')\n","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Scan.vue?vue&type=style&index=0&id=aa025a82&scoped=true&lang=css&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OverseerNotifications.vue?vue&type=style&index=0&id=455a59c1&scoped=true&lang=css&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ScanProgress.vue?vue&type=style&index=0&id=24fabce4&scoped=true&lang=css&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ScanCompare.vue?vue&type=style&index=0&id=353c254e&scoped=true&lang=css&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PortList.vue?vue&type=style&index=0&id=6e55647c&scoped=true&lang=css&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Home.vue?vue&type=style&index=0&id=746378c8&scoped=true&lang=css&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Loading.vue?vue&type=style&index=0&id=d7e11832&scoped=true&lang=css&\""],"sourceRoot":""} \ No newline at end of file diff --git a/src/overseer/templates/index.html b/src/overseer/templates/index.html index f964a19..d0a6ae3 100644 --- a/src/overseer/templates/index.html +++ b/src/overseer/templates/index.html @@ -1 +1 @@ -Overseer
\ No newline at end of file +Overseer
\ No newline at end of file diff --git a/src/overseer_client/src/components/OverseerHeader.vue b/src/overseer_client/src/components/OverseerHeader.vue index f014d06..52af094 100644 --- a/src/overseer_client/src/components/OverseerHeader.vue +++ b/src/overseer_client/src/components/OverseerHeader.vue @@ -25,6 +25,9 @@ export default { } }, methods: { + /** + * Emits a notification to the Notification component. + **/ toggleNotifications() { this.$root.$emit("toggleNotifications"); } diff --git a/src/overseer_client/src/components/OverseerNotifications.vue b/src/overseer_client/src/components/OverseerNotifications.vue index 297888f..071a171 100644 --- a/src/overseer_client/src/components/OverseerNotifications.vue +++ b/src/overseer_client/src/components/OverseerNotifications.vue @@ -32,9 +32,15 @@ export default { } }, methods: { + /** + * Routes the user to the provided scan. + **/ navigateToScan(scan) { this.$router.push({ path: `/scan/${scan.target}/${scan.id}` }) }, + /** + * Derives notification drawer CSS to open / close. + **/ deriveNotificationCSS(showNotifications) { return { "right": showNotifications ? "0px" : "-320px" @@ -42,6 +48,7 @@ export default { } }, mounted() { + // Sets up listener for toggleNotification event this.$root.$on("toggleNotifications", () => { this.showNotifications = !this.showNotifications; }); diff --git a/src/overseer_client/src/components/PortList.vue b/src/overseer_client/src/components/PortList.vue index d67f893..e5d34af 100644 --- a/src/overseer_client/src/components/PortList.vue +++ b/src/overseer_client/src/components/PortList.vue @@ -1,8 +1,8 @@ @@ -12,12 +12,18 @@ export default { name: 'PortList', props: ["ports", "itemWidth"], methods: { - dynamicProtocolStyle(proto) { + /** + * Derives TCP / UDP background colors (Default Wireshark colors) + **/ + deriveProtocolStyle(proto) { return { backgroundColor: proto == "TCP" ? "#E7E6FF" : "#D5EFFF", } }, - getItemWidth() { + /** + * Derives item width (If provided) + **/ + deriveItemWidth() { return { width: this.itemWidth || "75px" } @@ -31,7 +37,7 @@ export default { border-radius: 4px; padding: 0px 2px; color: #0A282F; - margin-left: 5px; + margin: auto; } li { diff --git a/src/overseer_client/src/components/ScanCompare.vue b/src/overseer_client/src/components/ScanCompare.vue index 6255542..257e165 100644 --- a/src/overseer_client/src/components/ScanCompare.vue +++ b/src/overseer_client/src/components/ScanCompare.vue @@ -24,6 +24,11 @@ export default { PortList, }, methods: { + /** + * Returns left outer join between s1 scan, and s2 scan. We use this + * to figure out what ports have been add / removed between the two + * reference scans. + **/ getPortDiff(s1, s2) { return s1.results .filter(p => !s2.results.includes(p)); diff --git a/src/overseer_client/src/components/ScanProgress.vue b/src/overseer_client/src/components/ScanProgress.vue index 2c2ea00..f42690f 100644 --- a/src/overseer_client/src/components/ScanProgress.vue +++ b/src/overseer_client/src/components/ScanProgress.vue @@ -1,7 +1,7 @@ @@ -10,8 +10,13 @@ export default { name: 'ScanProgress', props: ["percentage", "title"], methods: { - scanProgress(perc) { - // Calculate color based on percentage - https://gist.github.com/mlocati/7210513 + /** + * Derives the style to reflect the provided percentage. Also + * calculates the appropriate hex color. + * + * Reference: https://gist.github.com/mlocati/7210513 + **/ + deriveScanProgressStyle(perc) { let r, g, b = 0; if (perc < 50) { r = 255; diff --git a/src/overseer_client/src/components/ScanResult.vue b/src/overseer_client/src/components/ScanResult.vue index 996dcbe..7a56d85 100644 --- a/src/overseer_client/src/components/ScanResult.vue +++ b/src/overseer_client/src/components/ScanResult.vue @@ -42,6 +42,9 @@ export default { ScanProgress, }, methods: { + /** + * Converts a dateISO string to a more presentable format. + **/ normalizeDate(dateISO) { let parsedDate = new Date(dateISO); return parsedDate.toDateString() + " " + parsedDate.toLocaleTimeString() @@ -59,7 +62,7 @@ export default { #sub-status { text-align: center; - width: 200px; + width: 190px; margin: -5px auto 10px auto; border-bottom: 1px solid; } diff --git a/src/overseer_client/src/main.js b/src/overseer_client/src/main.js index 3b7a089..ea4ce3d 100644 --- a/src/overseer_client/src/main.js +++ b/src/overseer_client/src/main.js @@ -5,6 +5,9 @@ import router from './router'; import VueSocketIO from 'vue-socket.io'; import socketio from 'socket.io-client'; +/** + * Initiates the Websocket connection with the API server. + **/ Vue.use(new VueSocketIO({ debug: true, connection: socketio({ path: "/api/v1/socket.io" }), @@ -17,6 +20,9 @@ Vue.use(new VueSocketIO({ Vue.config.productionTip = false +/** + * Creates the Overseer Vue Application. + **/ new Vue({ render: h => h(App), router, diff --git a/src/overseer_client/src/router/index.js b/src/overseer_client/src/router/index.js index f20609c..6c42e62 100644 --- a/src/overseer_client/src/router/index.js +++ b/src/overseer_client/src/router/index.js @@ -7,6 +7,9 @@ import NotFound from '../views/NotFound.vue' Vue.use(VueRouter) +/** + * Define all routes within the Overseer SPA. + **/ const routes = [ { path: '/', diff --git a/src/overseer_client/src/store/index.js b/src/overseer_client/src/store/index.js index fb9b26a..e2b7d00 100644 --- a/src/overseer_client/src/store/index.js +++ b/src/overseer_client/src/store/index.js @@ -3,18 +3,21 @@ import Vuex from 'vuex' Vue.use(Vuex) +/** + * Exports a new Vuex store. Responsible for API access and maintaining a cache + * of requested and pushed Websocket data. + **/ export default new Vuex.Store({ state: { ws_connected: false, notifications: [], scan_cache: {} }, - getters: { - getScansByTarget(state, target){ - return state.scan_cache[target] - } - }, actions: { + /** + * Queries the API for all scans for the given target, then commits the + * result to the store. + **/ getScansByTarget({ commit }, target){ return fetch('/api/v1/scans/' + target) .then(resp => resp.json()) @@ -22,6 +25,10 @@ export default new Vuex.Store({ commit("SET_TARGET_SCANS", { target, data: json.data }); }); }, + /** + * Requests a scan from the API. On response, commits the new scan to + * the store. + **/ performScan({ commit }, target) { return fetch('/api/v1/scans', { method: 'POST', @@ -37,9 +44,15 @@ export default new Vuex.Store({ } }, mutations: { + /** + * Sets the state of the scan cache for a given target. + **/ "SET_TARGET_SCANS"(state, { target, data }) { Vue.set(state.scan_cache, target, data) }, + /** + * Upserts a scan in the scan cache store. + **/ "UPDATE_SCAN"(state, { scan }) { let target = scan.target; if (!state.scan_cache[target]) { @@ -56,6 +69,10 @@ export default new Vuex.Store({ state.scan_cache[target].unshift(scan); } }, + /** + * Listens to all 'message' Websocket events for scan progress data + * in order to update the scan cache and notification queue. + **/ "SOCKET_message"(state, scan) { // Update progress queue let matchedItem = state.notifications.find(item => item.id == scan.id); @@ -69,9 +86,17 @@ export default new Vuex.Store({ // Update scan cache this.commit("UPDATE_SCAN", { scan }); }, + /** + * Listens for Websocket connect events. This is used for the green / + * red 'O' in the Overseer logo. Green = connected, Red = disconnected. + **/ "SOCKET_connect"(state) { state.ws_connected = true }, + /** + * Listens for Websocket connect events. This is used for the green / + * red 'O' in the Overseer logo. Green = connected, Red = disconnected. + **/ "SOCKET_disconnect"(state) { state.ws_connected = false }, diff --git a/src/overseer_client/src/views/Home.vue b/src/overseer_client/src/views/Home.vue index 5748552..a10e34b 100644 --- a/src/overseer_client/src/views/Home.vue +++ b/src/overseer_client/src/views/Home.vue @@ -27,6 +27,10 @@ export default { } }, methods: { + /** + * Initiates a new scan for the inputted hostname / IP address. + * Routes the user to the history view of the requested target. + **/ onSubmit(event){ this.loading = true; this.error = null; @@ -34,7 +38,8 @@ export default { .then(scan => { if (scan.error) throw new Error(scan.error) - this.$router.push({ path: `/scan/${event.target.value}/${scan.id}` }) + this.$router.push({ path: `/scan/${event.target.value}` }) + // this.$router.push({ path: `/scan/${event.target.value}/${scan.id}` }) }).catch(err => { this.error = err; }).finally(() => { diff --git a/src/overseer_client/src/views/Scan.vue b/src/overseer_client/src/views/Scan.vue index fa46d33..42d215d 100644 --- a/src/overseer_client/src/views/Scan.vue +++ b/src/overseer_client/src/views/Scan.vue @@ -16,7 +16,7 @@ :scan="scan" :error="error" :loading="loading" - style="padding: 20px; margin-top: 25px; border-radius: 5px; box-shadow: 0px 0px 10px #e0e3de;"/> + style="padding: 20px; margin-top: 25px; border-radius: 5px; box-shadow: 0px 0px 10px black;"/>
{ if (scan.error) throw new Error(scan.error) this.$router.push({ path: `/scan/${this.$route.params.target}` }) + + // If you want to navigate to the specific scan // this.$router.push({ path: `/scan/${this.$route.params.target}/${scan.id}` }) }).catch(err => { this.error = err; @@ -104,6 +120,7 @@ export default { }, }, mounted(){ + // Acquires scans by requested target from the Vuex store. this.$store.dispatch("getScansByTarget", this.$route.params.target); } } diff --git a/src/overseer_client/src/views/Targets.vue b/src/overseer_client/src/views/Targets.vue new file mode 100644 index 0000000..2d6ec88 --- /dev/null +++ b/src/overseer_client/src/views/Targets.vue @@ -0,0 +1,6 @@ +