1 line
34 KiB
Plaintext
1 line
34 KiB
Plaintext
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/App.vue?4554","webpack:///./src/App.vue","webpack:///src/App.vue","webpack:///./src/App.vue?60d0","webpack:///./src/App.vue?315a","webpack:///./src/router/index.js","webpack:///./src/main.js"],"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","jsonpScriptSrc","p","exports","module","l","e","promises","installedChunkData","promise","Promise","resolve","reject","onScriptComplete","script","document","createElement","charset","timeout","nc","setAttribute","src","error","Error","event","onerror","onload","clearTimeout","chunk","errorType","type","realSrc","target","message","name","request","undefined","setTimeout","head","appendChild","all","m","c","d","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","oe","err","console","jsonpArray","window","oldJsonpFunction","slice","render","_vm","this","_c","_self","staticClass","_m","attrs","on","$event","goto_frontend","_v","_s","title","current_version","_e","$router","update_available","staticRenderFns","components","jwt","letters","methods","generate_random","rand","then","catch","get_version","axios","headers","check_update","created","setInterval","res","component","Vue","use","VueRouter","routes","path","props","router","base","process","config","productionTip","devtools","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,E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eACN3E,KAAM,cACNsE,UAAW,IAAM,gDACjBM,OAAO,GAET,CACED,KAAM,oBACN3E,KAAM,mBACNsE,UAAW,IAAM,gDACjBM,OAAO,GAET,CACED,KAAM,oBACN3E,KAAM,mBACNsE,UAAW,IAAM,gDACjBM,OAAO,GAET,CACED,KAAM,UACN3E,KAAM,SACNsE,UAAW,IAAM,gDACjBM,OAAO,IAILC,EAAS,IAAIJ,OAAU,CAC3BrD,KAAM,UACN0D,KAAMC,IACNL,WAGaG,QCnFfN,OAAIS,OAAOC,eAAgB,EAC3BV,OAAIS,OAAOE,UAAW,EAEtB,IAAIX,OAAI,CACNM,SACAzC,OAAQ+C,GAAKA,EAAEC,KACdC,OAAO","file":"js/app.a3c6f292.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// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.p + \"js/\" + ({}[chunkId]||chunkId) + \".\" + {\"chunk-2d0a3726\":\"bebe5116\",\"chunk-2d0c0c86\":\"cf098d4b\",\"chunk-2d0c8321\":\"78ca1407\",\"chunk-2d0c9378\":\"fb16a6a2\",\"chunk-2d0cc2b4\":\"6cd43049\",\"chunk-2d0cfa15\":\"4b2166d6\",\"chunk-2d0e4bf5\":\"fac73388\",\"chunk-2d20faf8\":\"c983e105\",\"chunk-2d215cd3\":\"f0d8ba06\",\"chunk-2d2245cf\":\"ea4d33bd\",\"chunk-2d22d432\":\"91ebbe55\",\"chunk-3c0d118e\":\"e3f2944c\"}[chunkId] + \".js\"\n \t}\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 \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar promises = [];\n\n\n \t\t// JSONP chunk loading for javascript\n\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n \t\t\t// a Promise means \"currently loading\".\n \t\t\tif(installedChunkData) {\n \t\t\t\tpromises.push(installedChunkData[2]);\n \t\t\t} else {\n \t\t\t\t// setup Promise in chunk cache\n \t\t\t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t\t\t});\n \t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n \t\t\t\t// start chunk loading\n \t\t\t\tvar script = document.createElement('script');\n \t\t\t\tvar onScriptComplete;\n\n \t\t\t\tscript.charset = 'utf-8';\n \t\t\t\tscript.timeout = 120;\n \t\t\t\tif (__webpack_require__.nc) {\n \t\t\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t\t\t}\n \t\t\t\tscript.src = jsonpScriptSrc(chunkId);\n\n \t\t\t\t// create error before stack unwound to get useful stacktrace later\n \t\t\t\tvar error = new Error();\n \t\t\t\tonScriptComplete = function (event) {\n \t\t\t\t\t// avoid mem leaks in IE.\n \t\t\t\t\tscript.onerror = script.onload = null;\n \t\t\t\t\tclearTimeout(timeout);\n \t\t\t\t\tvar chunk = installedChunks[chunkId];\n \t\t\t\t\tif(chunk !== 0) {\n \t\t\t\t\t\tif(chunk) {\n \t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n \t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n \t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n \t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n \t\t\t\t\t\t\terror.type = errorType;\n \t\t\t\t\t\t\terror.request = realSrc;\n \t\t\t\t\t\t\tchunk[1](error);\n \t\t\t\t\t\t}\n \t\t\t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t\t\t}\n \t\t\t\t};\n \t\t\t\tvar timeout = setTimeout(function(){\n \t\t\t\t\tonScriptComplete({ type: 'timeout', target: script });\n \t\t\t\t}, 120000);\n \t\t\t\tscript.onerror = script.onload = onScriptComplete;\n \t\t\t\tdocument.head.appendChild(script);\n \t\t\t}\n \t\t}\n \t\treturn Promise.all(promises);\n \t};\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 = \"/\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\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--7-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../node_modules/cache-loader/dist/cjs.js??ref--1-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&id=6572d034&prod&lang=css&\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"backend-container off-canvas off-canvas-sidebar-show\"},[_vm._m(0),_c('div',{staticClass:\"backend-sidebar off-canvas-sidebar\",attrs:{\"id\":\"sidebar\"}},[_c('div',{staticClass:\"backend-brand\"},[_c('h2',{staticClass:\"title\",on:{\"click\":function($event){return _vm.goto_frontend()}}},[_vm._v(_vm._s(_vm.title))]),(_vm.current_version)?_c('span',{staticClass:\"version\"},[_vm._v(_vm._s(_vm.current_version))]):_vm._e()]),_c('div',{staticClass:\"backend-nav\"},[_c('div',{staticClass:\"accordion-container\"},[_c('div',{staticClass:\"accordion\"},[_c('input',{attrs:{\"id\":\"accordion-configuration\",\"type\":\"checkbox\",\"name\":\"backend-accordion-checkbox\",\"hidden\":\"\"}}),_c('label',{staticClass:\"accordion-header c-hand\",attrs:{\"for\":\"accordion-configuration\"}},[_vm._v(\"Manage Device\")]),_c('div',{staticClass:\"accordion-body\"},[_c('ul',{staticClass:\"menu menu-nav\"},[_c('li',{staticClass:\"menu-item\"},[_c('span',{on:{\"click\":function($event){return _vm.$router.push('/device/configuration')}}},[_vm._v(\"Device config\")])]),_c('li',{staticClass:\"menu-item\"},[_c('span',{on:{\"click\":function($event){return _vm.$router.push('/engine/configuration')}}},[_vm._v(\"Analysis engine\")])]),_c('li',{staticClass:\"menu-item\"},[_c('span',{on:{\"click\":function($event){return _vm.$router.push('/device/network')}}},[_vm._v(\"Network config\")])]),_c('li',{staticClass:\"menu-item\"},[_c('span',{on:{\"click\":function($event){return _vm.$router.push('/device/db')}}},[_vm._v(\"Manage database\")])])])])]),_c('div',{staticClass:\"accordion\"},[_c('input',{attrs:{\"id\":\"accordion-iocs\",\"type\":\"checkbox\",\"name\":\"backend-accordion-checkbox\",\"hidden\":\"\"}}),_c('label',{staticClass:\"accordion-header c-hand\",attrs:{\"for\":\"accordion-iocs\"}},[_vm._v(\"Manage IOCs\")]),_c('div',{staticClass:\"accordion-body\"},[_c('ul',{staticClass:\"menu menu-nav\"},[_c('li',{staticClass:\"menu-item\"},[_c('span',{on:{\"click\":function($event){return _vm.$router.push('/iocs/manage')}}},[_vm._v(\"Manage IOCs\")])]),_c('li',{staticClass:\"menu-item\"},[_c('span',{on:{\"click\":function($event){return _vm.$router.push('/iocs/search')}}},[_vm._v(\"Search IOCs\")])])])])]),_c('div',{staticClass:\"accordion\"},[_c('input',{attrs:{\"id\":\"accordion-whitelist\",\"type\":\"checkbox\",\"name\":\"backend-accordion-checkbox\",\"hidden\":\"\"}}),_c('label',{staticClass:\"accordion-header c-hand\",attrs:{\"for\":\"accordion-whitelist\"}},[_vm._v(\"Manage Whitelist\")]),_c('div',{staticClass:\"accordion-body\"},[_c('ul',{staticClass:\"menu menu-nav\"},[_c('li',{staticClass:\"menu-item\"},[_c('span',{on:{\"click\":function($event){return _vm.$router.push('/whitelist/manage')}}},[_vm._v(\"Manage elements\")])]),_c('li',{staticClass:\"menu-item\"},[_c('span',{on:{\"click\":function($event){return _vm.$router.push('/whitelist/search')}}},[_vm._v(\"Search elements\")])])])])]),_c('div',{staticClass:\"accordion\"},[_c('input',{attrs:{\"id\":\"accordion-instances\",\"type\":\"checkbox\",\"name\":\"backend-accordion-checkbox\",\"hidden\":\"\"}}),_c('label',{staticClass:\"accordion-header c-hand\",attrs:{\"for\":\"accordion-instances\"}},[_vm._v(\"External sources\")]),_c('div',{staticClass:\"accordion-body\"},[_c('ul',{staticClass:\"menu menu-nav\"},[_c('li',{staticClass:\"menu-item\"},[_c('span',{on:{\"click\":function($event){return _vm.$router.push('/instances/watchers')}}},[_vm._v(\"Watchers Instances\")])]),_c('li',{staticClass:\"menu-item\"},[_c('span',{on:{\"click\":function($event){return _vm.$router.push('/instances/misp')}}},[_vm._v(\"MISP Instances\")])])])])])])])]),_c('a',{staticClass:\"off-canvas-overlay\",attrs:{\"href\":\"#close\"}}),_c('div',{staticClass:\"off-canvas-content\"},[(_vm.update_available)?_c('div',{attrs:{\"id\":\"update-banner\"},on:{\"click\":function($event){return _vm.$router.push('/update')}}},[_vm._v(\"A new version is available, click on the banner to install it.\")]):_vm._e(),_c('transition',{attrs:{\"name\":\"fade\",\"mode\":\"out-in\"}},[_c('router-view')],1)],1)])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"backend-navbar\"},[_c('a',{staticClass:\"off-canvas-toggle btn btn-link btn-action\",attrs:{\"href\":\"#sidebar\"}},[_c('i',{staticClass:\"icon icon-menu\"})])])\n}]\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"backend-container off-canvas off-canvas-sidebar-show\">\r\n <div class=\"backend-navbar\">\r\n <a class=\"off-canvas-toggle btn btn-link btn-action\" href=\"#sidebar\">\r\n <i class=\"icon icon-menu\"></i>\r\n </a>\r\n </div>\r\n <div class=\"backend-sidebar off-canvas-sidebar\" id=\"sidebar\">\r\n <div class=\"backend-brand\">\r\n <h2 @click=\"goto_frontend()\" class=\"title\">{{ title }}</h2>\r\n <span class=\"version\" v-if=\"current_version\">{{current_version}}</span>\r\n </div>\r\n <div class=\"backend-nav\">\r\n <div class=\"accordion-container\">\r\n <div class=\"accordion\">\r\n <input id=\"accordion-configuration\" type=\"checkbox\" name=\"backend-accordion-checkbox\" hidden=\"\">\r\n <label class=\"accordion-header c-hand\" for=\"accordion-configuration\">Manage Device</label>\r\n <div class=\"accordion-body\">\r\n <ul class=\"menu menu-nav\">\r\n <li class=\"menu-item\">\r\n <span @click=\"$router.push('/device/configuration')\">Device config</span>\r\n </li>\r\n <li class=\"menu-item\">\r\n <span @click=\"$router.push('/engine/configuration')\">Analysis engine</span>\r\n </li>\r\n <li class=\"menu-item\">\r\n <span @click=\"$router.push('/device/network')\">Network config</span>\r\n </li>\r\n <li class=\"menu-item\">\r\n <span @click=\"$router.push('/device/db')\">Manage database</span>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n <div class=\"accordion\">\r\n <input id=\"accordion-iocs\" type=\"checkbox\" name=\"backend-accordion-checkbox\" hidden=\"\">\r\n <label class=\"accordion-header c-hand\" for=\"accordion-iocs\">Manage IOCs</label>\r\n <div class=\"accordion-body\">\r\n <ul class=\"menu menu-nav\">\r\n <li class=\"menu-item\">\r\n <span @click=\"$router.push('/iocs/manage')\">Manage IOCs</span>\r\n </li>\r\n <li class=\"menu-item\">\r\n <span @click=\"$router.push('/iocs/search')\">Search IOCs</span>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n <div class=\"accordion\">\r\n <input id=\"accordion-whitelist\" type=\"checkbox\" name=\"backend-accordion-checkbox\" hidden=\"\"/>\r\n <label class=\"accordion-header c-hand\" for=\"accordion-whitelist\">Manage Whitelist</label>\r\n <div class=\"accordion-body\">\r\n <ul class=\"menu menu-nav\">\r\n <li class=\"menu-item\">\r\n <span @click=\"$router.push('/whitelist/manage')\">Manage elements</span>\r\n </li>\r\n <li class=\"menu-item\">\r\n <span @click=\"$router.push('/whitelist/search')\">Search elements</span>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n <div class=\"accordion\">\r\n <input id=\"accordion-instances\" type=\"checkbox\" name=\"backend-accordion-checkbox\" hidden=\"\"/>\r\n <label class=\"accordion-header c-hand\" for=\"accordion-instances\">External sources</label>\r\n <div class=\"accordion-body\">\r\n <ul class=\"menu menu-nav\">\r\n <li class=\"menu-item\">\r\n <span @click=\"$router.push('/instances/watchers')\">Watchers Instances</span>\r\n </li>\r\n <li class=\"menu-item\">\r\n <span @click=\"$router.push('/instances/misp')\">MISP Instances</span>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <a class=\"off-canvas-overlay\" href=\"#close\"></a>\r\n <div class=\"off-canvas-content\">\r\n <div id=\"update-banner\" v-if=\"update_available\" @click=\"$router.push('/update')\">A new version is available, click on the banner to install it.</div>\r\n <transition name=\"fade\" mode=\"out-in\">\r\n <router-view/>\r\n </transition>\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<style>\r\n @import './assets/spectre.min.css';\r\n @import './assets/spectre-exp.min.css';\r\n @import './assets/spectre-icons.min.css';\r\n @import './assets/custom.css';\r\n /* Face style for router stuff. */\r\n .fade-enter-active,\r\n .fade-leave-active {\r\n transition-duration: 0.3s;\r\n transition-property: opacity;\r\n transition-timing-function: ease;\r\n }\r\n\r\n .fade-enter,\r\n .fade-leave-active {\r\n opacity: 0\r\n }\r\n</style>\r\n<script>\r\n import axios from 'axios'\r\n document.title = 'SpyGuard Backend'\r\n\r\n export default {\r\n name: 'backend',\r\n components: {},\r\n data() {\r\n return {\r\n title: \"SPYGUARD\",\r\n current_version: false,\r\n jwt: \"\",\r\n update_available: false,\r\n letters: [\"SSS§ṠSSSSS\",\"PPPþ⒫PPPP\",\"YYYÿYYYÿYȲYY\",\"GGḠGGGǤG¬G\",\"UÚUUÜUɄUUU\", \"AAAAÄA¬AAA\", \"RЯRɌRRRɌʭR\", \"DD¬DDDDƋDD\"]\r\n }\r\n },\r\n methods: {\r\n generate_random: function(min = 0, max = 1000) {\r\n let difference = max - min;\r\n let rand = Math.random();\r\n rand = Math.floor( rand * difference);\r\n rand = rand + min;\r\n return rand;\r\n },\r\n goto_frontend: function() {\r\n window.location.href= `http://${location.hostname}:8000`\r\n },\r\n async get_jwt() {\r\n await axios.get(`/api/get-token`, { timeout: 10000 })\r\n .then(response => {\r\n if (response.data.token) {\r\n this.jwt = response.data.token\r\n }\r\n })\r\n .catch(err => (console.log(err)))\r\n },\r\n get_version: function() {\r\n axios.get('/api/update/get-version', { timeout: 60000, headers: { 'X-Token': this.jwt } })\r\n .then(response => { \r\n if(response.data.status) this.current_version = response.data.current_version\r\n })\r\n .catch(error => { console.log(error) });\r\n },\r\n check_update: function() {\r\n axios.get('/api/update/check', { timeout: 60000, headers: { 'X-Token': this.jwt } })\r\n .then(response => { \r\n if(response.data.message == \"A new version is available\"){\r\n this.update_available = true;\r\n }\r\n })\r\n .catch(error => { console.log(error) });\r\n }\r\n },\r\n created: function() {\r\n this.get_jwt().then(() => {\r\n this.get_version();\r\n this.check_update();\r\n });\r\n setInterval(function(){\r\n let res = \"\"\r\n this.letters.forEach(l => { res += l.charAt(this.generate_random(0, 9)) })\r\n this.title = res;\r\n setTimeout(function(){\r\n this.title = \"SPYGUARD\";\r\n }.bind(this), this.generate_random(30, 100));\r\n }.bind(this), this.generate_random(500, 10000));\r\n }\r\n }\r\n</script>\r\n\r\n","import mod from \"-!../node_modules/cache-loader/dist/cjs.js??ref--13-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--1-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--13-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--1-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=6572d034&\"\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&id=6572d034&prod&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'\r\nimport VueRouter from 'vue-router'\r\n\r\nVue.use(VueRouter)\r\n\r\nconst routes = [\r\n {\r\n path: '/',\r\n name: 'default',\r\n component: () => import('../views/home.vue'),\r\n props: true\r\n },\r\n {\r\n path: '/device/configuration',\r\n name: 'device-configuration',\r\n component: () => import('../views/edit-configuration.vue'),\r\n props: true\r\n },\r\n {\r\n path: '/engine/configuration',\r\n name: 'engine-configuration',\r\n component: () => import('../views/analysis-engine.vue'),\r\n props: true\r\n },\r\n {\r\n path: '/device/network',\r\n name: 'device-network',\r\n component: () => import('../views/network-manage.vue'),\r\n props: true\r\n },\r\n {\r\n path: '/device/db',\r\n name: 'db-manage',\r\n component: () => import('../views/db-manage.vue'),\r\n props: true\r\n },\r\n {\r\n path: '/iocs/manage',\r\n name: 'iocs-manage',\r\n component: () => import('../views/iocs-manage.vue'),\r\n props: true\r\n },\r\n {\r\n path: '/instances/misp',\r\n name: 'instance-misp',\r\n component: () => import('../views/instance-misp.vue'),\r\n props: true\r\n },\r\n {\r\n path: '/instances/watchers',\r\n name: 'instance-watchers',\r\n component: () => import('../views/instance-watchers.vue'),\r\n props: true\r\n },\r\n {\r\n path: '/iocs/search',\r\n name: 'iocs-search',\r\n component: () => import('../views/iocs-search.vue'),\r\n props: true\r\n },\r\n {\r\n path: '/whitelist/manage',\r\n name: 'whitelist-manage',\r\n component: () => import('../views/whitelist-manage.vue'),\r\n props: true\r\n },\r\n {\r\n path: '/whitelist/search',\r\n name: 'whitelist-search',\r\n component: () => import('../views/whitelist-search.vue'),\r\n props: true\r\n },\r\n {\r\n path: '/update',\r\n name: 'update',\r\n component: () => import('../views/update.vue'),\r\n props: true\r\n }\r\n]\r\n\r\nconst router = new VueRouter({\r\n mode: 'history',\r\n base: process.env.BASE_URL,\r\n routes\r\n})\r\n\r\nexport default router\r\n","import Vue from 'vue'\r\nimport App from './App.vue'\r\nimport router from './router'\r\nVue.config.productionTip = true\r\nVue.config.devtools = true\r\n\r\nnew Vue({\r\n router,\r\n render: h => h(App)\r\n}).$mount('#app')"],"sourceRoot":""} |