diff --git a/app/frontend/dist/index.html b/app/frontend/dist/index.html index aeb8519..b94e7c6 100644 --- a/app/frontend/dist/index.html +++ b/app/frontend/dist/index.html @@ -1 +1 @@ -Vue App
\ No newline at end of file +Vue App
\ No newline at end of file diff --git a/app/frontend/dist/js/app.13d7f657.js b/app/frontend/dist/js/app.13d7f657.js new file mode 100644 index 0000000..b863202 --- /dev/null +++ b/app/frontend/dist/js/app.13d7f657.js @@ -0,0 +1,2 @@ +(function(e){function t(t){for(var o,n,s=t[0],c=t[1],l=t[2],d=0,u=[];ddurante la creazione del punto di accesso.","error_msg2":"Controlla di aver configurato le interfacce di rete
giuste nel back-end."},"report":{"show_full_report":"Mostra il rapporto completo","start_new_capture":"Avvia una nuova acquisizione","save_capture":"Salva acquisizione","save":"Salvare","print":"Stampare","numbers":["zero","uno","due","tre","quattro","cinque","sei","sette","otto","nove","dieci","undici"],"stalkerware_msg":"Il dispositivo è compromesso da
uno stalkerware, controllare il rapporto.","location_msg":"Un\'applicazione condivide la
geolocalizzazione attuale con terze parti.","fine_msg":"Sembra tutto a posto,
non sono presenti avvisi.","high_msg":"È presente {nb} avviso con priorità elevata,
il dispositivo sembra compromesso.","moderate_msg":"Sono presenti {nb} avvisi con priorità moderata, è possibile che il dispositivo sia compromesso.","low_msg":"Sono presenti solo {nb} avvisi con priorità bassa
da controllare.","save_report":"Salva il rapporto","report_of":"Rapporto di","detection_methods":"Metodi di rilevamento:","indicators":"Indicatori","heuristics":"Anomalie","active":"Attiva","pcap_sha1":"SHA1 della cattura:","capture_started":"Cattura è iniziata su:","capture_ended":"Cattura terminata su:","high":"elevata","moderate":"moderata","low":"bassa","uncat_coms_table":"Comunicazioni non categorizzate","protocol":"Protocollo","domain_name":"Dominio","ip_address":"Indirizzo IP","port":"Porto"},"wifi-select":{"wifi_connected":"Wi-Fi collegato","wifi_not_connected":"Wi-Fi non connesso. Riprovare.","wifi_password":"Password","connect_to_it":"Connettersi"},"save-capture":{"please_connect":"Collegare una chiave USB per salvare l\'acquisizione.","we_are_saving":"Salvataggio dell\'acquisizione in corso.","tap_msg":"È possible toccare la chiave USB per avviare una nuova acquisizione.","capture_download":"Il download dell\'acquisizione sta per iniziare...","start_capture_btn":"Avvia un\'altra acquisizione"},"modals":{"want_to_quit":"Vuoi chiudere la app?","no_go_back":"No, tornare","yes_continue":"Sì, continuare","please_give_the_password":"Inserire la password della rete:","want_to_whitelist":"Vuoi aggiungere {host} alla lista bianca
per le prossime analisi?"}}')},"56d7":function(e,t,a){"use strict";a.r(t),a.d(t,"EventBus",(function(){return T}));var o=a("2b0e"),n=function(){var e=this,t=e._self._c;return t("div",{attrs:{id:"app"}},[t("Modals"),t("router-view"),t("Controls")],1)},i=[],r=a("bc3a"),s=a.n(r),c=function(){var e=this,t=e._self._c;return e.display?t("div",{staticClass:"controls"},[t("i",{staticClass:"battery",class:[e.battery_icon]}),e.iface_out.startsWith("wl")?t("div",{staticClass:"dropup"},[t("i",{staticClass:"wifi",class:[e.wifi_icon]}),t("div",{staticClass:"dropup-content"},[t("ul",e._l(e.wifi_networks,(function(a){return t("li",{key:a,on:{click:function(t){return e.show_modal_wifi(a.name)}}},[t("i",{staticClass:"wifi_mini",class:[e.get_wifi_icon(a.signal)]}),e._v(e._s(a.name)+" ")])})),0)])]):e._e(),t("i",{staticClass:"iocs-number",class:{"border-green":e.iocs_number}},[e._v(e._s(e.iocs_number)+" IOCs")]),e.ip_address?t("i",{staticClass:"ip_addr",class:{"border-green":e.internet}},[e._v(e._s(e.ip_address)+" ")]):t("i",{staticClass:"ip_addr"},[e._v("Not connected")]),t("i",{staticClass:"home-icon",on:{click:function(t){return e.goto_home()}}}),e.backend_option?t("i",{staticClass:"config-icon",on:{click:function(t){return e.goto_backend()}}}):e._e(),e.shutdown_option?t("i",{staticClass:"shutdown-icon",on:{click:function(t){return e.show_modal_shutdown()}}}):e._e()]):e._e()},l=[],d=(a("14d9"),{name:"Controls",data:function(){return{display:!0,update_available:!1,update_possible:!1,shutdown_option:!1,backend_option:!1,remote_backend:!1,iface_out:"",battery_icon:"",wifi_icon:"",wifi_networks:[],iocs_number:0,internet:!1}},methods:{check_update:function(){s.a.get("/api/update/check",{timeout:6e4}).then(e=>{e.data.status?"A new version is available"==e.data.message&&(this.update_available=!0,this.update_possible=!0,window.current_version=e.data.current_version,window.next_version=e.data.next_version):this.update_possible=!1}).catch(e=>{console.log(e)})},goto_backend:function(){this.remote_backend?window.location.href=`https://${location.hostname}:8443`:window.location.href=`http://${location.hostname}:8443`},goto_home:function(){window.location.href="/"},load_config:function(){setInterval(()=>{s.a.get("/api/misc/config",{timeout:6e4}).then(e=>{this.shutdown_option=e.data.shutdown_option,this.backend_option=e.data.backend_option,this.remote_backend=e.data.remote_backend,this.battery_icon=this.get_battery_icon(e.data.battery_level),this.wifi_icon=this.get_wifi_icon(e.data.wifi_level),this.iocs_number=e.data.iocs_number,this.iface_out=e.data.iface_out}).catch(e=>{console.log(e)})},1e3)},get_battery_icon:function(e){return 101==e?"battery_charging":e>=90?"battery_full":e>=80?"battery_80":e>=60?"battery_60":e>=40?"battery_40":e>=25?"battery_25":e<25?"battery_15":"battery_critical"},get_wifi_icon:function(e){return e>=80?"wifi_5":e>=60?"wifi_4":e>=40?"wifi_3":e>=20?"wifi_2":e>=1?"wifi_1":"wifi_0"},show_modal_shutdown:function(){T.$emit("showModal",{action:"shutdown"})},show_modal_wifi:function(e){T.$emit("showModal",{action:"wifi",network_name:e})},get_wifi_networks:function(){setInterval(()=>{s.a.get("/api/network/wifi/list",{timeout:1e4}).then(e=>{this.wifi_networks=[],e.data.networks.forEach(e=>{e.name!=window.access_point&&this.wifi_networks.push(e)})}).catch(e=>{console.log(e)})},1e3)},check_internet:function(){setInterval(()=>{s.a.get("/api/network/status",{timeout:3e4}).then(e=>{e.data.internet?(this.internet=!0,this.ip_address=e.data.ip_out):(this.internet=!1,this.ip_address=!1)}).catch(e=>console.log(e))},1e3)}},watch:{$route(){["loader"].includes(this.$router.currentRoute.name)?this.display=!1:this.display=!0}},created:function(){this.load_config(),this.check_internet(),this.get_wifi_networks()}}),u=d,p=a("2877"),_=Object(p["a"])(u,c,l,!1,null,null,null),m=_.exports,h=function(){var e=this,t=e._self._c;return e.display?t("div",[t("div",{staticClass:"blurred-wrapper",on:{click:function(t){return e.hide_modal()}}}),e.display_shudown?t("div",{staticClass:"modal-window"},[t("div",{staticClass:"modal-content"},[t("p",[e._v(e._s(e.$t("modals.want_to_quit")))]),t("button",{staticClass:"btn btn-primary",on:{click:function(t){return e.hide_modal()}}},[e._v(e._s(e.$t("modals.no_go_back")))]),e._v(" "),t("button",{staticClass:"btn btn-primary",on:{click:function(t){return e.shutdown()}}},[e._v(e._s(e.$t("modals.yes_continue")))])])]):e._e(),e.display_whitelist?t("div",{staticClass:"modal-window"},[t("div",{staticClass:"modal-content"},[t("p",{domProps:{innerHTML:e._s(e.$t("modals.want_to_whitelist").replace("{host}",e.host))}}),t("button",{staticClass:"btn btn-primary",on:{click:function(t){return e.hide_modal()}}},[e._v(e._s(e.$t("modals.no_go_back")))]),e._v(" "),t("button",{staticClass:"btn btn-primary",on:{click:function(t){return e.add_whitelist()}}},[e._v(e._s(e.$t("modals.yes_continue")))])])]):e._e(),e.display_wifi?t("div",{staticClass:"modal-window"},[t("div",{staticClass:"modal-content"},[t("p",[e._v(e._s(e.$t("modals.please_give_the_password"))+" "),t("strong",[e._v(e._s(e.wifi_network))])]),t("div",{staticClass:"form-group"},[t("div",{class:e.password_class,on:{click:e.show_password}}),"checkbox"===e.type?t("input",{directives:[{name:"model",rawName:"v-model",value:e.password,expression:"password"}],staticClass:"form-input",attrs:{id:"password",placeholder:e.$t("wifi-select.wifi_password"),type:"checkbox"},domProps:{checked:Array.isArray(e.password)?e._i(e.password,null)>-1:e.password},on:{click:function(t){e.show_keyboard=!0},change:function(t){var a=e.password,o=t.target,n=!!o.checked;if(Array.isArray(a)){var i=null,r=e._i(a,i);o.checked?r<0&&(e.password=a.concat([i])):r>-1&&(e.password=a.slice(0,r).concat(a.slice(r+1)))}else e.password=n}}}):"radio"===e.type?t("input",{directives:[{name:"model",rawName:"v-model",value:e.password,expression:"password"}],staticClass:"form-input",attrs:{id:"password",placeholder:e.$t("wifi-select.wifi_password"),type:"radio"},domProps:{checked:e._q(e.password,null)},on:{click:function(t){e.show_keyboard=!0},change:function(t){e.password=null}}}):t("input",{directives:[{name:"model",rawName:"v-model",value:e.password,expression:"password"}],staticClass:"form-input",attrs:{id:"password",placeholder:e.$t("wifi-select.wifi_password"),type:e.type},domProps:{value:e.password},on:{click:function(t){e.show_keyboard=!0},input:function(t){t.target.composing||(e.password=t.target.value)}}})]),t("div",{staticClass:"form-group"},[t("button",{staticClass:"btn width-100",class:[e.wifi_connecting?"loading":"",e.wifi_success?"btn-success":"btn-primary"],on:{click:function(t){return e.wifi_setup()}}},[e._v(e._s(e.btn_wifi_val))])])])]):e._e(),e.show_keyboard?t("div",{staticClass:"keyboard_wrapper"},[t("SimpleKeyboard",{attrs:{input:e.input},on:{onChange:e.onChange,onKeyPress:e.onKeyPress}})],1):e._e()]):e._e()},w=[],g=a("a18c"),f=function(){var e=this,t=e._self._c;return t("div",{class:e.keyboardClass})},b=[],v=a("dd7f"),y=a.n(v),k=(a("d2db"),a("a044")),S={name:"SimpleKeyboard",props:{keyboardClass:{default:"simple-keyboard",type:String},input:{type:String}},data:()=>({keyboard:null}),mounted(){"fr"==window.config.user_lang?this.keyboard=new y.a({onChange:this.onChange,onKeyPress:this.onKeyPress,...k["a"]}):this.keyboard=new y.a({onChange:this.onChange,onKeyPress:this.onKeyPress})},methods:{onChange(e){this.$emit("onChange",e)},onKeyPress(e){this.$emit("onKeyPress",e),"{shift}"!==e&&"{lock}"!==e||this.handleShift()},handleShift(){let e=this.keyboard.options.layoutName,t="default"===e?"shift":"default";this.keyboard.setOptions({layoutName:t})}},watch:{input(e){this.keyboard.setInput(e)}}},z=S,C=Object(p["a"])(z,f,b,!1,null,"24d38e56",null),A=C.exports,P={name:"Modals",data:function(){return{btn_wifi_val:this.$t("wifi-select.connect_to_it"),wifi_connecting:!1,error:!1,wifi_success:!1,password:"",capture_token:"",display_whitelist:!1,display_shudown:!1,display_wifi:!1,display:!1,wifi_network:"",show_keyboard:!1,input:"",type:"password",password_class:"password-show"}},components:{SimpleKeyboard:A},methods:{hide_modal:function(){this.display=!1},shutdown:function(){s.a.get("/api/misc/shutdown",{timeout:3e4})},add_whitelist:function(){s.a.get("/api/misc/whitelist/"+this.host,{timeout:3e4}),this.display=!1},onChange(e){this.input=e,this.password=this.input},onKeyPress(e){"{enter}"==e&&(this.show_keyboard=!1)},onInputChange(e){this.input=e.target.value},show_password(){"password"===this.type?(this.type="text",this.password_class="password-hide"):(this.type="password",this.password_class="password-show")},wifi_setup:function(){this.password.length>=8&&(this.wifi_connecting=!0,s.a.post("/api/network/wifi/setup",{ssid:this.wifi_network,password:this.password},{timeout:6e4}).then(e=>{e.data.status?(this.wifi_success=!0,this.wifi_connecting=!1,this.btn_wifi_val=this.$t("wifi-select.wifi_connected"),setTimeout(()=>{this.display=!1,this.btn_wifi_val=this.$t("wifi-select.connect_to_it"),g["a"].push("generate-ap")},1e3)):(this.btn_wifi_val=this.$t("wifi-select.wifi_not_connected"),this.wifi_connecting=!1,setTimeout(()=>{this.btn_wifi_val=this.$t("wifi-select.connect_to_it")},1e3))}))}},created:function(){T.$on("showModal",e=>{this.input="","shutdown"==e.action?(this.show_keyboard=!1,this.display_wifi=!1,this.display_shudown=!0,this.display_whitelist=!1,this.display=!0):"wifi"==e.action?(this.wifi_connecting=!1,this.wifi_success=!1,this.password="",this.btnval=this.$t("wifi-select.connect_to_it"),this.display_shudown=!1,this.display_wifi=!0,this.display_whitelist=!1,this.wifi_network=e.network_name,this.display=!0):"whitelist"==e.action&&(this.show_keyboard=!1,this.display_wifi=!1,this.display_shudown=!1,this.display_whitelist=!0,this.host=e.host,this.display=!0)})}},N=P,I=Object(p["a"])(N,h,w,!1,null,null,null),q=I.exports;document.title="SPYGUARD";var x={name:"app",components:{Controls:m,Modals:q},data(){return{splash:!1}},methods:{set_lang:function(){if(window.config.user_lang){var e=window.config.user_lang;Object.keys(this.$i18n.messages).includes(e)&&(this.$i18n.locale=e,document.querySelector("html").setAttribute("lang",e))}},get_config:function(){s.a.get("/api/misc/config",{timeout:6e4}).then(e=>{window.config=e.data,this.set_lang()}).catch(e=>{console.log(e)})}},watch:{$route(){["loader"].includes(this.$router.currentRoute.name)?this.splash=!0:this.splash=!1}},created:function(){window.config={},this.get_config()}},W=x,B=(a("a0d8"),Object(p["a"])(W,n,i,!1,null,null,null)),O=B.exports,$=a("a925");o["a"].use($["a"]);const M=new $["a"]({locale:"en",fallbackLocale:"en",messages:{en:a("edd4"),fr:a("f693"),es:a("a306"),ru:a("7704"),pt:a("5d67"),it:a("0825"),de:a("6ce2")}});o["a"].config.productionTip=!0,o["a"].config.devtools=!0;const T=new o["a"];new o["a"]({router:g["a"],i18n:M,render:e=>e(O)}).$mount("#app")},"5d67":function(e){e.exports=JSON.parse('{"home":{"welcome_msg":"Bem vindo(a) ao SpyGuard.","help_msg":"Ajudaremos você a verificar o dispositivo.","start_btn":"Vamos começar!"},"analysis":{"question":"Deseja analisar as comunicações capturadas?","no_btn":"Não, somente salvá-las","yes_btn":"Sim, vamos lá","please_wait_msg":"Aguarde enquanto realizamos a análise...","some_time_msg":"Sim, isso pode demorar um pouco..."},"capture":{"intercept_coms_msg":"Interceptando as comunicações de ","stop_btn":"Parar a captura"},"generate-ap":{"network_name":"Nome da rede","network_password":"Senha da rede","tap_msg":"Toque no quadro branco para criar uma nova rede.","generate_ap_msg":"Geramos uma rede temporária para você.","error_msg1":"Infelizmente, tivemos alguns problemas
durante a criação do AP.","error_msg2":"Verifique se você configurou as interfaces de rede
corretas no back-end."},"report":{"show_full_report":"Mostrar o relatório completo","start_new_capture":"Iniciar nova captura","save_capture":"Salvar a captura","save":"Salvar","print":"Imprimir","numbers":["zero","um","dois","três","quatro","cinco","seis","sete","oito","nove","dez","onze"],"stalkerware_msg":"Seu dispositivo foi comprometido por
um stalkerware. Verifique o relatório.","location_msg":"Um aplicativo está compartilhando sua
geolocalização com um terceiro.","fine_msg":"Tudo parece estar bem, zero alertas.","high_msg":"Você tem {nb} alerta crítico,
o dispositivo parece estar comprometido.","moderate_msg":"Você tem {nb} alertas moderados,
o dispositivo pode estar comprometido.","low_msg":"Você tem apenas {nb} alertas leves,
não deixe de verificá-los.","save_report":"Salvar o relatório","report_of":"Relatório de","detection_methods":"Métodos de detecção:","indicators":"Indicadores","heuristics":"Anomalias","active":"Activa","pcap_sha1":"SHA1 da captura:","capture_started":"Captura iniciada em:","capture_ended":"Captura terminou em:","high":"crítico","moderate":"moderado","low":"leve","uncat_coms_table":"Comunicações não categorizadas","protocol":"Protocolo","domain_name":"Domínio","ip_address":"Endereço IP:","port":"Porto"},"wifi-select":{"wifi_connected":"Wi-Fi conectado","wifi_not_connected":"Wi-Fi desconectado. Tente novamente.","wifi_password":"Senha do Wi-Fi","connect_to_it":"Conectar"},"save-capture":{"please_connect":"Conecte uma chave USB para salvar a captura.","we_are_saving":"Estamos salvando a captura.","tap_msg":"Toque na chave USB para iniciar uma nova captura.","capture_download":"O download da captura vai começar...","start_capture_btn":"Iniciar nova captura"},"modals":{"want_to_quit":"Deseja fechar o aplicativo?","no_go_back":"Não, voltar","yes_continue":"Sim, continuar","please_give_the_password":"Indicar a senha da rede: ","want_to_whitelist":"Você quer adicionar {host} à lista branca
para as próximas análises?"}}')},"6ce2":function(e){e.exports=JSON.parse('{"home":{"welcome_msg":"Willkommen bei SpyGuard.","help_msg":"Wir helfen Ihnen bei der Überprüfung Ihres Geräts.","start_btn":"Fangen wir an!"},"analysis":{"question":"Möchten Sie die erfassten Kommunikationsverbindungen analysieren?","no_btn":"Nein, nur speichern","yes_btn":"Ja, analysieren","please_wait_msg":"Bitte warten Sie, während die Analyse läuft …","some_time_msg":"Dies kann eine Weile dauern …"},"capture":{"intercept_coms_msg":"Abfangen der Kommunikationsverbindungen von ","stop_btn":"Aufnahme beenden"},"generate-ap":{"network_name":"Netzwerkname","network_password":"Netzwerkpasswort","tap_msg":"Tippen Sie auf den weißen Rahmen, um ein neues Netzwerk zu erstellen.","generate_ap_msg":"Wir erstellen ein temporäres Netzwerk für Sie.","error_msg1":"Leider sind während der AP-Erstellung
einige Fehler aufgetreten.","error_msg2":"Bitte überprüfen Sie, ob Sie die richtigen
Netzwerkschnittstellen im Backend konfiguriert haben."},"report":{"show_full_report":"Vollständigen Bericht anzeigen","start_new_capture":"Neue Aufnahme starten","save_capture":"Aufnahme speichern","save":"Sichern","print":"Drucken","numbers":["null","eine","zwei","drei","vier","fünf","sechs","sieben","acht","neun","zehn","elf"],"stalkerware_msg":"Ihr Gerät ist durch Stalkerware
kompromittiert; bitte sehen Sie sich den Bericht an.","location_msg":"Eine Anwendung teilt Ihren
aktuellen Standort mit Dritten.","fine_msg":"Alles sieht gut aus – kein Warnungen.","high_msg":"Sie haben {nb} Warnung der Stufe \\"Hoch\\":
Ihr Gerät scheint kompromittiert zu sein.","moderate_msg":"Sie haben {nb} Warnungen der Stufe \\"Mittel\\":
Ihr Gerät könnte kompromittiert sein.","low_msg":"Sie haben nur {nb} Warnungen der Stufe \\"Niedrig\\":
Überprüfen Sie sie gerne.","save_report":"Bericht speichern","report_of":"Bericht zu","detection_methods":"Nachweismethoden:","indicators":"Indikatoren","heuristics":"Anomalien","active":"Aktiv","pcap_sha1":"SHA1 erfassen:","capture_started":"Capture begann mit:","capture_ended":"Capture endete an:","high":"Hoch","moderate":"Mittel","low":"Niedrig","uncat_coms_table":"Kommunikation nicht kategorisiert","protocol":"Protokoll","domain_name":"Domain","ip_address":"IP-Adresse:","port":"Port"},"wifi-select":{"wifi_connected":"Wi-Fi verbunden","wifi_not_connected":"Wi-Fi nicht verbunden. Versuchen Sie es erneut.","wifi_password":"Passwort","connect_to_it":"Anmelden"},"save-capture":{"please_connect":"Bitte schließen Sie einen USB-Stick an, um Ihre Aufnahme zu speichern.","we_are_saving":"Wir speichern Ihre Aufnahme.","tap_msg":"Sie können den USB-Stick antippen, um eine neue Aufnahme zu starten.","capture_download":"Der Download der Aufnahme beginnt …","start_capture_btn":"Noch eine Aufnahme starten"},"modals":{"want_to_quit":"Möchten Sie die App schließen?","no_go_back":"Nein, zurück kommen.","yes_continue":"Ja, weiter machen","please_give_the_password":"Bitte geben Sie das Netzwerkpasswort ein: ","want_to_whitelist":"Möchten Sie {host} für die nächsten
Analysen hinzufügen?"}}')},7704:function(e){e.exports=JSON.parse('{"home":{"welcome_msg":"Добро пожаловать в SpyGuard.","help_msg":"Мы поможем вам проверить ваше устройство.","start_btn":"Итак, приступим!"},"analysis":{"question":"Хотите проанализировать зафиксированные подключения?","no_btn":"Нет, только сохранить","yes_btn":"Да, проанализировать","please_wait_msg":"Подождите, идет анализ...","some_time_msg":"Это может занять некоторое время..."},"capture":{"intercept_coms_msg":"Перехват подключений ","stop_btn":"Остановить сбор данных"},"generate-ap":{"network_name":"Имя сети","network_password":"Пароль сети","tap_msg":"Нажмите на белую рамку, чтобы создать новую сеть.","generate_ap_msg":"Создастся временная сеть.","error_msg1":"
При создании точки доступа возникли проблемы.","error_msg2":"Убедитесь, что вы настроили нужные сетевые интерфейсы
в задней части."},"report":{"show_full_report":"Показать полный отчет","start_new_capture":"Начать новый сбор данных","save_capture":"Сохранить сбор данных","save":"Сохранить","print":"Печатать","numbers":["ноль","один","два","три","четыре","пять","шесть","семь","восемь","девять","десять","одиннадцать"],"stalkerware_msg":"Ваше устройство взломано вредоносным
ПО для слежки. Проверьте отчет.","location_msg":"Приложение передает вашу
текущую геолокацию третьему лицу.","fine_msg":"Предупреждения отсутствуют,
система выглядит защищенной.","high_msg":"У вас {nb} предупреждение высокого уровня.
Вероятно,ваше устройство взломано.","moderate_msg":"У вас {nb} предупреждение среднего уровня.
Возможно, ваше устройство взломано.","low_msg":"У вас {nb} предупреждение низкого уровня
, проверьте их.","save_report":"Сохранить отчет","report_of":"Отчет","detection_methods":"методы обнаружения:","indicators":"Показателям","heuristics":"аномалии","active":"активное","pcap_sha1":"SHA1 захват:","capture_started":"Захват начался:","capture_ended":"захват закончился:","high":"высокий","moderate":"средний","low":"низкий","uncat_coms_table":"Несекретные сообщения","protocol":"Протокол","domain_name":"домен","ip_address":"IP-адрес:","port":"порт"},"wifi-select":{"wifi_connected":"Подключено к сети Wi-Fi","wifi_not_connected":"Не подключено к сети Wi-Fi. Повторите попытку.","tap_keyboard":"Коснитесь виртуальной клавиатуры, чтобы начать","wifi_password":"Пароль Wi-Fi"},"save-capture":{"please_connect":"Подсоедините USB-ключ, чтобы сохранить результат сбора данных.","we_are_saving":"Сохранение собранных данных.","tap_msg":"Коснитесь USB-ключа, чтобы начать новый сбор данных.","capture_download":"Начинается загрузка собранных данных...","start_capture_btn":"Начать новый сбор данных"},"modals":{"want_to_quit":"Вы бы хотели уйти?","no_go_back":"Нет","yes_continue":"да","please_give_the_password":"VПожалуйста, введите сетевой пароль: ","want_to_whitelist":"Вы хотите добавить {host} в белый список
для будущих испытаний?"}}')},a0d8:function(e,t,a){"use strict";a("c266")},a18c:function(e,t,a){"use strict";var o=a("2b0e"),n=a("8c4f");o["a"].use(n["a"]);const i=[{path:"/",name:"loader",component:()=>a.e("chunk-2d0b6d35").then(a.bind(null,"1f8b")),props:!0},{path:"/home",name:"home",component:()=>a.e("chunk-2d0cfa15").then(a.bind(null,"6511")),props:!0},{path:"/generate-ap",name:"generate-ap",component:()=>a.e("chunk-2d0baeaa").then(a.bind(null,"38f5")),props:!0},{path:"/capture",name:"capture",component:()=>a.e("chunk-2e6079ad").then(a.bind(null,"e583")),props:!0},{path:"/save-capture",name:"save-capture",component:()=>a.e("chunk-0d175fb6").then(a.bind(null,"9152")),props:!0},{path:"/analysis",name:"analysis",component:()=>a.e("chunk-2d0b23b3").then(a.bind(null,"22da")),props:!0},{path:"/report",name:"report",component:()=>a.e("chunk-7cb613d5").then(a.bind(null,"e022")),props:!0}],r=new n["a"]({mode:"history",base:"/",routes:i});t["a"]=r},a306:function(e){e.exports=JSON.parse('{"home":{"welcome_msg":"Bienvenido a SpyGuard.","help_msg":"Te ayudaremos a revisar tu dispositivo","start_btn":"¡Empecemos!"},"analysis":{"question":"¿Quieres analizar las comunicaciones capturadas?","no_btn":"No, solo guárdalos","yes_btn":"Sí, hagámoslo","please_wait_msg":"Espere durante el análisis ...","some_time_msg":"Sí, puede llevar algún tiempo ..."},"capture":{"intercept_coms_msg":"Interceptando las comunicaciones de","stop_btn":"Detener la captura"},"generate-ap":{"network_name":"Nombre de la red","network_password":"Contraseña de red","tap_msg":"Toca el marco blanco para generar una nueva red","generate_ap_msg":"Generamos una red efímera para ti.","error_msg1":"Desafortunadamente, tuvimos algunos problemas
durante la creación del AP.","error_msg2":"Compruebe que ha configurado las interfaces de red
correctas en el back-end."},"report":{"show_full_report":"Mostrar el informe completo","start_new_capture":"Nueva captura","save_capture":"Guardar la captura","save":"Guardar","print":"Imprimir","numbers":["cero","uno","dos","Tres","cuatro","cinco","seis","Siete","ocho","nueve","diez","once"],"stalkerware_msg":"Su dispositivo está comprometido por
un Stalkerware, por favor revise el informe.","location_msg":"Una aplicación está compartiendo su
geolocalización actual con un tercero.","fine_msg":"Todo parece correcto, cero alertas","high_msg":"Tiene {nb} alerta máxima,
tu dispositivo parece estar comprometido","moderate_msg":"Tiene {nb} alertas moderadas,
tu dispositivo puede estar comprometido","low_msg":"Solo tiene {nb} alertas bajas,
por favor revíselas","save_report":"Guardar el informe","report_of":"Informe de","detection_methods":"Métodos de detección:","indicators":"Indicadores","heuristics":"Anomalías","active":"Activa","pcap_sha1":"SHA1 de la captura:","capture_started":"Captura comenzó a:","capture_ended":"Captura terminó a:","high":"alta","moderate":"moderada","low":"bajo","uncat_coms_table":"Sin categorizar Comunicaciones","protocol":"Protocolo","domain_name":"Dominio","ip_address":"Dirección IP ","port":"Puerto"},"wifi-select":{"wifi_connected":"Wi-Fi conectada","wifi_not_connected":"Wi-Fi no conectado. Inténtelo de nuevo.","wifi_password":"Contraseña","connect_to_it":"Conectarse"},"save-capture":{"please_connect":"Conecte una llave USB para guardar su captura.","we_are_saving":"Estamos guardando tu captura.","tap_msg":"Puede tocar la llave USB para iniciar una nueva captura","capture_download":"La descarga de la captura va a comenzar ...","start_capture_btn":"Iniciar otra captura"},"modals":{"want_to_quit":"¿Quieres cerrar la aplicación?","no_go_back":"No, volver","yes_continue":"Sí, continuar","please_give_the_password":"Introduzca la contraseña de la red: ","want_to_whitelist":"¿Desea incluir {host}
en la lista blanca?"}}')},c266:function(e,t,a){},edd4:function(e){e.exports=JSON.parse('{"home":{"welcome_msg":"Welcome to SpyGuard.","help_msg":"We are going to help you to check your device.","start_btn":"Let\'s start!"},"analysis":{"question":"Do you want to analyze the captured communications?","no_btn":"No, just save them","yes_btn":"Yes, let\'s do it","please_wait_msg":"Please wait during the analysis...","some_time_msg":"Yes, it can take some time..."},"capture":{"intercept_coms_msg":"Intercepting the communications of ","stop_btn":"Stop the capture"},"generate-ap":{"network_name":"Network name","network_password":"Network password","tap_msg":"Tap the white frame to generate a new network.","generate_ap_msg":"We generate an ephemeral network for you.","error_msg1":"Unfortunately, we got some issues
during the AP creation.","error_msg2":"Please check that you have configured the right
network interfaces in the back-end."},"report":{"show_full_report":"Show the full report","start_new_capture":"Start a new capture","save_capture":"Save the capture","save":"Save","print":"Print","numbers":["zero","one","two","three","four","five","six","seven","eight","nine","ten","eleven"],"stalkerware_msg":"Your device is compromised by
a Stalkerware, please check the report.","location_msg":"An application is sharing your
current geolocation with a third party.","fine_msg":"Everything looks fine, zero alerts.","high_msg":"You have {nb} high alert,
your device seems to be compromised.","moderate_msg":"You have {nb} moderate alerts,
your device might be compromised.","low_msg":"You have only {nb} low alerts,
don\'t hesitate to check them.","save_report":"Save the report","report_of":"Report of","detection_methods":"Detection methods:","indicators":"Indicators","heuristics":"Anomalies","active":"Active","pcap_sha1":"Capture SHA1:","capture_started":"Capture started on:","capture_ended":"Capture ended on:","high":"high","moderate":"moderate","low":"low","uncat_coms_table":"Uncategorized communications","protocol":"Protocol","domain_name":"Domain","ip_address":"IP Address","port":"Port"},"wifi-select":{"wifi_connected":"Wi-Fi connected","wifi_not_connected":"Wi-Fi not connected. Please retry.","wifi_password":"Password","connect_to_it":"Connect to it"},"save-capture":{"please_connect":"Please connect a USB key to save your capture.","we_are_saving":"We are saving your capture.","tap_msg":"You can tap the USB key to start a new capture.","capture_download":"The capture download is going to start...","start_capture_btn":"Start another capture"},"modals":{"want_to_quit":"Do you want to leave the application?","no_go_back":"No, go back","yes_continue":"Yes, continue","please_give_the_password":"Please enter the password for the network: ","want_to_whitelist":"Do you want to add {host} to the whitelist
for the next analysis?"}}')},f693:function(e){e.exports=JSON.parse('{"home":{"welcome_msg":"Bienvenue sur SpyGuard.","help_msg":"Nous allons vous accompagner pour analyser votre appareil.","start_btn":"Allons-y !"},"analysis":{"question":"Voulez-vous analyser les communications capturées ?","no_btn":"Non, enregistrez-les.","yes_btn":"Oui, allons-y !","please_wait_msg":"Merci d\'attendre pendant l\'analyse...","some_time_msg":"Oui, cela peut prendre du temps..."},"capture":{"intercept_coms_msg":"Interception des communications de ","stop_btn":"Arrêter la capture"},"generate-ap":{"network_name":"Nom du réseau Wi-Fi","network_password":"Mot de passe","tap_msg":"Appuyez sur le cadre blanc pour générer un nouveau réseau.","generate_ap_msg":"Nous générons un réseau Wi-Fi éphémère.","error_msg1":"Malheureusement, nous rencontrons des problèmes
lors de la création du point d\'accès.","error_msg2":"Veuillez vérifier avez renseigné les bonnes
interfaces réseau dans le back-end."},"report":{"show_full_report":"Lire le rapport complet","start_new_capture":"Nouvelle capture","save_capture":"Sauvegarder la capture","save":"Sauvegarder","print":"Imprimer","numbers":["zéro","une","deux","trois","quatre","cinq","six","sept","huit","neuf","dix","onze"],"stalkerware_msg":"Votre smartphone est compromis
par un Stalkerware, lisez le rapport.","location_msg":"Une application dévoile votre
géo-localisation actelle.","fine_msg":"Aucun flux suspect détecté,
vous avez aucune alerte.","high_msg":"Vous avez {nb} alerte.s élevée.s,
votre appareil semble être compromis.","moderate_msg":"Vous avez {nb} alerte.s moyenne.s,
votre appareil est peut-être compromis.","low_msg":"Vous avez uniquement {nb} alerte.s basse.s
n\'hésitez pas à les consulter.","save_report":"Archiver le rapport","report_of":"Rapport de","detection_methods":"Méthodes de détection :","indicators":"Indicateurs","heuristics":"Anomalies","active":"Active","pcap_sha1":"SHA1 de la capture :","capture_started":"Capture débutée le :","capture_ended":"Capture finie le :","high":"elevée","moderate":"moyenne","low":"basse","uncat_coms_table":"Communications non catégorisées","protocol":"Protocole","domain_name":"Domaine","ip_address":"Adresse IP","port":"Port"},"wifi-select":{"wifi_connected":"Wi-Fi connecté","wifi_not_connected":"Wi-Fi non connecté. Réessayez.","wifi_password":"Mot de passe","connect_to_it":"Se connecter"},"save-capture":{"please_connect":"Connectez une clé USB pour enregistrer votre capture.","we_are_saving":"Nous enregistrons votre capture.","tap_msg":"Vous pouvez appuyer sur l\'animation pour lancer une nouvelle capture.","capture_download":"Le téléchargement de la capture va se lancer...","start_capture_btn":"Lancer une nouvelle capture"},"modals":{"want_to_quit":"Voulez-vous fermer l\'application ?","no_go_back":"Non, revenir","yes_continue":"Oui, continuer","please_give_the_password":"Veuillez renseigner le mot de passe du réseau : ","want_to_whitelist":"Voulez-vous ajouter {host} à la liste blanche
pour les prochaines analyses ?"}}')}}); +//# sourceMappingURL=app.13d7f657.js.map \ No newline at end of file diff --git a/app/frontend/dist/js/app.3056ab4c.js.map b/app/frontend/dist/js/app.13d7f657.js.map similarity index 99% rename from app/frontend/dist/js/app.3056ab4c.js.map rename to app/frontend/dist/js/app.13d7f657.js.map index e581ac8..3363baf 100644 --- a/app/frontend/dist/js/app.3056ab4c.js.map +++ b/app/frontend/dist/js/app.13d7f657.js.map @@ -1 +1 @@ -{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/App.vue","webpack:///./src/components/Controls.vue","webpack:///src/components/Controls.vue","webpack:///./src/components/Controls.vue?a1ee","webpack:///./src/components/Controls.vue?8e44","webpack:///./src/components/Modals.vue","webpack:///./src/components/SimpleKeyboard.vue","webpack:///src/components/SimpleKeyboard.vue","webpack:///./src/components/SimpleKeyboard.vue?fbca","webpack:///./src/components/SimpleKeyboard.vue?8b25","webpack:///src/components/Modals.vue","webpack:///./src/components/Modals.vue?d015","webpack:///./src/components/Modals.vue?486e","webpack:///src/App.vue","webpack:///./src/App.vue?60d0","webpack:///./src/App.vue?315a","webpack:///./src/plugins/i18n.js","webpack:///./src/main.js","webpack:///./src/App.vue?d371","webpack:///./src/router/index.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","installedCssChunks","jsonpScriptSrc","p","exports","module","l","e","promises","cssChunks","Promise","resolve","reject","href","fullhref","existingLinkTags","document","getElementsByTagName","tag","dataHref","getAttribute","rel","existingStyleTags","linkTag","createElement","type","onload","onerror","event","request","target","src","err","Error","code","parentNode","removeChild","head","appendChild","then","installedChunkData","promise","onScriptComplete","script","charset","timeout","nc","setAttribute","error","clearTimeout","chunk","errorType","realSrc","message","name","undefined","setTimeout","all","m","c","d","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","oe","console","jsonpArray","window","oldJsonpFunction","slice","render","_vm","this","_c","_self","attrs","staticRenderFns","display","staticClass","class","battery_icon","iface_out","startsWith","wifi_icon","_l","wifi_networks","network","on","$event","show_modal_wifi","get_wifi_icon","signal","_v","_s","_e","iocs_number","ip_address","internet","goto_home","backend_option","goto_backend","shutdown_option","show_modal_shutdown","update_available","update_possible","remote_backend","methods","check_update","axios","catch","load_config","setInterval","get_battery_icon","EventBus","get_wifi_networks","response","check_internet","watch","$route","created","component","hide_modal","display_shudown","$t","shutdown","display_whitelist","domProps","replace","host","add_whitelist","display_wifi","wifi_network","password_class","show_password","directives","rawName","password","expression","Array","isArray","_i","show_keyboard","$$a","$$el","$$c","checked","$$v","$$i","concat","_q","composing","wifi_connecting","wifi_success","wifi_setup","btn_wifi_val","input","onChange","onKeyPress","keyboardClass","props","default","keyboard","mounted","handleShift","layoutName","capture_token","components","SimpleKeyboard","onInputChange","ssid","router","Controls","Modals","splash","set_lang","get_config","Vue","use","VueI18n","i18n","locale","fallbackLocale","messages","require","config","productionTip","devtools","h","App","$mount","VueRouter","routes","path","base","process"],"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,EAAe,KAItE,OAAOD,EAIR,IAAIQ,EAAmB,GAGnBC,EAAqB,CACxB,IAAO,GAMJ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AW,IAAI+D,OAE5B,IAAIA,OAAI,CACNN,cACAS,OACA7G,OAAQqH,GAAKA,EAAEC,KACdC,OAAO,S,49RCdV,W,kCCAA,4BAIAb,OAAIC,IAAIa,QAER,MAAMC,EAAS,CACb,CACEC,KAAM,IACN1J,KAAM,SACNkF,UAAW,IAAM,gDACjBuC,OAAO,GAET,CACEiC,KAAM,QACN1J,KAAM,OACNkF,UAAW,IAAM,gDACjBuC,OAAO,GAET,CACEiC,KAAM,eACN1J,KAAM,cACNkF,UAAW,IAAM,gDACjBuC,OAAO,GAET,CACEiC,KAAM,WACN1J,KAAM,UACNkF,UAAW,IAAM,gDACjBuC,OAAO,GAET,CACEiC,KAAM,gBACN1J,KAAM,eACNkF,UAAW,IAAM,gDACjBuC,OAAO,GAET,CACEiC,KAAM,YACN1J,KAAM,WACNkF,UAAW,IAAM,gDACjBuC,OAAO,GAET,CACEiC,KAAM,UACN1J,KAAM,SACNkF,UAAW,IAAM,gDACjBuC,OAAO,IAILW,EAAS,IAAIoB,OAAU,CAC3BvI,KAAM,UACN0I,KAAMC,IACNH,WAGarB,U","file":"js/app.3056ab4c.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 CSS chunks\n \tvar installedCssChunks = {\n \t\t\"app\": 0\n \t}\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-0d175fb6\":\"abef9fad\",\"chunk-2d0b23b3\":\"d02b548c\",\"chunk-2d0b6d35\":\"656552d9\",\"chunk-2d0baeaa\":\"14768760\",\"chunk-2d0cfa15\":\"19c6d0ba\",\"chunk-2e6079ad\":\"851ba167\",\"chunk-7cb613d5\":\"5349d43e\"}[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// mini-css-extract-plugin CSS loading\n \t\tvar cssChunks = {\"chunk-0d175fb6\":1,\"chunk-7cb613d5\":1};\n \t\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n \t\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n \t\t\tpromises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {\n \t\t\t\tvar href = \"css/\" + ({}[chunkId]||chunkId) + \".\" + {\"chunk-0d175fb6\":\"3b87afd9\",\"chunk-2d0b23b3\":\"31d6cfe0\",\"chunk-2d0b6d35\":\"31d6cfe0\",\"chunk-2d0baeaa\":\"31d6cfe0\",\"chunk-2d0cfa15\":\"31d6cfe0\",\"chunk-2e6079ad\":\"31d6cfe0\",\"chunk-7cb613d5\":\"030f6319\"}[chunkId] + \".css\";\n \t\t\t\tvar fullhref = __webpack_require__.p + href;\n \t\t\t\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n \t\t\t\tfor(var i = 0; i < existingLinkTags.length; i++) {\n \t\t\t\t\tvar tag = existingLinkTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n \t\t\t\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return resolve();\n \t\t\t\t}\n \t\t\t\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n \t\t\t\tfor(var i = 0; i < existingStyleTags.length; i++) {\n \t\t\t\t\tvar tag = existingStyleTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\");\n \t\t\t\t\tif(dataHref === href || dataHref === fullhref) return resolve();\n \t\t\t\t}\n \t\t\t\tvar linkTag = document.createElement(\"link\");\n \t\t\t\tlinkTag.rel = \"stylesheet\";\n \t\t\t\tlinkTag.type = \"text/css\";\n \t\t\t\tlinkTag.onload = resolve;\n \t\t\t\tlinkTag.onerror = function(event) {\n \t\t\t\t\tvar request = event && event.target && event.target.src || fullhref;\n \t\t\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + request + \")\");\n \t\t\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n \t\t\t\t\terr.request = request;\n \t\t\t\t\tdelete installedCssChunks[chunkId]\n \t\t\t\t\tlinkTag.parentNode.removeChild(linkTag)\n \t\t\t\t\treject(err);\n \t\t\t\t};\n \t\t\t\tlinkTag.href = fullhref;\n\n \t\t\t\tvar head = document.getElementsByTagName(\"head\")[0];\n \t\t\t\thead.appendChild(linkTag);\n \t\t\t}).then(function() {\n \t\t\t\tinstalledCssChunks[chunkId] = 0;\n \t\t\t}));\n \t\t}\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","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{attrs:{\"id\":\"app\"}},[_c('Modals'),_c('router-view'),_c('Controls')],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return (_vm.display)?_c('div',{staticClass:\"controls\"},[_c('i',{staticClass:\"battery\",class:[_vm.battery_icon]}),(_vm.iface_out.startsWith('wl'))?_c('div',{staticClass:\"dropup\"},[_c('i',{staticClass:\"wifi\",class:[_vm.wifi_icon]}),_c('div',{staticClass:\"dropup-content\"},[_c('ul',_vm._l((_vm.wifi_networks),function(network){return _c('li',{key:network,on:{\"click\":function($event){return _vm.show_modal_wifi(network.name)}}},[_c('i',{staticClass:\"wifi_mini\",class:[_vm.get_wifi_icon(network.signal)]}),_vm._v(_vm._s(network.name)+\" \")])}),0)])]):_vm._e(),_c('i',{staticClass:\"iocs-number\",class:{ 'border-green': _vm.iocs_number }},[_vm._v(_vm._s(_vm.iocs_number)+\" IOCs\")]),(_vm.ip_address)?_c('i',{staticClass:\"ip_addr\",class:{ 'border-green': _vm.internet }},[_vm._v(_vm._s(_vm.ip_address)+\" \")]):_c('i',{staticClass:\"ip_addr\"},[_vm._v(\"Not connected\")]),_c('i',{staticClass:\"home-icon\",on:{\"click\":function($event){return _vm.goto_home()}}}),(_vm.backend_option)?_c('i',{staticClass:\"config-icon\",on:{\"click\":function($event){return _vm.goto_backend()}}}):_vm._e(),(_vm.shutdown_option)?_c('i',{staticClass:\"shutdown-icon\",on:{\"click\":function($event){return _vm.show_modal_shutdown()}}}):_vm._e()]):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\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!./Controls.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!./Controls.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Controls.vue?vue&type=template&id=08d0a0d1&\"\nimport script from \"./Controls.vue?vue&type=script&lang=js&\"\nexport * from \"./Controls.vue?vue&type=script&lang=js&\"\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 render(){var _vm=this,_c=_vm._self._c;return (_vm.display)?_c('div',[_c('div',{staticClass:\"blurred-wrapper\",on:{\"click\":function($event){return _vm.hide_modal()}}}),(_vm.display_shudown)?_c('div',{staticClass:\"modal-window\"},[_c('div',{staticClass:\"modal-content\"},[_c('p',[_vm._v(_vm._s(_vm.$t(\"modals.want_to_quit\")))]),_c('button',{staticClass:\"btn btn-primary\",on:{\"click\":function($event){return _vm.hide_modal()}}},[_vm._v(_vm._s(_vm.$t(\"modals.no_go_back\")))]),_vm._v(\" \"),_c('button',{staticClass:\"btn btn-primary\",on:{\"click\":function($event){return _vm.shutdown()}}},[_vm._v(_vm._s(_vm.$t(\"modals.yes_continue\")))])])]):_vm._e(),(_vm.display_whitelist)?_c('div',{staticClass:\"modal-window\"},[_c('div',{staticClass:\"modal-content\"},[_c('p',{domProps:{\"innerHTML\":_vm._s(_vm.$t('modals.want_to_whitelist').replace('{host}', _vm.host))}}),_c('button',{staticClass:\"btn btn-primary\",on:{\"click\":function($event){return _vm.hide_modal()}}},[_vm._v(_vm._s(_vm.$t(\"modals.no_go_back\")))]),_vm._v(\" \"),_c('button',{staticClass:\"btn btn-primary\",on:{\"click\":function($event){return _vm.add_whitelist()}}},[_vm._v(_vm._s(_vm.$t(\"modals.yes_continue\")))])])]):_vm._e(),(_vm.display_wifi)?_c('div',{staticClass:\"modal-window\"},[_c('div',{staticClass:\"modal-content\"},[_c('p',[_vm._v(_vm._s(_vm.$t(\"modals.please_give_the_password\"))+\" \"),_c('strong',[_vm._v(_vm._s(_vm.wifi_network))])]),_c('div',{staticClass:\"form-group\"},[_c('div',{class:_vm.password_class,on:{\"click\":_vm.show_password}}),((_vm.type)==='checkbox')?_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.password),expression:\"password\"}],staticClass:\"form-input\",attrs:{\"id\":\"password\",\"placeholder\":_vm.$t('wifi-select.wifi_password'),\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(_vm.password)?_vm._i(_vm.password,null)>-1:(_vm.password)},on:{\"click\":function($event){_vm.show_keyboard = true;},\"change\":function($event){var $$a=_vm.password,$$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.password=$$a.concat([$$v]))}else{$$i>-1&&(_vm.password=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.password=$$c}}}}):((_vm.type)==='radio')?_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.password),expression:\"password\"}],staticClass:\"form-input\",attrs:{\"id\":\"password\",\"placeholder\":_vm.$t('wifi-select.wifi_password'),\"type\":\"radio\"},domProps:{\"checked\":_vm._q(_vm.password,null)},on:{\"click\":function($event){_vm.show_keyboard = true;},\"change\":function($event){_vm.password=null}}}):_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.password),expression:\"password\"}],staticClass:\"form-input\",attrs:{\"id\":\"password\",\"placeholder\":_vm.$t('wifi-select.wifi_password'),\"type\":_vm.type},domProps:{\"value\":(_vm.password)},on:{\"click\":function($event){_vm.show_keyboard = true;},\"input\":function($event){if($event.target.composing)return;_vm.password=$event.target.value}}})]),_c('div',{staticClass:\"form-group\"},[_c('button',{staticClass:\"btn width-100\",class:[ _vm.wifi_connecting ? 'loading' : '', _vm.wifi_success ? 'btn-success' : 'btn-primary', ],on:{\"click\":function($event){return _vm.wifi_setup()}}},[_vm._v(_vm._s(_vm.btn_wifi_val))])])])]):_vm._e(),(_vm.show_keyboard)?_c('div',{staticClass:\"keyboard_wrapper\"},[_c('SimpleKeyboard',{attrs:{\"input\":_vm.input},on:{\"onChange\":_vm.onChange,\"onKeyPress\":_vm.onKeyPress}})],1):_vm._e()]):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{class:_vm.keyboardClass})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\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!./SimpleKeyboard.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!./SimpleKeyboard.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SimpleKeyboard.vue?vue&type=template&id=24d38e56&scoped=true&\"\nimport script from \"./SimpleKeyboard.vue?vue&type=script&lang=js&\"\nexport * from \"./SimpleKeyboard.vue?vue&type=script&lang=js&\"\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 \"24d38e56\",\n null\n \n)\n\nexport default component.exports","\n\n\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!./Modals.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!./Modals.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Modals.vue?vue&type=template&id=73ca2b7b&\"\nimport script from \"./Modals.vue?vue&type=script&lang=js&\"\nexport * from \"./Modals.vue?vue&type=script&lang=js&\"\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","\r\n\r\n\r\n\r\n\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=4e2caeba&\"\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=4e2caeba&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'\nimport VueI18n from 'vue-i18n'\n\nVue.use(VueI18n)\n\nexport const i18n = new VueI18n({\n locale: 'en',\n fallbackLocale: 'en',\n messages: {\n 'en': require('@/locales/en.json'),\n 'fr': require('@/locales/fr.json'),\n 'es': require('@/locales/es.json'),\n 'ru': require('@/locales/ru.json'),\n 'pt': require('@/locales/pt.json'),\n 'it': require('@/locales/it.json'),\n 'de': require('@/locales/de.json')\n }\n})","import Vue from 'vue'\r\nimport App from './App.vue'\r\nimport router from './router'\r\nimport { i18n } from '@/plugins/i18n'\r\n\r\nVue.config.productionTip = true\r\nVue.config.devtools = true\r\n\r\nexport const EventBus = new Vue();\r\n\r\nnew Vue({\r\n router,\r\n i18n,\r\n render: h => h(App)\r\n}).$mount('#app')","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=4e2caeba&prod&lang=css&\"","import Vue from 'vue'\r\nimport VueRouter from 'vue-router'\r\n\r\n\r\nVue.use(VueRouter)\r\n\r\nconst routes = [\r\n {\r\n path: '/',\r\n name: 'loader',\r\n component: () => import('../views/splash-screen.vue'),\r\n props: true\r\n },\r\n {\r\n path: '/home',\r\n name: 'home',\r\n component: () => import('../views/home.vue'),\r\n props: true\r\n },\r\n {\r\n path: '/generate-ap',\r\n name: 'generate-ap',\r\n component: () => import('../views/generate-ap.vue'),\r\n props: true\r\n },\r\n {\r\n path: '/capture',\r\n name: 'capture',\r\n component: () => import('../views/capture.vue'),\r\n props: true\r\n },\r\n {\r\n path: '/save-capture',\r\n name: 'save-capture',\r\n component: () => import('../views/save-capture.vue'),\r\n props: true\r\n },\r\n {\r\n path: '/analysis',\r\n name: 'analysis',\r\n component: () => import('../views/analysis.vue'),\r\n props: true\r\n },\r\n {\r\n path: '/report',\r\n name: 'report',\r\n component: () => import('../views/report.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"],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/App.vue","webpack:///./src/components/Controls.vue","webpack:///src/components/Controls.vue","webpack:///./src/components/Controls.vue?a1ee","webpack:///./src/components/Controls.vue?8e44","webpack:///./src/components/Modals.vue","webpack:///./src/components/SimpleKeyboard.vue","webpack:///src/components/SimpleKeyboard.vue","webpack:///./src/components/SimpleKeyboard.vue?fbca","webpack:///./src/components/SimpleKeyboard.vue?8b25","webpack:///src/components/Modals.vue","webpack:///./src/components/Modals.vue?d015","webpack:///./src/components/Modals.vue?486e","webpack:///src/App.vue","webpack:///./src/App.vue?60d0","webpack:///./src/App.vue?315a","webpack:///./src/plugins/i18n.js","webpack:///./src/main.js","webpack:///./src/App.vue?d371","webpack:///./src/router/index.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","installedCssChunks","jsonpScriptSrc","p","exports","module","l","e","promises","cssChunks","Promise","resolve","reject","href","fullhref","existingLinkTags","document","getElementsByTagName","tag","dataHref","getAttribute","rel","existingStyleTags","linkTag","createElement","type","onload","onerror","event","request","target","src","err","Error","code","parentNode","removeChild","head","appendChild","then","installedChunkData","promise","onScriptComplete","script","charset","timeout","nc","setAttribute","error","clearTimeout","chunk","errorType","realSrc","message","name","undefined","setTimeout","all","m","c","d","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","oe","console","jsonpArray","window","oldJsonpFunction","slice","render","_vm","this","_c","_self","attrs","staticRenderFns","display","staticClass","class","battery_icon","iface_out","startsWith","wifi_icon","_l","wifi_networks","network","on","$event","show_modal_wifi","get_wifi_icon","signal","_v","_s","_e","iocs_number","ip_address","internet","goto_home","backend_option","goto_backend","shutdown_option","show_modal_shutdown","update_available","update_possible","remote_backend","methods","check_update","axios","catch","load_config","setInterval","get_battery_icon","EventBus","get_wifi_networks","response","check_internet","watch","$route","created","component","hide_modal","display_shudown","$t","shutdown","display_whitelist","domProps","replace","host","add_whitelist","display_wifi","wifi_network","password_class","show_password","directives","rawName","password","expression","Array","isArray","_i","show_keyboard","$$a","$$el","$$c","checked","$$v","$$i","concat","_q","composing","wifi_connecting","wifi_success","wifi_setup","btn_wifi_val","input","onChange","onKeyPress","keyboardClass","props","default","keyboard","mounted","handleShift","layoutName","capture_token","components","SimpleKeyboard","onInputChange","ssid","router","Controls","Modals","splash","set_lang","get_config","Vue","use","VueI18n","i18n","locale","fallbackLocale","messages","require","config","productionTip","devtools","h","App","$mount","VueRouter","routes","path","base","process"],"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,G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GlB,EAAkB,G,YCFlBN,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACM,MAAMR,EAAIuF,iBAEnFlF,EAAkB,G,6CCOP,GACftC,sBACAyH,OACAD,eACAE,0BACAvJ,aAEAkJ,OACAlJ,cAGAtD,WACA8M,gBAEAC,UACA,8BACA,uBACAN,uBACAC,8BACA,SAGA,uBACAD,uBACAC,8BAKAnD,SACAkD,YACA,0BAEAC,cACA,2BAKA,iDAEAM,cACA,uCACA,kCAEA,0BACAC,iBAIA/C,OACAsC,SACA,6BC7DwV,ICOpV,EAAY,eACd,EACA,EACA,GACA,EACA,KACA,WACA,MAIa,I,QCsBA,GACfrH,cACAnF,gBACA,OACAuM,kDACAH,mBACAvH,SACAwH,gBACAhB,YACA6B,iBACAxC,qBACAH,mBACAQ,gBACArD,WACAsD,gBACAU,iBACAc,SACAlJ,gBACA2H,iCAGAkC,YACAC,kBAEA7D,SACAe,sBACA,iBAEAG,oBACAhB,8BAAA/E,eAEAoG,yBACArB,0CAAA/E,cACA,iBAEA+H,YACA,aACA,0BAEAC,cACA,uCAEAW,iBACA,2BAEAnC,gBACA,wBACA,iBACA,sCAEA,qBACA,sCAGAoB,sBACA,0BACA,wBACA7C,oCAAA6D,uBAAAjC,wBAAA,CAAA3G,cACAN,SACA,eACA,qBACA,wBACA,wDACAiB,gBACA,gBACA,uDACAkI,4BACA,OAEA,4DACA,wBACAlI,gBACA,wDACA,WAMA+E,mBACAN,sBACA,cACA,sBACA,sBACA,qBACA,wBACA,0BACA,iBACA,kBACA,wBACA,qBACA,iBACA,iDACA,wBACA,qBACA,0BACA,iCACA,iBACA,wBACA,sBACA,qBACA,wBACA,0BACA,iBACA,qBChJgV,ICO5U,EAAY,eACd,EACA,EACA,GACA,EACA,KACA,KACA,MAIa,I,QCAfjH,0BAEA,OACAsC,WACAgI,YACAK,WACAC,UACAzN,OACA,OACA0N,YAGAnE,SACAoE,o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","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 CSS chunks\n \tvar installedCssChunks = {\n \t\t\"app\": 0\n \t}\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-0d175fb6\":\"56d23ddc\",\"chunk-2d0b23b3\":\"3d66404f\",\"chunk-2d0b6d35\":\"9c950e8a\",\"chunk-2d0baeaa\":\"9d6eca74\",\"chunk-2d0cfa15\":\"805b5619\",\"chunk-2e6079ad\":\"3b1ceaed\",\"chunk-7cb613d5\":\"35dd63f5\"}[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// mini-css-extract-plugin CSS loading\n \t\tvar cssChunks = {\"chunk-0d175fb6\":1,\"chunk-7cb613d5\":1};\n \t\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n \t\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n \t\t\tpromises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {\n \t\t\t\tvar href = \"css/\" + ({}[chunkId]||chunkId) + \".\" + {\"chunk-0d175fb6\":\"3b87afd9\",\"chunk-2d0b23b3\":\"31d6cfe0\",\"chunk-2d0b6d35\":\"31d6cfe0\",\"chunk-2d0baeaa\":\"31d6cfe0\",\"chunk-2d0cfa15\":\"31d6cfe0\",\"chunk-2e6079ad\":\"31d6cfe0\",\"chunk-7cb613d5\":\"030f6319\"}[chunkId] + \".css\";\n \t\t\t\tvar fullhref = __webpack_require__.p + href;\n \t\t\t\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n \t\t\t\tfor(var i = 0; i < existingLinkTags.length; i++) {\n \t\t\t\t\tvar tag = existingLinkTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n \t\t\t\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return resolve();\n \t\t\t\t}\n \t\t\t\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n \t\t\t\tfor(var i = 0; i < existingStyleTags.length; i++) {\n \t\t\t\t\tvar tag = existingStyleTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\");\n \t\t\t\t\tif(dataHref === href || dataHref === fullhref) return resolve();\n \t\t\t\t}\n \t\t\t\tvar linkTag = document.createElement(\"link\");\n \t\t\t\tlinkTag.rel = \"stylesheet\";\n \t\t\t\tlinkTag.type = \"text/css\";\n \t\t\t\tlinkTag.onload = resolve;\n \t\t\t\tlinkTag.onerror = function(event) {\n \t\t\t\t\tvar request = event && event.target && event.target.src || fullhref;\n \t\t\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + request + \")\");\n \t\t\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n \t\t\t\t\terr.request = request;\n \t\t\t\t\tdelete installedCssChunks[chunkId]\n \t\t\t\t\tlinkTag.parentNode.removeChild(linkTag)\n \t\t\t\t\treject(err);\n \t\t\t\t};\n \t\t\t\tlinkTag.href = fullhref;\n\n \t\t\t\tvar head = document.getElementsByTagName(\"head\")[0];\n \t\t\t\thead.appendChild(linkTag);\n \t\t\t}).then(function() {\n \t\t\t\tinstalledCssChunks[chunkId] = 0;\n \t\t\t}));\n \t\t}\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","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{attrs:{\"id\":\"app\"}},[_c('Modals'),_c('router-view'),_c('Controls')],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return (_vm.display)?_c('div',{staticClass:\"controls\"},[_c('i',{staticClass:\"battery\",class:[_vm.battery_icon]}),(_vm.iface_out.startsWith('wl'))?_c('div',{staticClass:\"dropup\"},[_c('i',{staticClass:\"wifi\",class:[_vm.wifi_icon]}),_c('div',{staticClass:\"dropup-content\"},[_c('ul',_vm._l((_vm.wifi_networks),function(network){return _c('li',{key:network,on:{\"click\":function($event){return _vm.show_modal_wifi(network.name)}}},[_c('i',{staticClass:\"wifi_mini\",class:[_vm.get_wifi_icon(network.signal)]}),_vm._v(_vm._s(network.name)+\" \")])}),0)])]):_vm._e(),_c('i',{staticClass:\"iocs-number\",class:{ 'border-green': _vm.iocs_number }},[_vm._v(_vm._s(_vm.iocs_number)+\" IOCs\")]),(_vm.ip_address)?_c('i',{staticClass:\"ip_addr\",class:{ 'border-green': _vm.internet }},[_vm._v(_vm._s(_vm.ip_address)+\" \")]):_c('i',{staticClass:\"ip_addr\"},[_vm._v(\"Not connected\")]),_c('i',{staticClass:\"home-icon\",on:{\"click\":function($event){return _vm.goto_home()}}}),(_vm.backend_option)?_c('i',{staticClass:\"config-icon\",on:{\"click\":function($event){return _vm.goto_backend()}}}):_vm._e(),(_vm.shutdown_option)?_c('i',{staticClass:\"shutdown-icon\",on:{\"click\":function($event){return _vm.show_modal_shutdown()}}}):_vm._e()]):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\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!./Controls.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!./Controls.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Controls.vue?vue&type=template&id=08d0a0d1&\"\nimport script from \"./Controls.vue?vue&type=script&lang=js&\"\nexport * from \"./Controls.vue?vue&type=script&lang=js&\"\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 render(){var _vm=this,_c=_vm._self._c;return (_vm.display)?_c('div',[_c('div',{staticClass:\"blurred-wrapper\",on:{\"click\":function($event){return _vm.hide_modal()}}}),(_vm.display_shudown)?_c('div',{staticClass:\"modal-window\"},[_c('div',{staticClass:\"modal-content\"},[_c('p',[_vm._v(_vm._s(_vm.$t(\"modals.want_to_quit\")))]),_c('button',{staticClass:\"btn btn-primary\",on:{\"click\":function($event){return _vm.hide_modal()}}},[_vm._v(_vm._s(_vm.$t(\"modals.no_go_back\")))]),_vm._v(\" \"),_c('button',{staticClass:\"btn btn-primary\",on:{\"click\":function($event){return _vm.shutdown()}}},[_vm._v(_vm._s(_vm.$t(\"modals.yes_continue\")))])])]):_vm._e(),(_vm.display_whitelist)?_c('div',{staticClass:\"modal-window\"},[_c('div',{staticClass:\"modal-content\"},[_c('p',{domProps:{\"innerHTML\":_vm._s(_vm.$t('modals.want_to_whitelist').replace('{host}', _vm.host))}}),_c('button',{staticClass:\"btn btn-primary\",on:{\"click\":function($event){return _vm.hide_modal()}}},[_vm._v(_vm._s(_vm.$t(\"modals.no_go_back\")))]),_vm._v(\" \"),_c('button',{staticClass:\"btn btn-primary\",on:{\"click\":function($event){return _vm.add_whitelist()}}},[_vm._v(_vm._s(_vm.$t(\"modals.yes_continue\")))])])]):_vm._e(),(_vm.display_wifi)?_c('div',{staticClass:\"modal-window\"},[_c('div',{staticClass:\"modal-content\"},[_c('p',[_vm._v(_vm._s(_vm.$t(\"modals.please_give_the_password\"))+\" \"),_c('strong',[_vm._v(_vm._s(_vm.wifi_network))])]),_c('div',{staticClass:\"form-group\"},[_c('div',{class:_vm.password_class,on:{\"click\":_vm.show_password}}),((_vm.type)==='checkbox')?_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.password),expression:\"password\"}],staticClass:\"form-input\",attrs:{\"id\":\"password\",\"placeholder\":_vm.$t('wifi-select.wifi_password'),\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(_vm.password)?_vm._i(_vm.password,null)>-1:(_vm.password)},on:{\"click\":function($event){_vm.show_keyboard = true;},\"change\":function($event){var $$a=_vm.password,$$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.password=$$a.concat([$$v]))}else{$$i>-1&&(_vm.password=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.password=$$c}}}}):((_vm.type)==='radio')?_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.password),expression:\"password\"}],staticClass:\"form-input\",attrs:{\"id\":\"password\",\"placeholder\":_vm.$t('wifi-select.wifi_password'),\"type\":\"radio\"},domProps:{\"checked\":_vm._q(_vm.password,null)},on:{\"click\":function($event){_vm.show_keyboard = true;},\"change\":function($event){_vm.password=null}}}):_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.password),expression:\"password\"}],staticClass:\"form-input\",attrs:{\"id\":\"password\",\"placeholder\":_vm.$t('wifi-select.wifi_password'),\"type\":_vm.type},domProps:{\"value\":(_vm.password)},on:{\"click\":function($event){_vm.show_keyboard = true;},\"input\":function($event){if($event.target.composing)return;_vm.password=$event.target.value}}})]),_c('div',{staticClass:\"form-group\"},[_c('button',{staticClass:\"btn width-100\",class:[ _vm.wifi_connecting ? 'loading' : '', _vm.wifi_success ? 'btn-success' : 'btn-primary', ],on:{\"click\":function($event){return _vm.wifi_setup()}}},[_vm._v(_vm._s(_vm.btn_wifi_val))])])])]):_vm._e(),(_vm.show_keyboard)?_c('div',{staticClass:\"keyboard_wrapper\"},[_c('SimpleKeyboard',{attrs:{\"input\":_vm.input},on:{\"onChange\":_vm.onChange,\"onKeyPress\":_vm.onKeyPress}})],1):_vm._e()]):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{class:_vm.keyboardClass})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\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!./SimpleKeyboard.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!./SimpleKeyboard.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SimpleKeyboard.vue?vue&type=template&id=24d38e56&scoped=true&\"\nimport script from \"./SimpleKeyboard.vue?vue&type=script&lang=js&\"\nexport * from \"./SimpleKeyboard.vue?vue&type=script&lang=js&\"\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 \"24d38e56\",\n null\n \n)\n\nexport default component.exports","\n\n\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!./Modals.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!./Modals.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Modals.vue?vue&type=template&id=73ca2b7b&\"\nimport script from \"./Modals.vue?vue&type=script&lang=js&\"\nexport * from \"./Modals.vue?vue&type=script&lang=js&\"\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","\r\n\r\n\r\n\r\n\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=4e2caeba&\"\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=4e2caeba&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'\nimport VueI18n from 'vue-i18n'\n\nVue.use(VueI18n)\n\nexport const i18n = new VueI18n({\n locale: 'en',\n fallbackLocale: 'en',\n messages: {\n 'en': require('@/locales/en.json'),\n 'fr': require('@/locales/fr.json'),\n 'es': require('@/locales/es.json'),\n 'ru': require('@/locales/ru.json'),\n 'pt': require('@/locales/pt.json'),\n 'it': require('@/locales/it.json'),\n 'de': require('@/locales/de.json')\n }\n})","import Vue from 'vue'\r\nimport App from './App.vue'\r\nimport router from './router'\r\nimport { i18n } from '@/plugins/i18n'\r\n\r\nVue.config.productionTip = true\r\nVue.config.devtools = true\r\n\r\nexport const EventBus = new Vue();\r\n\r\nnew Vue({\r\n router,\r\n i18n,\r\n render: h => h(App)\r\n}).$mount('#app')","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=4e2caeba&prod&lang=css&\"","import Vue from 'vue'\r\nimport VueRouter from 'vue-router'\r\n\r\n\r\nVue.use(VueRouter)\r\n\r\nconst routes = [\r\n {\r\n path: '/',\r\n name: 'loader',\r\n component: () => import('../views/splash-screen.vue'),\r\n props: true\r\n },\r\n {\r\n path: '/home',\r\n name: 'home',\r\n component: () => import('../views/home.vue'),\r\n props: true\r\n },\r\n {\r\n path: '/generate-ap',\r\n name: 'generate-ap',\r\n component: () => import('../views/generate-ap.vue'),\r\n props: true\r\n },\r\n {\r\n path: '/capture',\r\n name: 'capture',\r\n component: () => import('../views/capture.vue'),\r\n props: true\r\n },\r\n {\r\n path: '/save-capture',\r\n name: 'save-capture',\r\n component: () => import('../views/save-capture.vue'),\r\n props: true\r\n },\r\n {\r\n path: '/analysis',\r\n name: 'analysis',\r\n component: () => import('../views/analysis.vue'),\r\n props: true\r\n },\r\n {\r\n path: '/report',\r\n name: 'report',\r\n component: () => import('../views/report.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"],"sourceRoot":""} \ No newline at end of file diff --git a/app/frontend/dist/js/app.3056ab4c.js b/app/frontend/dist/js/app.3056ab4c.js deleted file mode 100644 index d3e329d..0000000 --- a/app/frontend/dist/js/app.3056ab4c.js +++ /dev/null @@ -1,2 +0,0 @@ -(function(e){function t(t){for(var o,n,r=t[0],c=t[1],l=t[2],d=0,u=[];ddurante la creazione del punto di accesso.","error_msg2":"Verificare di disporre di due interfacce Wi-Fi nel dispositivo
e riprovare eseguendo il riavvio.","restart_btn":"Riavvia il dispositivo"},"report":{"show_full_report":"Mostra il rapporto completo","start_new_capture":"Avvia una nuova acquisizione","save_capture":"Salva acquisizione","save":"Salvare","print":"Stampare","numbers":["zero","uno","due","tre","quattro","cinque","sei","sette","otto","nove","dieci","undici"],"stalkerware_msg":"Il dispositivo è compromesso da
uno stalkerware, controllare il rapporto.","location_msg":"Un\'applicazione condivide la
geolocalizzazione attuale con terze parti.","fine_msg":"Sembra tutto a posto,
non sono presenti avvisi.","high_msg":"È presente {nb} avviso con priorità elevata,
il dispositivo sembra compromesso.","moderate_msg":"Sono presenti {nb} avvisi con priorità moderata, è possibile che il dispositivo sia compromesso.","low_msg":"Sono presenti solo {nb} avvisi con priorità bassa
da controllare.","save_report":"Salva il rapporto","report_of":"Rapporto di","detection_methods":"Metodi di rilevamento:","indicators":"Indicatori","heuristics":"Anomalie","active":"Attiva","pcap_sha1":"SHA1 della cattura:","capture_started":"Cattura è iniziata su:","capture_ended":"Cattura terminata su:","high":"elevata","moderate":"moderata","low":"bassa","uncat_coms_table":"Comunicazioni non categorizzate","protocol":"Protocollo","domain_name":"Dominio","ip_address":"Indirizzo IP","port":"Porto"},"wifi-select":{"wifi_connected":"Wi-Fi collegato","wifi_not_connected":"Wi-Fi non connesso. Riprovare.","wifi_password":"Password","connect_to_it":"Connettersi"},"save-capture":{"please_connect":"Collegare una chiave USB per salvare l\'acquisizione.","we_are_saving":"Salvataggio dell\'acquisizione in corso.","tap_msg":"È possible toccare la chiave USB per avviare una nuova acquisizione.","capture_download":"Il download dell\'acquisizione sta per iniziare...","start_capture_btn":"Avvia un\'altra acquisizione"},"modals":{"want_to_quit":"Vuoi chiudere la app?","no_go_back":"No, tornare","yes_continue":"Sì, continuare","please_give_the_password":"Inserire la password della rete:","want_to_whitelist":"Vuoi aggiungere {host} alla lista bianca
per le prossime analisi?"}}')},"56d7":function(e,t,a){"use strict";a.r(t),a.d(t,"EventBus",(function(){return M}));var o=a("2b0e"),n=function(){var e=this,t=e._self._c;return t("div",{attrs:{id:"app"}},[t("Modals"),t("router-view"),t("Controls")],1)},i=[],s=a("bc3a"),r=a.n(s),c=function(){var e=this,t=e._self._c;return e.display?t("div",{staticClass:"controls"},[t("i",{staticClass:"battery",class:[e.battery_icon]}),e.iface_out.startsWith("wl")?t("div",{staticClass:"dropup"},[t("i",{staticClass:"wifi",class:[e.wifi_icon]}),t("div",{staticClass:"dropup-content"},[t("ul",e._l(e.wifi_networks,(function(a){return t("li",{key:a,on:{click:function(t){return e.show_modal_wifi(a.name)}}},[t("i",{staticClass:"wifi_mini",class:[e.get_wifi_icon(a.signal)]}),e._v(e._s(a.name)+" ")])})),0)])]):e._e(),t("i",{staticClass:"iocs-number",class:{"border-green":e.iocs_number}},[e._v(e._s(e.iocs_number)+" IOCs")]),e.ip_address?t("i",{staticClass:"ip_addr",class:{"border-green":e.internet}},[e._v(e._s(e.ip_address)+" ")]):t("i",{staticClass:"ip_addr"},[e._v("Not connected")]),t("i",{staticClass:"home-icon",on:{click:function(t){return e.goto_home()}}}),e.backend_option?t("i",{staticClass:"config-icon",on:{click:function(t){return e.goto_backend()}}}):e._e(),e.shutdown_option?t("i",{staticClass:"shutdown-icon",on:{click:function(t){return e.show_modal_shutdown()}}}):e._e()]):e._e()},l=[],d=(a("14d9"),{name:"Controls",data:function(){return{display:!0,update_available:!1,update_possible:!1,shutdown_option:!1,backend_option:!1,remote_backend:!1,iface_out:"",battery_icon:"",wifi_icon:"",wifi_networks:[],iocs_number:0,internet:!1}},methods:{check_update:function(){r.a.get("/api/update/check",{timeout:6e4}).then(e=>{e.data.status?"A new version is available"==e.data.message&&(this.update_available=!0,this.update_possible=!0,window.current_version=e.data.current_version,window.next_version=e.data.next_version):this.update_possible=!1}).catch(e=>{console.log(e)})},goto_backend:function(){this.remote_backend?window.location.href=`https://${location.hostname}:8443`:window.location.href=`http://${location.hostname}:8443`},goto_home:function(){window.location.href="/"},load_config:function(){setInterval(()=>{r.a.get("/api/misc/config",{timeout:6e4}).then(e=>{this.shutdown_option=e.data.shutdown_option,this.backend_option=e.data.backend_option,this.remote_backend=e.data.remote_backend,this.battery_icon=this.get_battery_icon(e.data.battery_level),this.wifi_icon=this.get_wifi_icon(e.data.wifi_level),this.iocs_number=e.data.iocs_number,this.iface_out=e.data.iface_out}).catch(e=>{console.log(e)})},1e3)},get_battery_icon:function(e){return 101==e?"battery_charging":e>=90?"battery_full":e>=80?"battery_80":e>=60?"battery_60":e>=40?"battery_40":e>=25?"battery_25":e<25?"battery_15":"battery_critical"},get_wifi_icon:function(e){return e>=80?"wifi_5":e>=60?"wifi_4":e>=40?"wifi_3":e>=20?"wifi_2":e>=1?"wifi_1":"wifi_0"},show_modal_shutdown:function(){M.$emit("showModal",{action:"shutdown"})},show_modal_wifi:function(e){M.$emit("showModal",{action:"wifi",network_name:e})},get_wifi_networks:function(){setInterval(()=>{r.a.get("/api/network/wifi/list",{timeout:1e4}).then(e=>{this.wifi_networks=[],e.data.networks.forEach(e=>{e.name!=window.access_point&&this.wifi_networks.push(e)})}).catch(e=>{console.log(e)})},1e3)},check_internet:function(){setInterval(()=>{r.a.get("/api/network/status",{timeout:3e4}).then(e=>{e.data.internet?(this.internet=!0,this.ip_address=e.data.ip_out):(this.internet=!1,this.ip_address=!1)}).catch(e=>console.log(e))},1e3)}},watch:{$route(){["loader"].includes(this.$router.currentRoute.name)?this.display=!1:this.display=!0}},created:function(){this.load_config(),this.check_internet(),this.get_wifi_networks()}}),u=d,p=a("2877"),_=Object(p["a"])(u,c,l,!1,null,null,null),m=_.exports,h=function(){var e=this,t=e._self._c;return e.display?t("div",[t("div",{staticClass:"blurred-wrapper",on:{click:function(t){return e.hide_modal()}}}),e.display_shudown?t("div",{staticClass:"modal-window"},[t("div",{staticClass:"modal-content"},[t("p",[e._v(e._s(e.$t("modals.want_to_quit")))]),t("button",{staticClass:"btn btn-primary",on:{click:function(t){return e.hide_modal()}}},[e._v(e._s(e.$t("modals.no_go_back")))]),e._v(" "),t("button",{staticClass:"btn btn-primary",on:{click:function(t){return e.shutdown()}}},[e._v(e._s(e.$t("modals.yes_continue")))])])]):e._e(),e.display_whitelist?t("div",{staticClass:"modal-window"},[t("div",{staticClass:"modal-content"},[t("p",{domProps:{innerHTML:e._s(e.$t("modals.want_to_whitelist").replace("{host}",e.host))}}),t("button",{staticClass:"btn btn-primary",on:{click:function(t){return e.hide_modal()}}},[e._v(e._s(e.$t("modals.no_go_back")))]),e._v(" "),t("button",{staticClass:"btn btn-primary",on:{click:function(t){return e.add_whitelist()}}},[e._v(e._s(e.$t("modals.yes_continue")))])])]):e._e(),e.display_wifi?t("div",{staticClass:"modal-window"},[t("div",{staticClass:"modal-content"},[t("p",[e._v(e._s(e.$t("modals.please_give_the_password"))+" "),t("strong",[e._v(e._s(e.wifi_network))])]),t("div",{staticClass:"form-group"},[t("div",{class:e.password_class,on:{click:e.show_password}}),"checkbox"===e.type?t("input",{directives:[{name:"model",rawName:"v-model",value:e.password,expression:"password"}],staticClass:"form-input",attrs:{id:"password",placeholder:e.$t("wifi-select.wifi_password"),type:"checkbox"},domProps:{checked:Array.isArray(e.password)?e._i(e.password,null)>-1:e.password},on:{click:function(t){e.show_keyboard=!0},change:function(t){var a=e.password,o=t.target,n=!!o.checked;if(Array.isArray(a)){var i=null,s=e._i(a,i);o.checked?s<0&&(e.password=a.concat([i])):s>-1&&(e.password=a.slice(0,s).concat(a.slice(s+1)))}else e.password=n}}}):"radio"===e.type?t("input",{directives:[{name:"model",rawName:"v-model",value:e.password,expression:"password"}],staticClass:"form-input",attrs:{id:"password",placeholder:e.$t("wifi-select.wifi_password"),type:"radio"},domProps:{checked:e._q(e.password,null)},on:{click:function(t){e.show_keyboard=!0},change:function(t){e.password=null}}}):t("input",{directives:[{name:"model",rawName:"v-model",value:e.password,expression:"password"}],staticClass:"form-input",attrs:{id:"password",placeholder:e.$t("wifi-select.wifi_password"),type:e.type},domProps:{value:e.password},on:{click:function(t){e.show_keyboard=!0},input:function(t){t.target.composing||(e.password=t.target.value)}}})]),t("div",{staticClass:"form-group"},[t("button",{staticClass:"btn width-100",class:[e.wifi_connecting?"loading":"",e.wifi_success?"btn-success":"btn-primary"],on:{click:function(t){return e.wifi_setup()}}},[e._v(e._s(e.btn_wifi_val))])])])]):e._e(),e.show_keyboard?t("div",{staticClass:"keyboard_wrapper"},[t("SimpleKeyboard",{attrs:{input:e.input},on:{onChange:e.onChange,onKeyPress:e.onKeyPress}})],1):e._e()]):e._e()},w=[],g=a("a18c"),f=function(){var e=this,t=e._self._c;return t("div",{class:e.keyboardClass})},b=[],v=a("dd7f"),y=a.n(v),k=(a("d2db"),a("a044")),S={name:"SimpleKeyboard",props:{keyboardClass:{default:"simple-keyboard",type:String},input:{type:String}},data:()=>({keyboard:null}),mounted(){"fr"==window.config.user_lang?this.keyboard=new y.a({onChange:this.onChange,onKeyPress:this.onKeyPress,...k["a"]}):this.keyboard=new y.a({onChange:this.onChange,onKeyPress:this.onKeyPress})},methods:{onChange(e){this.$emit("onChange",e)},onKeyPress(e){this.$emit("onKeyPress",e),"{shift}"!==e&&"{lock}"!==e||this.handleShift()},handleShift(){let e=this.keyboard.options.layoutName,t="default"===e?"shift":"default";this.keyboard.setOptions({layoutName:t})}},watch:{input(e){this.keyboard.setInput(e)}}},z=S,C=Object(p["a"])(z,f,b,!1,null,"24d38e56",null),A=C.exports,P={name:"Modals",data:function(){return{btn_wifi_val:this.$t("wifi-select.connect_to_it"),wifi_connecting:!1,error:!1,wifi_success:!1,password:"",capture_token:"",display_whitelist:!1,display_shudown:!1,display_wifi:!1,display:!1,wifi_network:"",show_keyboard:!1,input:"",type:"password",password_class:"password-show"}},components:{SimpleKeyboard:A},methods:{hide_modal:function(){this.display=!1},shutdown:function(){r.a.get("/api/misc/shutdown",{timeout:3e4})},add_whitelist:function(){r.a.get("/api/misc/whitelist/"+this.host,{timeout:3e4}),this.display=!1},onChange(e){this.input=e,this.password=this.input},onKeyPress(e){"{enter}"==e&&(this.show_keyboard=!1)},onInputChange(e){this.input=e.target.value},show_password(){"password"===this.type?(this.type="text",this.password_class="password-hide"):(this.type="password",this.password_class="password-show")},wifi_setup:function(){this.password.length>=8&&(this.wifi_connecting=!0,r.a.post("/api/network/wifi/setup",{ssid:this.wifi_network,password:this.password},{timeout:6e4}).then(e=>{e.data.status?(this.wifi_success=!0,this.wifi_connecting=!1,this.btn_wifi_val=this.$t("wifi-select.wifi_connected"),setTimeout(()=>{this.display=!1,this.btn_wifi_val=this.$t("wifi-select.connect_to_it"),g["a"].push("generate-ap")},1e3)):(this.btn_wifi_val=this.$t("wifi-select.wifi_not_connected"),this.wifi_connecting=!1,setTimeout(()=>{this.btn_wifi_val=this.$t("wifi-select.connect_to_it")},1e3))}))}},created:function(){M.$on("showModal",e=>{this.input="","shutdown"==e.action?(this.show_keyboard=!1,this.display_wifi=!1,this.display_shudown=!0,this.display_whitelist=!1,this.display=!0):"wifi"==e.action?(this.wifi_connecting=!1,this.wifi_success=!1,this.password="",this.btnval=this.$t("wifi-select.connect_to_it"),this.display_shudown=!1,this.display_wifi=!0,this.display_whitelist=!1,this.wifi_network=e.network_name,this.display=!0):"whitelist"==e.action&&(this.show_keyboard=!1,this.display_wifi=!1,this.display_shudown=!1,this.display_whitelist=!0,this.host=e.host,this.display=!0)})}},N=P,I=Object(p["a"])(N,h,w,!1,null,null,null),q=I.exports;document.title="SPYGUARD";var W={name:"app",components:{Controls:m,Modals:q},data(){return{splash:!1}},methods:{set_lang:function(){if(window.config.user_lang){var e=window.config.user_lang;Object.keys(this.$i18n.messages).includes(e)&&(this.$i18n.locale=e,document.querySelector("html").setAttribute("lang",e))}},get_config:function(){r.a.get("/api/misc/config",{timeout:6e4}).then(e=>{window.config=e.data,this.set_lang()}).catch(e=>{console.log(e)})}},watch:{$route(){["loader"].includes(this.$router.currentRoute.name)?this.splash=!0:this.splash=!1}},created:function(){window.config={},this.get_config()}},x=W,O=(a("a0d8"),Object(p["a"])(x,n,i,!1,null,null,null)),$=O.exports,B=a("a925");o["a"].use(B["a"]);const F=new B["a"]({locale:"en",fallbackLocale:"en",messages:{en:a("edd4"),fr:a("f693"),es:a("a306"),ru:a("7704"),pt:a("5d67"),it:a("0825"),de:a("6ce2")}});o["a"].config.productionTip=!0,o["a"].config.devtools=!0;const M=new o["a"];new o["a"]({router:g["a"],i18n:F,render:e=>e($)}).$mount("#app")},"5d67":function(e){e.exports=JSON.parse('{"home":{"welcome_msg":"Bem vindo(a) ao SpyGuard.","help_msg":"Ajudaremos você a verificar o dispositivo.","start_btn":"Vamos começar!"},"analysis":{"question":"Deseja analisar as comunicações capturadas?","no_btn":"Não, somente salvá-las","yes_btn":"Sim, vamos lá","please_wait_msg":"Aguarde enquanto realizamos a análise...","some_time_msg":"Sim, isso pode demorar um pouco..."},"capture":{"intercept_coms_msg":"Interceptando as comunicações de ","stop_btn":"Parar a captura"},"generate-ap":{"network_name":"Nome da rede","network_password":"Senha da rede","tap_msg":"Toque no quadro branco para criar uma nova rede.","generate_ap_msg":"Geramos uma rede temporária para você.","error_msg1":"Infelizmente, tivemos alguns problemas
durante a criação do AP.","error_msg2":"Verifique se você possui duas interfaces Wi-Fi no dispositivo
e tente novamente, reiniciando-o.","restart_btn":"Reiniciar o dispositivo"},"report":{"show_full_report":"Mostrar o relatório completo","start_new_capture":"Iniciar nova captura","save_capture":"Salvar a captura","save":"Salvar","print":"Imprimir","numbers":["zero","um","dois","três","quatro","cinco","seis","sete","oito","nove","dez","onze"],"stalkerware_msg":"Seu dispositivo foi comprometido por
um stalkerware. Verifique o relatório.","location_msg":"Um aplicativo está compartilhando sua
geolocalização com um terceiro.","fine_msg":"Tudo parece estar bem, zero alertas.","high_msg":"Você tem {nb} alerta crítico,
o dispositivo parece estar comprometido.","moderate_msg":"Você tem {nb} alertas moderados,
o dispositivo pode estar comprometido.","low_msg":"Você tem apenas {nb} alertas leves,
não deixe de verificá-los.","save_report":"Salvar o relatório","report_of":"Relatório de","detection_methods":"Métodos de detecção:","indicators":"Indicadores","heuristics":"Anomalias","active":"Activa","pcap_sha1":"SHA1 da captura:","capture_started":"Captura iniciada em:","capture_ended":"Captura terminou em:","high":"crítico","moderate":"moderado","low":"leve","uncat_coms_table":"Comunicações não categorizadas","protocol":"Protocolo","domain_name":"Domínio","ip_address":"Endereço IP:","port":"Porto"},"wifi-select":{"wifi_connected":"Wi-Fi conectado","wifi_not_connected":"Wi-Fi desconectado. Tente novamente.","wifi_password":"Senha do Wi-Fi","connect_to_it":"Conectar"},"save-capture":{"please_connect":"Conecte uma chave USB para salvar a captura.","we_are_saving":"Estamos salvando a captura.","tap_msg":"Toque na chave USB para iniciar uma nova captura.","capture_download":"O download da captura vai começar...","start_capture_btn":"Iniciar nova captura"},"modals":{"want_to_quit":"Deseja fechar o aplicativo?","no_go_back":"Não, voltar","yes_continue":"Sim, continuar","please_give_the_password":"Indicar a senha da rede: ","want_to_whitelist":"Você quer adicionar {host} à lista branca
para as próximas análises?"}}')},"6ce2":function(e){e.exports=JSON.parse('{"home":{"welcome_msg":"Willkommen bei SpyGuard.","help_msg":"Wir helfen Ihnen bei der Überprüfung Ihres Geräts.","start_btn":"Fangen wir an!"},"analysis":{"question":"Möchten Sie die erfassten Kommunikationsverbindungen analysieren?","no_btn":"Nein, nur speichern","yes_btn":"Ja, analysieren","please_wait_msg":"Bitte warten Sie, während die Analyse läuft …","some_time_msg":"Dies kann eine Weile dauern …"},"capture":{"intercept_coms_msg":"Abfangen der Kommunikationsverbindungen von ","stop_btn":"Aufnahme beenden"},"generate-ap":{"network_name":"Netzwerkname","network_password":"Netzwerkpasswort","tap_msg":"Tippen Sie auf den weißen Rahmen, um ein neues Netzwerk zu erstellen.","generate_ap_msg":"Wir erstellen ein temporäres Netzwerk für Sie.","error_msg1":"Leider sind während der AP-Erstellung
einige Fehler aufgetreten.","error_msg2":"Bitte stellen Sie sicher, dass Ihr Gerät zwei WLAN-Schnittstellen besitzt,
und starten Sie es neu, um es erneut zu versuchen.","restart_btn":"Gerät neu starten"},"report":{"show_full_report":"Vollständigen Bericht anzeigen","start_new_capture":"Neue Aufnahme starten","save_capture":"Aufnahme speichern","save":"Sichern","print":"Drucken","numbers":["null","eine","zwei","drei","vier","fünf","sechs","sieben","acht","neun","zehn","elf"],"stalkerware_msg":"Ihr Gerät ist durch Stalkerware
kompromittiert; bitte sehen Sie sich den Bericht an.","location_msg":"Eine Anwendung teilt Ihren
aktuellen Standort mit Dritten.","fine_msg":"Alles sieht gut aus – kein Warnungen.","high_msg":"Sie haben {nb} Warnung der Stufe \\"Hoch\\":
Ihr Gerät scheint kompromittiert zu sein.","moderate_msg":"Sie haben {nb} Warnungen der Stufe \\"Mittel\\":
Ihr Gerät könnte kompromittiert sein.","low_msg":"Sie haben nur {nb} Warnungen der Stufe \\"Niedrig\\":
Überprüfen Sie sie gerne.","save_report":"Bericht speichern","report_of":"Bericht zu","detection_methods":"Nachweismethoden:","indicators":"Indikatoren","heuristics":"Anomalien","active":"Aktiv","pcap_sha1":"SHA1 erfassen:","capture_started":"Capture begann mit:","capture_ended":"Capture endete an:","high":"Hoch","moderate":"Mittel","low":"Niedrig","uncat_coms_table":"Kommunikation nicht kategorisiert","protocol":"Protokoll","domain_name":"Domain","ip_address":"IP-Adresse:","port":"Port"},"wifi-select":{"wifi_connected":"Wi-Fi verbunden","wifi_not_connected":"Wi-Fi nicht verbunden. Versuchen Sie es erneut.","wifi_password":"Passwort","connect_to_it":"Anmelden"},"save-capture":{"please_connect":"Bitte schließen Sie einen USB-Stick an, um Ihre Aufnahme zu speichern.","we_are_saving":"Wir speichern Ihre Aufnahme.","tap_msg":"Sie können den USB-Stick antippen, um eine neue Aufnahme zu starten.","capture_download":"Der Download der Aufnahme beginnt …","start_capture_btn":"Noch eine Aufnahme starten"},"modals":{"want_to_quit":"Möchten Sie die App schließen?","no_go_back":"Nein, zurück kommen.","yes_continue":"Ja, weiter machen","please_give_the_password":"Bitte geben Sie das Netzwerkpasswort ein: ","want_to_whitelist":"Möchten Sie {host} für die nächsten
Analysen hinzufügen?"}}')},7704:function(e){e.exports=JSON.parse('{"home":{"welcome_msg":"Добро пожаловать в SpyGuard.","help_msg":"Мы поможем вам проверить ваше устройство.","start_btn":"Итак, приступим!"},"analysis":{"question":"Хотите проанализировать зафиксированные подключения?","no_btn":"Нет, только сохранить","yes_btn":"Да, проанализировать","please_wait_msg":"Подождите, идет анализ...","some_time_msg":"Это может занять некоторое время..."},"capture":{"intercept_coms_msg":"Перехват подключений ","stop_btn":"Остановить сбор данных"},"generate-ap":{"network_name":"Имя сети","network_password":"Пароль сети","tap_msg":"Нажмите на белую рамку, чтобы создать новую сеть.","generate_ap_msg":"Создастся временная сеть.","error_msg1":"
При создании точки доступа возникли проблемы.","error_msg2":"Убедитесь, что на вашем устройстве
есть два порта Wi-Fi, и повторите попытку, перезагрузив устройство.","restart_btn":"Перезагрузить устройство"},"report":{"show_full_report":"Показать полный отчет","start_new_capture":"Начать новый сбор данных","save_capture":"Сохранить сбор данных","save":"Сохранить","print":"Печатать","numbers":["ноль","один","два","три","четыре","пять","шесть","семь","восемь","девять","десять","одиннадцать"],"stalkerware_msg":"Ваше устройство взломано вредоносным
ПО для слежки. Проверьте отчет.","location_msg":"Приложение передает вашу
текущую геолокацию третьему лицу.","fine_msg":"Предупреждения отсутствуют,
система выглядит защищенной.","high_msg":"У вас {nb} предупреждение высокого уровня.
Вероятно,ваше устройство взломано.","moderate_msg":"У вас {nb} предупреждение среднего уровня.
Возможно, ваше устройство взломано.","low_msg":"У вас {nb} предупреждение низкого уровня
, проверьте их.","save_report":"Сохранить отчет","report_of":"Отчет","detection_methods":"методы обнаружения:","indicators":"Показателям","heuristics":"аномалии","active":"активное","pcap_sha1":"SHA1 захват:","capture_started":"Захват начался:","capture_ended":"захват закончился:","high":"высокий","moderate":"средний","low":"низкий","uncat_coms_table":"Несекретные сообщения","protocol":"Протокол","domain_name":"домен","ip_address":"IP-адрес:","port":"порт"},"wifi-select":{"wifi_connected":"Подключено к сети Wi-Fi","wifi_not_connected":"Не подключено к сети Wi-Fi. Повторите попытку.","tap_keyboard":"Коснитесь виртуальной клавиатуры, чтобы начать","wifi_password":"Пароль Wi-Fi"},"save-capture":{"please_connect":"Подсоедините USB-ключ, чтобы сохранить результат сбора данных.","we_are_saving":"Сохранение собранных данных.","tap_msg":"Коснитесь USB-ключа, чтобы начать новый сбор данных.","capture_download":"Начинается загрузка собранных данных...","start_capture_btn":"Начать новый сбор данных"},"modals":{"want_to_quit":"Вы бы хотели уйти?","no_go_back":"Нет","yes_continue":"да","please_give_the_password":"VПожалуйста, введите сетевой пароль: ","want_to_whitelist":"Вы хотите добавить {host} в белый список
для будущих испытаний?"}}')},a0d8:function(e,t,a){"use strict";a("c266")},a18c:function(e,t,a){"use strict";var o=a("2b0e"),n=a("8c4f");o["a"].use(n["a"]);const i=[{path:"/",name:"loader",component:()=>a.e("chunk-2d0b6d35").then(a.bind(null,"1f8b")),props:!0},{path:"/home",name:"home",component:()=>a.e("chunk-2d0cfa15").then(a.bind(null,"6511")),props:!0},{path:"/generate-ap",name:"generate-ap",component:()=>a.e("chunk-2d0baeaa").then(a.bind(null,"38f5")),props:!0},{path:"/capture",name:"capture",component:()=>a.e("chunk-2e6079ad").then(a.bind(null,"e583")),props:!0},{path:"/save-capture",name:"save-capture",component:()=>a.e("chunk-0d175fb6").then(a.bind(null,"9152")),props:!0},{path:"/analysis",name:"analysis",component:()=>a.e("chunk-2d0b23b3").then(a.bind(null,"22da")),props:!0},{path:"/report",name:"report",component:()=>a.e("chunk-7cb613d5").then(a.bind(null,"e022")),props:!0}],s=new n["a"]({mode:"history",base:"/",routes:i});t["a"]=s},a306:function(e){e.exports=JSON.parse('{"home":{"welcome_msg":"Bienvenido a SpyGuard.","help_msg":"Te ayudaremos a revisar tu dispositivo","start_btn":"¡Empecemos!"},"analysis":{"question":"¿Quieres analizar las comunicaciones capturadas?","no_btn":"No, solo guárdalos","yes_btn":"Sí, hagámoslo","please_wait_msg":"Espere durante el análisis ...","some_time_msg":"Sí, puede llevar algún tiempo ..."},"capture":{"intercept_coms_msg":"Interceptando las comunicaciones de","stop_btn":"Detener la captura"},"generate-ap":{"network_name":"Nombre de la red","network_password":"Contraseña de red","tap_msg":"Toca el marco blanco para generar una nueva red","generate_ap_msg":"Generamos una red efímera para ti.","error_msg1":"Desafortunadamente, tuvimos algunos problemas
durante la creación del AP.","error_msg2":"Verifique que tenga dos interfaces WiFi en su dispositivo
e intente nuevamente reiniciando.","restart_btn":"Reinicia el dispositivo"},"report":{"show_full_report":"Mostrar el informe completo","start_new_capture":"Nueva captura","save_capture":"Guardar la captura","save":"Guardar","print":"Imprimir","numbers":["cero","uno","dos","Tres","cuatro","cinco","seis","Siete","ocho","nueve","diez","once"],"stalkerware_msg":"Su dispositivo está comprometido por
un Stalkerware, por favor revise el informe.","location_msg":"Una aplicación está compartiendo su
geolocalización actual con un tercero.","fine_msg":"Todo parece correcto, cero alertas","high_msg":"Tiene {nb} alerta máxima,
tu dispositivo parece estar comprometido","moderate_msg":"Tiene {nb} alertas moderadas,
tu dispositivo puede estar comprometido","low_msg":"Solo tiene {nb} alertas bajas,
por favor revíselas","save_report":"Guardar el informe","report_of":"Informe de","detection_methods":"Métodos de detección:","indicators":"Indicadores","heuristics":"Anomalías","active":"Activa","pcap_sha1":"SHA1 de la captura:","capture_started":"Captura comenzó a:","capture_ended":"Captura terminó a:","high":"alta","moderate":"moderada","low":"bajo","uncat_coms_table":"Sin categorizar Comunicaciones","protocol":"Protocolo","domain_name":"Dominio","ip_address":"Dirección IP ","port":"Puerto"},"wifi-select":{"wifi_connected":"Wi-Fi conectada","wifi_not_connected":"Wi-Fi no conectado. Inténtelo de nuevo.","wifi_password":"Contraseña","connect_to_it":"Conectarse"},"save-capture":{"please_connect":"Conecte una llave USB para guardar su captura.","we_are_saving":"Estamos guardando tu captura.","tap_msg":"Puede tocar la llave USB para iniciar una nueva captura","capture_download":"La descarga de la captura va a comenzar ...","start_capture_btn":"Iniciar otra captura"},"modals":{"want_to_quit":"¿Quieres cerrar la aplicación?","no_go_back":"No, volver","yes_continue":"Sí, continuar","please_give_the_password":"Introduzca la contraseña de la red: ","want_to_whitelist":"¿Desea incluir {host}
en la lista blanca?"}}')},c266:function(e,t,a){},edd4:function(e){e.exports=JSON.parse('{"home":{"welcome_msg":"Welcome to SpyGuard.","help_msg":"We are going to help you to check your device.","start_btn":"Let\'s start!"},"analysis":{"question":"Do you want to analyze the captured communications?","no_btn":"No, just save them","yes_btn":"Yes, let\'s do it","please_wait_msg":"Please wait during the analysis...","some_time_msg":"Yes, it can take some time..."},"capture":{"intercept_coms_msg":"Intercepting the communications of ","stop_btn":"Stop the capture"},"generate-ap":{"network_name":"Network name","network_password":"Network password","tap_msg":"Tap the white frame to generate a new network.","generate_ap_msg":"We generate an ephemeral network for you.","error_msg1":"Unfortunately, we got some issues
during the AP creation.","error_msg2":"Please verify that you\'ve two WiFi interfaces on your device
and try again by restarting it.","restart_btn":"Restart the device"},"report":{"show_full_report":"Show the full report","start_new_capture":"Start a new capture","save_capture":"Save the capture","save":"Save","print":"Print","numbers":["zero","one","two","three","four","five","six","seven","eight","nine","ten","eleven"],"stalkerware_msg":"Your device is compromised by
a Stalkerware, please check the report.","location_msg":"An application is sharing your
current geolocation with a third party.","fine_msg":"Everything looks fine, zero alerts.","high_msg":"You have {nb} high alert,
your device seems to be compromised.","moderate_msg":"You have {nb} moderate alerts,
your device might be compromised.","low_msg":"You have only {nb} low alerts,
don\'t hesitate to check them.","save_report":"Save the report","report_of":"Report of","detection_methods":"Detection methods:","indicators":"Indicators","heuristics":"Anomalies","active":"Active","pcap_sha1":"Capture SHA1:","capture_started":"Capture started on:","capture_ended":"Capture ended on:","high":"high","moderate":"moderate","low":"low","uncat_coms_table":"Uncategorized communications","protocol":"Protocol","domain_name":"Domain","ip_address":"IP Address","port":"Port"},"wifi-select":{"wifi_connected":"Wi-Fi connected","wifi_not_connected":"Wi-Fi not connected. Please retry.","wifi_password":"Password","connect_to_it":"Connect to it"},"save-capture":{"please_connect":"Please connect a USB key to save your capture.","we_are_saving":"We are saving your capture.","tap_msg":"You can tap the USB key to start a new capture.","capture_download":"The capture download is going to start...","start_capture_btn":"Start another capture"},"modals":{"want_to_quit":"Do you want to leave the application?","no_go_back":"No, go back","yes_continue":"Yes, continue","please_give_the_password":"Please enter the password for the network: ","want_to_whitelist":"Do you want to add {host} to the whitelist
for the next analysis?"}}')},f693:function(e){e.exports=JSON.parse('{"home":{"welcome_msg":"Bienvenue sur SpyGuard.","help_msg":"Nous allons vous accompagner pour analyser votre appareil.","start_btn":"Allons-y !"},"analysis":{"question":"Voulez-vous analyser les communications capturées ?","no_btn":"Non, enregistrez-les.","yes_btn":"Oui, allons-y !","please_wait_msg":"Merci d\'attendre pendant l\'analyse...","some_time_msg":"Oui, cela peut prendre du temps..."},"capture":{"intercept_coms_msg":"Interception des communications de ","stop_btn":"Arrêter la capture"},"generate-ap":{"network_name":"Nom du réseau Wi-Fi","network_password":"Mot de passe","tap_msg":"Appuyez sur le cadre blanc pour générer un nouveau réseau.","generate_ap_msg":"Nous générons un réseau Wi-Fi éphémère.","error_msg1":"Malheureusement, nous rencontrons des problèmes
lors de la création du point d\'accès.","error_msg2":"Veuillez vérifier que vous disposez de
deux interfaces WiFi sur votre appareil.","restart_btn":"Restart the device"},"report":{"show_full_report":"Lire le rapport complet","start_new_capture":"Nouvelle capture","save_capture":"Sauvegarder la capture","save":"Sauvegarder","print":"Imprimer","numbers":["zéro","une","deux","trois","quatre","cinq","six","sept","huit","neuf","dix","onze"],"stalkerware_msg":"Votre smartphone est compromis
par un Stalkerware, lisez le rapport.","location_msg":"Une application dévoile votre
géo-localisation actelle.","fine_msg":"Aucun flux suspect détecté,
vous avez aucune alerte.","high_msg":"Vous avez {nb} alerte.s élevée.s,
votre appareil semble être compromis.","moderate_msg":"Vous avez {nb} alerte.s moyenne.s,
votre appareil est peut-être compromis.","low_msg":"Vous avez uniquement {nb} alerte.s basse.s
n\'hésitez pas à les consulter.","save_report":"Archiver le rapport","report_of":"Rapport de","detection_methods":"Méthodes de détection :","indicators":"Indicateurs","heuristics":"Anomalies","active":"Active","pcap_sha1":"SHA1 de la capture :","capture_started":"Capture débutée le :","capture_ended":"Capture finie le :","high":"elevée","moderate":"moyenne","low":"basse","uncat_coms_table":"Communications non catégorisées","protocol":"Protocole","domain_name":"Domaine","ip_address":"Adresse IP","port":"Port"},"wifi-select":{"wifi_connected":"Wi-Fi connecté","wifi_not_connected":"Wi-Fi non connecté. Réessayez.","wifi_password":"Mot de passe","connect_to_it":"Se connecter"},"save-capture":{"please_connect":"Connectez une clé USB pour enregistrer votre capture.","we_are_saving":"Nous enregistrons votre capture.","tap_msg":"Vous pouvez appuyer sur l\'animation pour lancer une nouvelle capture.","capture_download":"Le téléchargement de la capture va se lancer...","start_capture_btn":"Lancer une nouvelle capture"},"modals":{"want_to_quit":"Voulez-vous fermer l\'application ?","no_go_back":"Non, revenir","yes_continue":"Oui, continuer","please_give_the_password":"Veuillez renseigner le mot de passe du réseau : ","want_to_whitelist":"Voulez-vous ajouter {host} à la liste blanche
pour les prochaines analyses ?"}}')}}); -//# sourceMappingURL=app.3056ab4c.js.map \ No newline at end of file diff --git a/app/frontend/dist/js/chunk-0d175fb6.abef9fad.js b/app/frontend/dist/js/chunk-0d175fb6.56d23ddc.js similarity index 98% rename from app/frontend/dist/js/chunk-0d175fb6.abef9fad.js rename to app/frontend/dist/js/chunk-0d175fb6.56d23ddc.js index 93c08b4..0fffc4e 100644 --- a/app/frontend/dist/js/chunk-0d175fb6.abef9fad.js +++ b/app/frontend/dist/js/chunk-0d175fb6.56d23ddc.js @@ -1,2 +1,2 @@ (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0d175fb6"],{"192d":function(e,s,t){"use strict";t("fd7d")},9152:function(e,s,t){"use strict";t.r(s);var a=function(){var e=this,s=e._self._c;return s("div",{staticClass:"wrapper"},[e.save_usb&&e.init?s("div",{staticClass:"center"},[s("div",{staticClass:"canvas-anim",class:{"anim-connect":!e.saved&&!e.usb},on:{click:function(s){return e.new_capture()}}},[!e.saved&&e.usb?s("div",{staticClass:"icon-spinner"}):e._e(),e.saved?s("div",{staticClass:"icon-success"}):e._e(),s("div",{staticClass:"icon-usb"}),s("div",{staticClass:"icon-usb-plug"})]),e.saved||e.usb?e._e():s("p",{staticClass:"legend"},[s("br"),e._v(e._s(e.$t("save-capture.please_connect")))]),!e.saved&&e.usb?s("p",{staticClass:"legend"},[s("br"),e._v(e._s(e.$t("save-capture.we_are_saving")))]):e._e(),e.saved?s("p",{staticClass:"legend"},[s("br"),e._v(e._s(e.$t("save-capture.tap_msg")))]):e._e()]):!e.save_usb&&e.init?s("div",{staticClass:"center"},[s("div",[s("p",{staticClass:"legend"},[e._v(e._s(e.$t("save-capture.capture_download"))),s("br"),s("br"),s("br")]),s("button",{staticClass:"btn btn-primary",on:{click:function(s){return e.new_capture()}}},[e._v(e._s(e.$t("save-capture.start_capture_btn")))]),s("iframe",{staticClass:"frame-download",attrs:{src:e.download_url}})])]):e._e()])},n=[],c=(t("14d9"),t("bc3a")),i=t.n(c),u=t("a18c"),o={name:"save-capture",components:{},data(){return{usb:!1,saved:!1,save_usb:!1,init:!1}},props:{capture_token:String},methods:{check_usb:function(){console.log("[save-capture.vue] Checking connected USB device..."),i.a.get("/api/save/usb-check",{timeout:3e4}).then(e=>{e.data.status&&(this.usb=!0,clearInterval(this.interval),this.save_capture())})},save_capture:function(){var e=this.capture_token;console.log("[save-capture.vue] Saving the capture on USB"),i.a.get(`/api/save/save-capture/${e}/usb`,{timeout:3e4}).then(e=>{e.data.status&&(this.saved=!0,console.log("[save-capture.vue] Capture saved, going back to main view"),this.timeout=setTimeout(()=>u["a"].push("/"),6e4))})},new_capture:function(){console.log("[save-capture.vue] Capture saved, generating a new access point"),clearTimeout(this.timeout),u["a"].push({name:"generate-ap"})}},created:function(){console.log("[save-capture.vue] Showing save-capture.vue"),window.config.download_links?(console.log("[save-capture.vue] Using download links instead of USB key"),this.init=!0,this.save_usb=!1,this.download_url=`/api/save/save-capture/${this.capture_token}/url`):(console.log("[save-capture.vue] Using USB key to save the capture"),this.init=!0,this.save_usb=!0,this.interval=setInterval(()=>{this.check_usb()},500))}},r=o,v=(t("192d"),t("2877")),l=Object(v["a"])(r,a,n,!1,null,null,null);s["default"]=l.exports},fd7d:function(e,s,t){}}]); -//# sourceMappingURL=chunk-0d175fb6.abef9fad.js.map \ No newline at end of file +//# sourceMappingURL=chunk-0d175fb6.56d23ddc.js.map \ No newline at end of file diff --git a/app/frontend/dist/js/chunk-0d175fb6.abef9fad.js.map b/app/frontend/dist/js/chunk-0d175fb6.56d23ddc.js.map similarity index 99% rename from app/frontend/dist/js/chunk-0d175fb6.abef9fad.js.map rename to app/frontend/dist/js/chunk-0d175fb6.56d23ddc.js.map index af04b07..840d681 100644 --- a/app/frontend/dist/js/chunk-0d175fb6.abef9fad.js.map +++ b/app/frontend/dist/js/chunk-0d175fb6.56d23ddc.js.map @@ -1 +1 @@ -{"version":3,"sources":["webpack:///./src/views/save-capture.vue?3f48","webpack:///./src/views/save-capture.vue","webpack:///src/views/save-capture.vue","webpack:///./src/views/save-capture.vue?6c0a","webpack:///./src/views/save-capture.vue?e430"],"names":["render","_vm","this","_c","_self","staticClass","save_usb","init","class","saved","usb","on","$event","new_capture","_e","_v","_s","$t","attrs","download_url","staticRenderFns","name","components","data","props","capture_token","methods","check_usb","console","axios","timeout","then","clearInterval","save_capture","clearTimeout","router","created","component"],"mappings":"kHAAA,W,yCCAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,WAAW,CAAEJ,EAAIK,UAAYL,EAAIM,KAAMJ,EAAG,MAAM,CAACE,YAAY,UAAU,CAACF,EAAG,MAAM,CAACE,YAAY,cAAcG,MAAM,CAAC,gBAAiBP,EAAIQ,QAAUR,EAAIS,KAAKC,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOX,EAAIY,iBAAiB,EAAGZ,EAAIQ,OAASR,EAAIS,IAA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DACAC,2CAAAC,cACAC,SACA,gBACA,cACAH,yEACA,sDAIAf,uBACAe,+EACAM,2BACAC,aAAAd,uBAGAe,mBACAR,2DACA,8BACAA,0EACA,aACA,iBACA,uEAEAA,oEACA,aACA,iBACA,yDCrGsV,I,wBCQlVS,EAAY,eACd,EACArC,EACAoB,GACA,EACA,KACA,KACA,MAIa,aAAAiB,E","file":"js/chunk-0d175fb6.abef9fad.js","sourcesContent":["export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./save-capture.vue?vue&type=style&index=0&id=52e6f598&prod&lang=scss&\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"wrapper\"},[(_vm.save_usb && _vm.init)?_c('div',{staticClass:\"center\"},[_c('div',{staticClass:\"canvas-anim\",class:{'anim-connect': !_vm.saved && !_vm.usb},on:{\"click\":function($event){return _vm.new_capture()}}},[(!_vm.saved && _vm.usb)?_c('div',{staticClass:\"icon-spinner\"}):_vm._e(),(_vm.saved)?_c('div',{staticClass:\"icon-success\"}):_vm._e(),_c('div',{staticClass:\"icon-usb\"}),_c('div',{staticClass:\"icon-usb-plug\"})]),(!_vm.saved && !_vm.usb)?_c('p',{staticClass:\"legend\"},[_c('br'),_vm._v(_vm._s(_vm.$t(\"save-capture.please_connect\")))]):_vm._e(),(!_vm.saved && _vm.usb)?_c('p',{staticClass:\"legend\"},[_c('br'),_vm._v(_vm._s(_vm.$t(\"save-capture.we_are_saving\")))]):_vm._e(),(_vm.saved)?_c('p',{staticClass:\"legend\"},[_c('br'),_vm._v(_vm._s(_vm.$t(\"save-capture.tap_msg\")))]):_vm._e()]):(!_vm.save_usb && _vm.init)?_c('div',{staticClass:\"center\"},[_c('div',[_c('p',{staticClass:\"legend\"},[_vm._v(_vm._s(_vm.$t(\"save-capture.capture_download\"))),_c('br'),_c('br'),_c('br')]),_c('button',{staticClass:\"btn btn-primary\",on:{\"click\":function($event){return _vm.new_capture()}}},[_vm._v(_vm._s(_vm.$t(\"save-capture.start_capture_btn\")))]),_c('iframe',{staticClass:\"frame-download\",attrs:{\"src\":_vm.download_url}})])]):_vm._e()])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\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!./save-capture.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!./save-capture.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./save-capture.vue?vue&type=template&id=52e6f598&\"\nimport script from \"./save-capture.vue?vue&type=script&lang=js&\"\nexport * from \"./save-capture.vue?vue&type=script&lang=js&\"\nimport style0 from \"./save-capture.vue?vue&type=style&index=0&id=52e6f598&prod&lang=scss&\"\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"],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["webpack:///./src/views/save-capture.vue?3f48","webpack:///./src/views/save-capture.vue","webpack:///src/views/save-capture.vue","webpack:///./src/views/save-capture.vue?6c0a","webpack:///./src/views/save-capture.vue?e430"],"names":["render","_vm","this","_c","_self","staticClass","save_usb","init","class","saved","usb","on","$event","new_capture","_e","_v","_s","$t","attrs","download_url","staticRenderFns","name","components","data","props","capture_token","methods","check_usb","console","axios","timeout","then","clearInterval","save_capture","clearTimeout","router","created","component"],"mappings":"kHAAA,W,yCCAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,WAAW,CAAEJ,EAAIK,UAAYL,EAAIM,KAAMJ,EAAG,MAAM,CAACE,YAAY,UAAU,CAACF,EAAG,MAAM,CAACE,YAAY,cAAcG,MAAM,CAAC,gBAAiBP,EAAIQ,QAAUR,EAAIS,KAAKC,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOX,EAAIY,iBAAiB,EAAGZ,EAAIQ,OAASR,EAAIS,IAAKP,EAAG,MAAM,CAACE,YAAY,iBAAiBJ,EAAIa,KAAMb,EAAIQ,MAAON,EAAG,MAAM,CAACE,YAAY,iBAAiBJ,EAAIa,KAAKX,EAAG,MAAM,CAACE,YAAY,aAAaF,EAAG,MAAM,CAACE,YAAY,oBAAsBJ,EAAIQ,OAAUR,EAAIS,IAAqGT,EAAIa,KAApGX,EAAG,IAAI,CAACE,YAAY,UAAU,CAACF,EAAG,MAAMF,EAAIc,GAAGd,EAAIe,GAAGf,EAAIgB,GAAG,oCAA8ChB,EAAIQ,OAASR,EAAIS,IAAKP,EAAG,IAAI,CAACE,YAAY,UAAU,CAACF,EAAG,MAAMF,EAAIc,GAAGd,EAAIe,GAAGf,EAAIgB,GAAG,kCAAkChB,EAAIa,KAAMb,EAAIQ,MAAON,EAAG,IAAI,CAACE,YAAY,UAAU,CAACF,EAAG,MAAMF,EAAIc,GAAGd,EAAIe,GAAGf,EAAIgB,GAAG,4BAA4BhB,EAAIa,QAASb,EAAIK,UAAYL,EAAIM,KAAMJ,EAAG,MAAM,CAACE,YAAY,UAAU,CAACF,EAAG,MAAM,CAACA,EAAG,IAAI,CAACE,YAAY,UAAU,CAACJ,EAAIc,GAAGd,EAAIe,GAAGf,EAAIgB,GAAG,mCAAmCd,EAAG,MAAMA,EAAG,MAAMA,EAAG,QAAQA,EAAG,SAAS,CAACE,YAAY,kBAAkBM,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOX,EAAIY,iBAAiB,CAACZ,EAAIc,GAAGd,EAAIe,GAAGf,EAAIgB,GAAG,sCAAsCd,EAAG,SAAS,CAACE,YAAY,iBAAiBa,MAAM,CAAC,IAAMjB,EAAIkB,oBAAoBlB,EAAIa,QAE3xCM,EAAkB,G,6CC4CP,GACfC,oBACAC,cACAC,OACA,OACAb,OACAD,SACAH,YACAC,UAGAiB,OACAC,sBAEAC,SACAC,qBACAC,mEACAC,+BAAAC,cACAC,SACA,gBACA,YACAC,6BACA,wBAIAC,wBACA,yBACAL,4DACAC,2CAAAC,cACAC,SACA,gBACA,cACAH,yEACA,sDAIAf,uBACAe,+EACAM,2BACAC,aAAAd,uBAGAe,mBACAR,2DACA,8BACAA,0EACA,aACA,iBACA,uEAEAA,oEACA,aACA,iBACA,yDCrGsV,I,wBCQlVS,EAAY,eACd,EACArC,EACAoB,GACA,EACA,KACA,KACA,MAIa,aAAAiB,E","file":"js/chunk-0d175fb6.56d23ddc.js","sourcesContent":["export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./save-capture.vue?vue&type=style&index=0&id=52e6f598&prod&lang=scss&\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"wrapper\"},[(_vm.save_usb && _vm.init)?_c('div',{staticClass:\"center\"},[_c('div',{staticClass:\"canvas-anim\",class:{'anim-connect': !_vm.saved && !_vm.usb},on:{\"click\":function($event){return _vm.new_capture()}}},[(!_vm.saved && _vm.usb)?_c('div',{staticClass:\"icon-spinner\"}):_vm._e(),(_vm.saved)?_c('div',{staticClass:\"icon-success\"}):_vm._e(),_c('div',{staticClass:\"icon-usb\"}),_c('div',{staticClass:\"icon-usb-plug\"})]),(!_vm.saved && !_vm.usb)?_c('p',{staticClass:\"legend\"},[_c('br'),_vm._v(_vm._s(_vm.$t(\"save-capture.please_connect\")))]):_vm._e(),(!_vm.saved && _vm.usb)?_c('p',{staticClass:\"legend\"},[_c('br'),_vm._v(_vm._s(_vm.$t(\"save-capture.we_are_saving\")))]):_vm._e(),(_vm.saved)?_c('p',{staticClass:\"legend\"},[_c('br'),_vm._v(_vm._s(_vm.$t(\"save-capture.tap_msg\")))]):_vm._e()]):(!_vm.save_usb && _vm.init)?_c('div',{staticClass:\"center\"},[_c('div',[_c('p',{staticClass:\"legend\"},[_vm._v(_vm._s(_vm.$t(\"save-capture.capture_download\"))),_c('br'),_c('br'),_c('br')]),_c('button',{staticClass:\"btn btn-primary\",on:{\"click\":function($event){return _vm.new_capture()}}},[_vm._v(_vm._s(_vm.$t(\"save-capture.start_capture_btn\")))]),_c('iframe',{staticClass:\"frame-download\",attrs:{\"src\":_vm.download_url}})])]):_vm._e()])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\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!./save-capture.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!./save-capture.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./save-capture.vue?vue&type=template&id=52e6f598&\"\nimport script from \"./save-capture.vue?vue&type=script&lang=js&\"\nexport * from \"./save-capture.vue?vue&type=script&lang=js&\"\nimport style0 from \"./save-capture.vue?vue&type=style&index=0&id=52e6f598&prod&lang=scss&\"\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"],"sourceRoot":""} \ No newline at end of file diff --git a/app/frontend/dist/js/chunk-2d0b23b3.d02b548c.js b/app/frontend/dist/js/chunk-2d0b23b3.3d66404f.js similarity index 98% rename from app/frontend/dist/js/chunk-2d0b23b3.d02b548c.js rename to app/frontend/dist/js/chunk-2d0b23b3.3d66404f.js index b5a413f..4b96a22 100644 --- a/app/frontend/dist/js/chunk-2d0b23b3.d02b548c.js +++ b/app/frontend/dist/js/chunk-2d0b23b3.3d66404f.js @@ -1,2 +1,2 @@ (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0b23b3"],{"22da":function(e,t,a){"use strict";a.r(t);var s=function(){var e=this,t=e._self._c;return t("div",{staticClass:"wrapper"},[t("div",{staticClass:"center"},[t("svg",{staticStyle:{margin:"auto",background:"none",display:"block","shape-rendering":"auto"},attrs:{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"194px",height:"194px",viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid"}},[t("circle",{attrs:{cx:"50",cy:"50",r:"0",fill:"none",stroke:"#dfdfdf","stroke-width":"1"}},[t("animate",{attrs:{attributeName:"r",repeatCount:"indefinite",dur:"2.941176470588235s",values:"0;43",keyTimes:"0;1",keySplines:"0 0.2 0.8 1",calcMode:"spline",begin:"0s"}}),t("animate",{attrs:{attributeName:"opacity",repeatCount:"indefinite",dur:"2.941176470588235s",values:"1;0",keyTimes:"0;1",keySplines:"0.2 0 0.8 1",calcMode:"spline",begin:"0s"}})]),t("circle",{attrs:{cx:"50",cy:"50",r:"0",fill:"none",stroke:"#dadada","stroke-width":"1"}},[t("animate",{attrs:{attributeName:"r",repeatCount:"indefinite",dur:"2.941176470588235s",values:"0;43",keyTimes:"0;1",keySplines:"0 0.2 0.8 1",calcMode:"spline",begin:"-1.4705882352941175s"}}),t("animate",{attrs:{attributeName:"opacity",repeatCount:"indefinite",dur:"2.941176470588235s",values:"1;0",keyTimes:"0;1",keySplines:"0.2 0 0.8 1",calcMode:"spline",begin:"-1.4705882352941175s"}})])]),e.long_waiting?e._e():t("p",{staticClass:"legend"},[e._v(e._s(e.$t("analysis.please_wait_msg")))]),e.long_waiting?t("p",{staticClass:"legend fade-in"},[e._v(e._s(e.$t("analysis.some_time_msg")))]):e._e()])])},i=[],n=a("a18c"),l=a("bc3a"),r=a.n(l),o={name:"analysis",data(){return{check_alerts:!1,long_waiting:!1}},props:{capture_token:String},methods:{start_analysis:function(){console.log("[analysis.vue] Starting the analysis..."),setTimeout(function(){this.long_waiting=!0}.bind(this),15e3),r.a.get("/api/analysis/start/"+this.capture_token,{timeout:6e4}).then(e=>{"Analysis started"==e.data.message&&(this.check_alerts=setInterval(()=>{this.get_alerts()},500))}).catch(e=>{console.log(e)})},get_alerts:function(){r.a.get("/api/analysis/report/"+this.capture_token,{timeout:6e4}).then(e=>{"No report yet"!=e.data.message?(console.log("[analysis.vue] Got the results analysis, moving to report view"),clearInterval(this.check_alerts),this.long_waiting=!1,n["a"].replace({name:"report",params:{alerts:e.data.alerts,device:e.data.device,methods:e.data.methods,pcap:e.data.pcap,records:e.data.records,capture_token:this.capture_token}})):console.log("[analysis.vue] No analysis results yet")}).catch(e=>{console.log(e)})}},created:function(){console.log("[analysis.vue] Showing analysis.vue"),this.start_analysis()}},c=o,d=a("2877"),p=Object(d["a"])(c,s,i,!1,null,null,null);t["default"]=p.exports}}]); -//# sourceMappingURL=chunk-2d0b23b3.d02b548c.js.map \ No newline at end of file +//# sourceMappingURL=chunk-2d0b23b3.3d66404f.js.map \ No newline at end of file diff --git a/app/frontend/dist/js/chunk-2d0b23b3.d02b548c.js.map b/app/frontend/dist/js/chunk-2d0b23b3.3d66404f.js.map similarity index 99% rename from app/frontend/dist/js/chunk-2d0b23b3.d02b548c.js.map rename to app/frontend/dist/js/chunk-2d0b23b3.3d66404f.js.map index 0523fbe..64f220b 100644 --- a/app/frontend/dist/js/chunk-2d0b23b3.d02b548c.js.map +++ b/app/frontend/dist/js/chunk-2d0b23b3.3d66404f.js.map @@ -1 +1 @@ -{"version":3,"sources":["webpack:///./src/views/analysis.vue","webpack:///src/views/analysis.vue","webpack:///./src/views/analysis.vue?0102","webpack:///./src/views/analysis.vue?e862"],"names":["render","_vm","this","_c","_self","staticClass","staticStyle","attrs","long_waiting","_e","_v","_s","$t","staticRenderFns","name","data","check_alerts","props","capture_token","methods","start_analysis","console","setTimeout","axios","timeout","then","catch","get_alerts","clearInterval","router","params","alerts","device","pcap","records","created","component"],"mappings":"yHAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,WAAW,CAACF,EAAG,MAAM,CAACE,YAAY,UAAU,CAACF,EAAG,MAAM,CAACG,YAAY,CAAC,OAAS,OAAO,WAAa,OAAO,QAAU,QAAQ,kBAAkB,QAAQC,MAAM,CAAC,MAAQ,6BAA6B,cAAc,+BAA+B,MAAQ,QAAQ,OAAS,QAAQ,QAAU,cAAc,oBAAsB,aAAa,CAACJ,EAAG,SAAS,CAACI,MAAM,CAAC,GAAK,KAAK,GAAK,KAAK,EAAI,IAAI,KAAO,OAAO,OAAS,UAAU,eAAe,MAAM,CAACJ,EAAG,UAAU,CAACI,MAAM,CAAC,cAAgB,IAA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MAIa,aAAAuB,E","file":"js/chunk-2d0b23b3.d02b548c.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"wrapper\"},[_c('div',{staticClass:\"center\"},[_c('svg',{staticStyle:{\"margin\":\"auto\",\"background\":\"none\",\"display\":\"block\",\"shape-rendering\":\"auto\"},attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"xmlns:xlink\":\"http://www.w3.org/1999/xlink\",\"width\":\"194px\",\"height\":\"194px\",\"viewBox\":\"0 0 100 100\",\"preserveAspectRatio\":\"xMidYMid\"}},[_c('circle',{attrs:{\"cx\":\"50\",\"cy\":\"50\",\"r\":\"0\",\"fill\":\"none\",\"stroke\":\"#dfdfdf\",\"stroke-width\":\"1\"}},[_c('animate',{attrs:{\"attributeName\":\"r\",\"repeatCount\":\"indefinite\",\"dur\":\"2.941176470588235s\",\"values\":\"0;43\",\"keyTimes\":\"0;1\",\"keySplines\":\"0 0.2 0.8 1\",\"calcMode\":\"spline\",\"begin\":\"0s\"}}),_c('animate',{attrs:{\"attributeName\":\"opacity\",\"repeatCount\":\"indefinite\",\"dur\":\"2.941176470588235s\",\"values\":\"1;0\",\"keyTimes\":\"0;1\",\"keySplines\":\"0.2 0 0.8 1\",\"calcMode\":\"spline\",\"begin\":\"0s\"}})]),_c('circle',{attrs:{\"cx\":\"50\",\"cy\":\"50\",\"r\":\"0\",\"fill\":\"none\",\"stroke\":\"#dadada\",\"stroke-width\":\"1\"}},[_c('animate',{attrs:{\"attributeName\":\"r\",\"repeatCount\":\"indefinite\",\"dur\":\"2.941176470588235s\",\"values\":\"0;43\",\"keyTimes\":\"0;1\",\"keySplines\":\"0 0.2 0.8 1\",\"calcMode\":\"spline\",\"begin\":\"-1.4705882352941175s\"}}),_c('animate',{attrs:{\"attributeName\":\"opacity\",\"repeatCount\":\"indefinite\",\"dur\":\"2.941176470588235s\",\"values\":\"1;0\",\"keyTimes\":\"0;1\",\"keySplines\":\"0.2 0 0.8 1\",\"calcMode\":\"spline\",\"begin\":\"-1.4705882352941175s\"}})])]),(!_vm.long_waiting)?_c('p',{staticClass:\"legend\"},[_vm._v(_vm._s(_vm.$t(\"analysis.please_wait_msg\")))]):_vm._e(),(_vm.long_waiting)?_c('p',{staticClass:\"legend fade-in\"},[_vm._v(_vm._s(_vm.$t(\"analysis.some_time_msg\")))]):_vm._e()])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\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!./analysis.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!./analysis.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./analysis.vue?vue&type=template&id=18787c62&\"\nimport script from \"./analysis.vue?vue&type=script&lang=js&\"\nexport * from \"./analysis.vue?vue&type=script&lang=js&\"\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"],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["webpack:///./src/views/analysis.vue","webpack:///src/views/analysis.vue","webpack:///./src/views/analysis.vue?0102","webpack:///./src/views/analysis.vue?e862"],"names":["render","_vm","this","_c","_self","staticClass","staticStyle","attrs","long_waiting","_e","_v","_s","$t","staticRenderFns","name","data","check_alerts","props","capture_token","methods","start_analysis","console","setTimeout","axios","timeout","then","catch","get_alerts","clearInterval","router","params","alerts","device","pcap","records","created","component"],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IO,aAAcL,EAAG,IAAI,CAACE,YAAY,kBAAkB,CAACJ,EAAIS,GAAGT,EAAIU,GAAGV,EAAIW,GAAG,8BAA8BX,EAAIQ,UAE/nDI,EAAkB,G,iCCoBP,GACfC,gBACAC,OACA,OACAC,gBACAR,kBAGAS,OACAC,sBAEAC,SACAC,0BACAC,uDACAC,sBAAA,uCACAC,mDAAAC,cACAC,SACA,qCACA,8DAEAC,UACAL,kBAGAM,sBACAJ,oDAAAC,cACAC,SACA,iCACAJ,8EACAO,iCACA,qBACAC,gBAAAf,cACAgB,QAAAC,qBACAC,qBACAb,uBACAc,iBACAC,uBACAhB,qCAEAG,wDAGAK,UACAL,mBAIAc,mBACAd,mDACA,wBCvEkV,I,YCO9Ue,EAAY,eACd,EACApC,EACAa,GACA,EACA,KACA,KACA,MAIa,aAAAuB,E","file":"js/chunk-2d0b23b3.3d66404f.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"wrapper\"},[_c('div',{staticClass:\"center\"},[_c('svg',{staticStyle:{\"margin\":\"auto\",\"background\":\"none\",\"display\":\"block\",\"shape-rendering\":\"auto\"},attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"xmlns:xlink\":\"http://www.w3.org/1999/xlink\",\"width\":\"194px\",\"height\":\"194px\",\"viewBox\":\"0 0 100 100\",\"preserveAspectRatio\":\"xMidYMid\"}},[_c('circle',{attrs:{\"cx\":\"50\",\"cy\":\"50\",\"r\":\"0\",\"fill\":\"none\",\"stroke\":\"#dfdfdf\",\"stroke-width\":\"1\"}},[_c('animate',{attrs:{\"attributeName\":\"r\",\"repeatCount\":\"indefinite\",\"dur\":\"2.941176470588235s\",\"values\":\"0;43\",\"keyTimes\":\"0;1\",\"keySplines\":\"0 0.2 0.8 1\",\"calcMode\":\"spline\",\"begin\":\"0s\"}}),_c('animate',{attrs:{\"attributeName\":\"opacity\",\"repeatCount\":\"indefinite\",\"dur\":\"2.941176470588235s\",\"values\":\"1;0\",\"keyTimes\":\"0;1\",\"keySplines\":\"0.2 0 0.8 1\",\"calcMode\":\"spline\",\"begin\":\"0s\"}})]),_c('circle',{attrs:{\"cx\":\"50\",\"cy\":\"50\",\"r\":\"0\",\"fill\":\"none\",\"stroke\":\"#dadada\",\"stroke-width\":\"1\"}},[_c('animate',{attrs:{\"attributeName\":\"r\",\"repeatCount\":\"indefinite\",\"dur\":\"2.941176470588235s\",\"values\":\"0;43\",\"keyTimes\":\"0;1\",\"keySplines\":\"0 0.2 0.8 1\",\"calcMode\":\"spline\",\"begin\":\"-1.4705882352941175s\"}}),_c('animate',{attrs:{\"attributeName\":\"opacity\",\"repeatCount\":\"indefinite\",\"dur\":\"2.941176470588235s\",\"values\":\"1;0\",\"keyTimes\":\"0;1\",\"keySplines\":\"0.2 0 0.8 1\",\"calcMode\":\"spline\",\"begin\":\"-1.4705882352941175s\"}})])]),(!_vm.long_waiting)?_c('p',{staticClass:\"legend\"},[_vm._v(_vm._s(_vm.$t(\"analysis.please_wait_msg\")))]):_vm._e(),(_vm.long_waiting)?_c('p',{staticClass:\"legend fade-in\"},[_vm._v(_vm._s(_vm.$t(\"analysis.some_time_msg\")))]):_vm._e()])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\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!./analysis.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!./analysis.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./analysis.vue?vue&type=template&id=18787c62&\"\nimport script from \"./analysis.vue?vue&type=script&lang=js&\"\nexport * from \"./analysis.vue?vue&type=script&lang=js&\"\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"],"sourceRoot":""} \ No newline at end of file diff --git a/app/frontend/dist/js/chunk-2d0b6d35.656552d9.js b/app/frontend/dist/js/chunk-2d0b6d35.9c950e8a.js similarity index 96% rename from app/frontend/dist/js/chunk-2d0b6d35.656552d9.js rename to app/frontend/dist/js/chunk-2d0b6d35.9c950e8a.js index b66834c..9c5006f 100644 --- a/app/frontend/dist/js/chunk-2d0b6d35.656552d9.js +++ b/app/frontend/dist/js/chunk-2d0b6d35.9c950e8a.js @@ -1,2 +1,2 @@ (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0b6d35"],{"1f8b":function(e,t,s){"use strict";s.r(t);var n=function(){var e=this,t=e._self._c;return t("div",{staticClass:"wrapper-dark"},[t("div",{staticClass:"center"},[t("h1",{attrs:{id:"title"}},[e._v(e._s(e.title))]),t("span",{staticClass:"loading loading-lg loadingsplash"}),t("span",{staticClass:"message_splash"},[e._v(e._s(e.message))])])])},a=[],o=s("a18c"),i=s("bc3a"),l=s.n(i),c={name:"splash-screen",components:{},data(){return{internet:!1,message:"",title:"SPYGUARD",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"]}},methods:{delete_captures:function(){this.message="Doing some cleaning...",console.log("[splash-screen.vue] Deleting previous captures..."),l.a.get("/api/misc/delete-captures",{timeout:3e4}),setTimeout(function(){this.goto_home()}.bind(this),2e3)},goto_home:function(){console.log("[splash-screen.vue] Going to home..."),this.message="Going to home...",o["a"].replace({name:"home"})},generate_random:function(e=0,t=1e3){let s=t-e,n=Math.random();return n=Math.floor(n*s),n+=e,n}},created:function(){window.access_point="",console.log("[splash-screen.vue] Welcome to SPYGUARD"),setInterval(function(){let e="";this.letters.forEach(t=>{e+=t.charAt(this.generate_random(0,9))}),this.title=e,setTimeout(function(){this.title="SPYGUARD"}.bind(this),this.generate_random(30,100))}.bind(this),this.generate_random(500,4e3)),this.delete_captures()}},r=c,h=s("2877"),u=Object(h["a"])(r,n,a,!1,null,null,null);t["default"]=u.exports}}]); -//# sourceMappingURL=chunk-2d0b6d35.656552d9.js.map \ No newline at end of file +//# sourceMappingURL=chunk-2d0b6d35.9c950e8a.js.map \ No newline at end of file diff --git a/app/frontend/dist/js/chunk-2d0b6d35.656552d9.js.map b/app/frontend/dist/js/chunk-2d0b6d35.9c950e8a.js.map similarity index 98% rename from app/frontend/dist/js/chunk-2d0b6d35.656552d9.js.map rename to app/frontend/dist/js/chunk-2d0b6d35.9c950e8a.js.map index 8cc6df1..b7bf8dd 100644 --- a/app/frontend/dist/js/chunk-2d0b6d35.656552d9.js.map +++ b/app/frontend/dist/js/chunk-2d0b6d35.9c950e8a.js.map @@ -1 +1 @@ -{"version":3,"sources":["webpack:///./src/views/splash-screen.vue","webpack:///src/views/splash-screen.vue","webpack:///./src/views/splash-screen.vue?9937","webpack:///./src/views/splash-screen.vue?95d4"],"names":["render","_vm","this","_c","_self","staticClass","attrs","_v","_s","title","message","staticRenderFns","name","components","data","internet","letters","methods","delete_captures","console","axios","timeout","setTimeout","goto_home","router","generate_random","rand","created","window","setInterval","res","component"],"mappings":"yHAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,gBAAgB,CAACF,EAAG,MAAM,CAACE,YAAY,UAAU,CAACF,EAAG,KAAK,CAACG,MAAM,CAAC,GAAK,UAAU,CAACL,EAAIM,GAAGN,EAAIO,GAAGP,EAAIQ,UAAUN,EAAG,OAAO,CAACE,YAAY,qCAAqCF,EAAG,OAAO,CAACE,YAAY,kBAAkB,CAACJ,EAAIM,GAAGN,EAAIO,GAAGP,EAAIS,iBAE3TC,EAAkB,G,iCCWtB,GACAC,qBACAC,cACAC,OACA,OACAC,YACAL,WACAD,iBACAO,qHAGAC,SACAC,2BACA,sCACAC,iEACAC,qCAAAC,cAEAC,sBAAA,mCAEAC,qBACAJ,oDACA,gCACAK,gBAAAZ,eAEAa,oCACA,UACA,gBAGA,OAFAC,kBACAA,KACA,IAGAC,mBACAC,uBACAT,uDACAU,uBACA,SACA,yBAAAC,yCACA,aACAR,sBACA,uBACA,0CACA,0CACA,yBCxDuV,I,YCOnVS,EAAY,eACd,EACA/B,EACAW,GACA,EACA,KACA,KACA,MAIa,aAAAoB,E","file":"js/chunk-2d0b6d35.656552d9.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"wrapper-dark\"},[_c('div',{staticClass:\"center\"},[_c('h1',{attrs:{\"id\":\"title\"}},[_vm._v(_vm._s(_vm.title))]),_c('span',{staticClass:\"loading loading-lg loadingsplash\"}),_c('span',{staticClass:\"message_splash\"},[_vm._v(_vm._s(_vm.message))])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\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!./splash-screen.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!./splash-screen.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./splash-screen.vue?vue&type=template&id=bf2d05b4&\"\nimport script from \"./splash-screen.vue?vue&type=script&lang=js&\"\nexport * from \"./splash-screen.vue?vue&type=script&lang=js&\"\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"],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["webpack:///./src/views/splash-screen.vue","webpack:///src/views/splash-screen.vue","webpack:///./src/views/splash-screen.vue?9937","webpack:///./src/views/splash-screen.vue?95d4"],"names":["render","_vm","this","_c","_self","staticClass","attrs","_v","_s","title","message","staticRenderFns","name","components","data","internet","letters","methods","delete_captures","console","axios","timeout","setTimeout","goto_home","router","generate_random","rand","created","window","setInterval","res","component"],"mappings":"yHAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,gBAAgB,CAACF,EAAG,MAAM,CAACE,YAAY,UAAU,CAACF,EAAG,KAAK,CAACG,MAAM,CAAC,GAAK,UAAU,CAACL,EAAIM,GAAGN,EAAIO,GAAGP,EAAIQ,UAAUN,EAAG,OAAO,CAACE,YAAY,qCAAqCF,EAAG,OAAO,CAACE,YAAY,kBAAkB,CAACJ,EAAIM,GAAGN,EAAIO,GAAGP,EAAIS,iBAE3TC,EAAkB,G,iCCWtB,GACAC,qBACAC,cACAC,OACA,OACAC,YACAL,WACAD,iBACAO,qHAGAC,SACAC,2BACA,sCACAC,iEACAC,qCAAAC,cAEAC,sBAAA,mCAEAC,qBACAJ,oDACA,gCACAK,gBAAAZ,eAEAa,oCACA,UACA,gBAGA,OAFAC,kBACAA,KACA,IAGAC,mBACAC,uBACAT,uDACAU,uBACA,SACA,yBAAAC,yCACA,aACAR,sBACA,uBACA,0CACA,0CACA,yBCxDuV,I,YCOnVS,EAAY,eACd,EACA/B,EACAW,GACA,EACA,KACA,KACA,MAIa,aAAAoB,E","file":"js/chunk-2d0b6d35.9c950e8a.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"wrapper-dark\"},[_c('div',{staticClass:\"center\"},[_c('h1',{attrs:{\"id\":\"title\"}},[_vm._v(_vm._s(_vm.title))]),_c('span',{staticClass:\"loading loading-lg loadingsplash\"}),_c('span',{staticClass:\"message_splash\"},[_vm._v(_vm._s(_vm.message))])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\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!./splash-screen.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!./splash-screen.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./splash-screen.vue?vue&type=template&id=bf2d05b4&\"\nimport script from \"./splash-screen.vue?vue&type=script&lang=js&\"\nexport * from \"./splash-screen.vue?vue&type=script&lang=js&\"\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"],"sourceRoot":""} \ No newline at end of file diff --git a/app/frontend/dist/js/chunk-2d0baeaa.14768760.js.map b/app/frontend/dist/js/chunk-2d0baeaa.14768760.js.map deleted file mode 100644 index a6ef82a..0000000 --- a/app/frontend/dist/js/chunk-2d0baeaa.14768760.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack:///./src/views/generate-ap.vue","webpack:///src/views/generate-ap.vue","webpack:///./src/views/generate-ap.vue?1b7e","webpack:///./src/views/generate-ap.vue?929c"],"names":["render","_vm","this","_c","_self","staticClass","error","ssid_name","on","$event","generate_ap","attrs","ssid_qr","_v","_s","$t","ssid_password","staticStyle","domProps","reboot_option","reboot","_e","staticRenderFns","name","components","data","capture_token","capture_start","interval","attempts","methods","console","clearInterval","axios","timeout","then","show_ap","window","setTimeout","start_capture","get_capture_token","get_device","check_device","router","params","device_name","created","component"],"mappings":"yHAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,WAAW,CAACF,EAAG,MAAM,CAACE,YAAY,UAAU,CAAgB,GAAbJ,EAAIK,MAAiBH,EAAG,MAAM,CAAEF,EAAIM,UAAWJ,EAAG,MAAM,CAACA,EAAG,MAAM,CAACE,YAAY,cAAcG,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOR,EAAIS,iBAAiB,CAACP,EAAG,MAAM,CAACE,YAAY,WAAW,CAACF,EAAG,MAAM,CAACE,YAAY,gBAAgB,CAACF,EAAG,SAAS,CAACA,EAAG,MAAM,CAACQ,MAAM,CAAC,IAAMV,EAAIW,QAAQ,GAAK,eAAe,GAAGT,EAAG,MAAM,CAACE,YAAY,wBAAwBM,MAAM,CAAC,eAAe,QAAQR,EAAG,MAAM,CAACE,YAAY,gBAAgB,CAACF,EAAG,MAAMA,EAAG,OAAO,CAACE,YAAY,cAAc,CAACJ,EAAIY,GAAGZ,EAAIa,GAAGb,EAAIc,GAAG,6BAA6B,OAAOZ,EAAG,MAAMA,EAAG,KAAK,CAACF,EAAIY,GAAGZ,EAAIa,GAAGb,EAAIM,cAAcJ,EAAG,OAAO,CAACE,YAAY,cAAc,CAACJ,EAAIY,GAAGZ,EAAIa,GAAGb,EAAIc,GAAG,iCAAiC,OAAOZ,EAAG,MAAMA,EAAG,KAAK,CAACF,EAAIY,GAAGZ,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8BR,EAAG,IAAI,CAACE,YAAY,UAAU,CAACJ,EAAIY,GAAGZ,EAAIa,GAAGb,EAAIc,GAAG,uCAAuCZ,EAAG,MAAM,CAACA,EAAG,IAAI,CAACA,EAAG,SAAS,CAACe,SAAS,CAAC,UAAYjB,EAAIa,GAAGb,EAAIc,GAAG,8BAA8BZ,EAAG,MAAMA,EAAG,MAAMA,EAAG,OAAO,CAACe,SAAS,CAAC,UAAYjB,EAAIa,GAAGb,EAAIc,GAAG,8BAA8BZ,EAAG,MAAMA,EAAG,QAASF,EAAIkB,cAAehB,EAAG,SAAS,CAACE,YAAY,MAAMG,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOR,EAAImB,YAAY,CAACnB,EAAIY,GAAGZ,EAAIa,GAAGb,EAAIc,GAAG,+BAA+Bd,EAAIoB,YAErwFC,EAAkB,G,iCCmDP,GACfC,mBACAC,cACAC,OACA,OACAlB,aACAK,WACAI,iBACAU,iBACAC,iBACAC,YACAtB,SACAa,0CACAU,aAGAC,SACApB,uBACAqB,oEACAC,6BACA,kBACAC,iCAAAC,cACAC,+BAEAC,oBACA,UACAL,oEACAM,2BACA,sBACA,8BACA,sBACA,uBAEAN,qEACA,kBACAO,sBAAA,oCACA,mBAEAP,yFACA,iBAIAQ,yBACAR,oEACAE,8BAAAC,cACAC,yCAEAf,kBACAW,sDACAE,4BAAAC,cACAC,SAAAJ,kBAEAS,8BACA,WACAT,sFACA,mCACA,8BACA,oBAGAU,sBACA,+BACAR,+CAAAC,cACAC,oCACA,MAEAO,yBACA,aACAX,0EACAC,6BACA,yBACA,qBACA,SACAW,gBACApB,eACAqB,QACAlB,gBACAC,gBACAkB,oBAMAC,mBACAf,yDACA,qBC5IqV,I,YCOjVgB,EAAY,eACd,EACA/C,EACAsB,GACA,EACA,KACA,KACA,MAIa,aAAAyB,E","file":"js/chunk-2d0baeaa.14768760.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"wrapper\"},[_c('div',{staticClass:\"center\"},[((_vm.error == false))?_c('div',[(_vm.ssid_name)?_c('div',[_c('div',{staticClass:\"card apcard\",on:{\"click\":function($event){return _vm.generate_ap()}}},[_c('div',{staticClass:\"columns\"},[_c('div',{staticClass:\"column col-5\"},[_c('center',[_c('img',{attrs:{\"src\":_vm.ssid_qr,\"id\":\"qrcode\"}})])],1),_c('div',{staticClass:\"divider-vert white-bg\",attrs:{\"data-content\":\"OR\"}}),_c('div',{staticClass:\"column col-5\"},[_c('br'),_c('span',{staticClass:\"light-grey\"},[_vm._v(_vm._s(_vm.$t(\"generate-ap.network_name\"))+\" \")]),_c('br'),_c('h4',[_vm._v(_vm._s(_vm.ssid_name))]),_c('span',{staticClass:\"light-grey\"},[_vm._v(_vm._s(_vm.$t(\"generate-ap.network_password\"))+\" \")]),_c('br'),_c('h4',[_vm._v(_vm._s(_vm.ssid_password))])])])]),_c('br'),_c('br'),_c('br'),_c('br'),_vm._v(\" \"),_c('br'),_c('br'),_c('br'),_c('br'),_c('br'),_c('br'),_c('span',{staticClass:\"legend\"},[_vm._v(_vm._s(_vm.$t(\"generate-ap.tap_msg\")))])]):_c('div',[_c('svg',{staticStyle:{\"margin\":\"auto\",\"background\":\"none\",\"display\":\"block\",\"shape-rendering\":\"auto\"},attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"xmlns:xlink\":\"http://www.w3.org/1999/xlink\",\"width\":\"194px\",\"height\":\"194px\",\"viewBox\":\"0 0 100 100\",\"preserveAspectRatio\":\"xMidYMid\"}},[_c('circle',{attrs:{\"cx\":\"50\",\"cy\":\"50\",\"r\":\"0\",\"fill\":\"none\",\"stroke\":\"#dfdfdf\",\"stroke-width\":\"1\"}},[_c('animate',{attrs:{\"attributeName\":\"r\",\"repeatCount\":\"indefinite\",\"dur\":\"2.941176470588235s\",\"values\":\"0;43\",\"keyTimes\":\"0;1\",\"keySplines\":\"0 0.2 0.8 1\",\"calcMode\":\"spline\",\"begin\":\"0s\"}}),_c('animate',{attrs:{\"attributeName\":\"opacity\",\"repeatCount\":\"indefinite\",\"dur\":\"2.941176470588235s\",\"values\":\"1;0\",\"keyTimes\":\"0;1\",\"keySplines\":\"0.2 0 0.8 1\",\"calcMode\":\"spline\",\"begin\":\"0s\"}})]),_c('circle',{attrs:{\"cx\":\"50\",\"cy\":\"50\",\"r\":\"0\",\"fill\":\"none\",\"stroke\":\"#dadada\",\"stroke-width\":\"1\"}},[_c('animate',{attrs:{\"attributeName\":\"r\",\"repeatCount\":\"indefinite\",\"dur\":\"2.941176470588235s\",\"values\":\"0;43\",\"keyTimes\":\"0;1\",\"keySplines\":\"0 0.2 0.8 1\",\"calcMode\":\"spline\",\"begin\":\"-1.4705882352941175s\"}}),_c('animate',{attrs:{\"attributeName\":\"opacity\",\"repeatCount\":\"indefinite\",\"dur\":\"2.941176470588235s\",\"values\":\"1;0\",\"keyTimes\":\"0;1\",\"keySplines\":\"0.2 0 0.8 1\",\"calcMode\":\"spline\",\"begin\":\"-1.4705882352941175s\"}})])]),_c('p',{staticClass:\"legend\"},[_vm._v(_vm._s(_vm.$t(\"generate-ap.generate_ap_msg\")))])])]):_c('div',[_c('p',[_c('strong',{domProps:{\"innerHTML\":_vm._s(_vm.$t('generate-ap.error_msg1'))}}),_c('br'),_c('br'),_c('span',{domProps:{\"innerHTML\":_vm._s(_vm.$t('generate-ap.error_msg2'))}}),_c('br'),_c('br')]),(_vm.reboot_option)?_c('button',{staticClass:\"btn\",on:{\"click\":function($event){return _vm.reboot()}}},[_vm._v(_vm._s(_vm.$t(\"generate-ap.restart_btn\")))]):_vm._e()])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\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!./generate-ap.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!./generate-ap.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./generate-ap.vue?vue&type=template&id=4b88361e&\"\nimport script from \"./generate-ap.vue?vue&type=script&lang=js&\"\nexport * from \"./generate-ap.vue?vue&type=script&lang=js&\"\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"],"sourceRoot":""} \ No newline at end of file diff --git a/app/frontend/dist/js/chunk-2d0baeaa.14768760.js b/app/frontend/dist/js/chunk-2d0baeaa.9d6eca74.js similarity index 51% rename from app/frontend/dist/js/chunk-2d0baeaa.14768760.js rename to app/frontend/dist/js/chunk-2d0baeaa.9d6eca74.js index ca9f318..89d6bc5 100644 --- a/app/frontend/dist/js/chunk-2d0baeaa.14768760.js +++ b/app/frontend/dist/js/chunk-2d0baeaa.9d6eca74.js @@ -1,2 +1,2 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0baeaa"],{"38f5":function(e,t,a){"use strict";a.r(t);var s=function(){var e=this,t=e._self._c;return t("div",{staticClass:"wrapper"},[t("div",{staticClass:"center"},[0==e.error?t("div",[e.ssid_name?t("div",[t("div",{staticClass:"card apcard",on:{click:function(t){return e.generate_ap()}}},[t("div",{staticClass:"columns"},[t("div",{staticClass:"column col-5"},[t("center",[t("img",{attrs:{src:e.ssid_qr,id:"qrcode"}})])],1),t("div",{staticClass:"divider-vert white-bg",attrs:{"data-content":"OR"}}),t("div",{staticClass:"column col-5"},[t("br"),t("span",{staticClass:"light-grey"},[e._v(e._s(e.$t("generate-ap.network_name"))+" ")]),t("br"),t("h4",[e._v(e._s(e.ssid_name))]),t("span",{staticClass:"light-grey"},[e._v(e._s(e.$t("generate-ap.network_password"))+" ")]),t("br"),t("h4",[e._v(e._s(e.ssid_password))])])])]),t("br"),t("br"),t("br"),t("br"),e._v(" "),t("br"),t("br"),t("br"),t("br"),t("br"),t("br"),t("span",{staticClass:"legend"},[e._v(e._s(e.$t("generate-ap.tap_msg")))])]):t("div",[t("svg",{staticStyle:{margin:"auto",background:"none",display:"block","shape-rendering":"auto"},attrs:{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"194px",height:"194px",viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid"}},[t("circle",{attrs:{cx:"50",cy:"50",r:"0",fill:"none",stroke:"#dfdfdf","stroke-width":"1"}},[t("animate",{attrs:{attributeName:"r",repeatCount:"indefinite",dur:"2.941176470588235s",values:"0;43",keyTimes:"0;1",keySplines:"0 0.2 0.8 1",calcMode:"spline",begin:"0s"}}),t("animate",{attrs:{attributeName:"opacity",repeatCount:"indefinite",dur:"2.941176470588235s",values:"1;0",keyTimes:"0;1",keySplines:"0.2 0 0.8 1",calcMode:"spline",begin:"0s"}})]),t("circle",{attrs:{cx:"50",cy:"50",r:"0",fill:"none",stroke:"#dadada","stroke-width":"1"}},[t("animate",{attrs:{attributeName:"r",repeatCount:"indefinite",dur:"2.941176470588235s",values:"0;43",keyTimes:"0;1",keySplines:"0 0.2 0.8 1",calcMode:"spline",begin:"-1.4705882352941175s"}}),t("animate",{attrs:{attributeName:"opacity",repeatCount:"indefinite",dur:"2.941176470588235s",values:"1;0",keyTimes:"0;1",keySplines:"0.2 0 0.8 1",calcMode:"spline",begin:"-1.4705882352941175s"}})])]),t("p",{staticClass:"legend"},[e._v(e._s(e.$t("generate-ap.generate_ap_msg")))])])]):t("div",[t("p",[t("strong",{domProps:{innerHTML:e._s(e.$t("generate-ap.error_msg1"))}}),t("br"),t("br"),t("span",{domProps:{innerHTML:e._s(e.$t("generate-ap.error_msg2"))}}),t("br"),t("br")]),e.reboot_option?t("button",{staticClass:"btn",on:{click:function(t){return e.reboot()}}},[e._v(e._s(e.$t("generate-ap.restart_btn")))]):e._e()])])])},n=[],r=a("bc3a"),i=a.n(r),o=a("a18c"),c={name:"generate-ap",components:{},data(){return{ssid_name:!1,ssid_qr:!1,ssid_password:!1,capture_token:!1,capture_start:!1,interval:!1,error:!1,reboot_option:window.config.reboot_option,attempts:3}},methods:{generate_ap:function(){console.log("[generate-ap.vue] Trying to start a new access point"),clearInterval(this.interval),this.ssid_name=!1,i.a.get("/api/network/ap/start",{timeout:3e4}).then(e=>this.show_ap(e.data))},show_ap:function(e){e.status?(console.log("[generate-ap.vue] Access point created, showing SSID"),window.access_point=e.ssid,this.ssid_name=e.ssid,this.ssid_password=e.password,this.ssid_qr=e.qrcode,this.start_capture()):(console.log("[generate-ap.vue] Issue when creating AP, let's retry"),0!=this.attempts?(setTimeout(function(){this.generate_ap()}.bind(this),1e4),this.attempts-=1):(console.log("[generate-ap.vue] Fatal error when creating AP, showing the error message"),this.error=!0))},start_capture:function(){console.log("[generate-ap.vue] Starting the capture in background"),i.a.get("/api/capture/start",{timeout:3e4}).then(e=>this.get_capture_token(e.data))},reboot:function(){console.log("[generate-ap.vue] Rebooting the device"),i.a.get("/api/misc/reboot",{timeout:3e4}).then(e=>{console.log(e)})},get_capture_token:function(e){e.status&&(console.log("[generate-ap.vue] Capture token retrieved, waiting a device to connect"),this.capture_token=e.capture_token,this.capture_start=Date.now(),this.get_device())},get_device:function(){this.interval=setInterval(()=>{i.a.get("/api/device/get/"+this.capture_token,{timeout:3e4}).then(e=>this.check_device(e.data))},500)},check_device:function(e){if(e.status){console.log("[generate-ap.vue] Device connected, going to capture view."),clearInterval(this.interval);var t=this.capture_token,a=this.capture_start,s=e.name;o["a"].replace({name:"capture",params:{capture_token:t,capture_start:a,device_name:s}})}}},created:function(){console.log("[generate-ap.vue] Showing generate-ap.vue"),this.generate_ap()}},p=c,d=a("2877"),l=Object(d["a"])(p,s,n,!1,null,null,null);t["default"]=l.exports}}]); -//# sourceMappingURL=chunk-2d0baeaa.14768760.js.map \ No newline at end of file +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0baeaa"],{"38f5":function(e,t,a){"use strict";a.r(t);var s=function(){var e=this,t=e._self._c;return t("div",{staticClass:"wrapper"},[t("div",{staticClass:"center"},[0==e.error?t("div",[e.ssid_name?t("div",[t("div",{staticClass:"card apcard",on:{click:function(t){return e.generate_ap()}}},[t("div",{staticClass:"columns"},[t("div",{staticClass:"column col-5"},[t("center",[t("img",{attrs:{src:e.ssid_qr,id:"qrcode"}})])],1),t("div",{staticClass:"divider-vert white-bg",attrs:{"data-content":"OR"}}),t("div",{staticClass:"column col-5"},[t("br"),t("span",{staticClass:"light-grey"},[e._v(e._s(e.$t("generate-ap.network_name"))+" ")]),t("br"),t("h4",[e._v(e._s(e.ssid_name))]),t("span",{staticClass:"light-grey"},[e._v(e._s(e.$t("generate-ap.network_password"))+" ")]),t("br"),t("h4",[e._v(e._s(e.ssid_password))])])])]),t("br"),t("br"),t("br"),t("br"),e._v(" "),t("br"),t("br"),t("br"),t("br"),t("br"),t("br"),t("span",{staticClass:"legend"},[e._v(e._s(e.$t("generate-ap.tap_msg")))])]):t("div",[t("svg",{staticStyle:{margin:"auto",background:"none",display:"block","shape-rendering":"auto"},attrs:{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"194px",height:"194px",viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid"}},[t("circle",{attrs:{cx:"50",cy:"50",r:"0",fill:"none",stroke:"#dfdfdf","stroke-width":"1"}},[t("animate",{attrs:{attributeName:"r",repeatCount:"indefinite",dur:"2.941176470588235s",values:"0;43",keyTimes:"0;1",keySplines:"0 0.2 0.8 1",calcMode:"spline",begin:"0s"}}),t("animate",{attrs:{attributeName:"opacity",repeatCount:"indefinite",dur:"2.941176470588235s",values:"1;0",keyTimes:"0;1",keySplines:"0.2 0 0.8 1",calcMode:"spline",begin:"0s"}})]),t("circle",{attrs:{cx:"50",cy:"50",r:"0",fill:"none",stroke:"#dadada","stroke-width":"1"}},[t("animate",{attrs:{attributeName:"r",repeatCount:"indefinite",dur:"2.941176470588235s",values:"0;43",keyTimes:"0;1",keySplines:"0 0.2 0.8 1",calcMode:"spline",begin:"-1.4705882352941175s"}}),t("animate",{attrs:{attributeName:"opacity",repeatCount:"indefinite",dur:"2.941176470588235s",values:"1;0",keyTimes:"0;1",keySplines:"0.2 0 0.8 1",calcMode:"spline",begin:"-1.4705882352941175s"}})])]),t("p",{staticClass:"legend"},[e._v(e._s(e.$t("generate-ap.generate_ap_msg")))])])]):t("div",[t("p",[t("strong",{domProps:{innerHTML:e._s(e.$t("generate-ap.error_msg1"))}}),t("br"),t("br"),t("span",{domProps:{innerHTML:e._s(e.$t("generate-ap.error_msg2"))}}),t("br"),t("br")])])])])},r=[],n=a("bc3a"),i=a.n(n),o=a("a18c"),c={name:"generate-ap",components:{},data(){return{ssid_name:!1,ssid_qr:!1,ssid_password:!1,capture_token:!1,capture_start:!1,interval:!1,error:!1,reboot_option:window.config.reboot_option,attempts:3}},methods:{generate_ap:function(){console.log("[generate-ap.vue] Trying to start a new access point"),clearInterval(this.interval),this.ssid_name=!1,i.a.get("/api/network/ap/start",{timeout:3e4}).then(e=>this.show_ap(e.data))},show_ap:function(e){e.status?(console.log("[generate-ap.vue] Access point created, showing SSID"),window.access_point=e.ssid,this.ssid_name=e.ssid,this.ssid_password=e.password,this.ssid_qr=e.qrcode,this.start_capture()):(console.log("[generate-ap.vue] Issue when creating AP, let's retry"),0!=this.attempts?(setTimeout(function(){this.generate_ap()}.bind(this),1e4),this.attempts-=1):(console.log("[generate-ap.vue] Fatal error when creating AP, showing the error message"),this.error=!0))},start_capture:function(){console.log("[generate-ap.vue] Starting the capture in background"),i.a.get("/api/capture/start",{timeout:3e4}).then(e=>this.get_capture_token(e.data))},reboot:function(){console.log("[generate-ap.vue] Rebooting the device"),i.a.get("/api/misc/reboot",{timeout:3e4}).then(e=>{console.log(e)})},get_capture_token:function(e){e.status&&(console.log("[generate-ap.vue] Capture token retrieved, waiting a device to connect"),this.capture_token=e.capture_token,this.capture_start=Date.now(),this.get_device())},get_device:function(){this.interval=setInterval(()=>{i.a.get("/api/device/get/"+this.capture_token,{timeout:3e4}).then(e=>this.check_device(e.data))},500)},check_device:function(e){if(e.status){console.log("[generate-ap.vue] Device connected, going to capture view."),clearInterval(this.interval);var t=this.capture_token,a=this.capture_start,s=e.name;o["a"].replace({name:"capture",params:{capture_token:t,capture_start:a,device_name:s}})}}},created:function(){console.log("[generate-ap.vue] Showing generate-ap.vue"),this.generate_ap()}},p=c,d=a("2877"),l=Object(d["a"])(p,s,r,!1,null,null,null);t["default"]=l.exports}}]); +//# sourceMappingURL=chunk-2d0baeaa.9d6eca74.js.map \ No newline at end of file diff --git a/app/frontend/dist/js/chunk-2d0baeaa.9d6eca74.js.map b/app/frontend/dist/js/chunk-2d0baeaa.9d6eca74.js.map new file mode 100644 index 0000000..aa4b2e8 --- /dev/null +++ b/app/frontend/dist/js/chunk-2d0baeaa.9d6eca74.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///./src/views/generate-ap.vue","webpack:///src/views/generate-ap.vue","webpack:///./src/views/generate-ap.vue?1b7e","webpack:///./src/views/generate-ap.vue?929c"],"names":["render","_vm","this","_c","_self","staticClass","error","ssid_name","on","$event","generate_ap","attrs","ssid_qr","_v","_s","$t","ssid_password","staticStyle","domProps","staticRenderFns","name","components","data","capture_token","capture_start","interval","reboot_option","attempts","methods","console","clearInterval","axios","timeout","then","show_ap","window","setTimeout","start_capture","reboot","get_capture_token","get_device","check_device","router","params","device_name","created","component"],"mappings":"yHAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,WAAW,CAACF,EAAG,MAAM,CAAC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aAGAC,SACAlB,uBACAmB,oEACAC,6BACA,kBACAC,iCAAAC,cACAC,+BAEAC,oBACA,UACAL,oEACAM,2BACA,sBACA,8BACA,sBACA,uBAEAN,qEACA,kBACAO,sBAAA,oCACA,mBAEAP,yFACA,iBAIAQ,yBACAR,oEACAE,8BAAAC,cACAC,yCAEAK,kBACAT,sDACAE,4BAAAC,cACAC,SAAAJ,kBAEAU,8BACA,WACAV,sFACA,mCACA,8BACA,oBAGAW,sBACA,+BACAT,+CAAAC,cACAC,oCACA,MAEAQ,yBACA,aACAZ,0EACAC,6BACA,yBACA,qBACA,SACAY,gBACAtB,eACAuB,QACApB,gBACAC,gBACAoB,oBAMAC,mBACAhB,yDACA,qBC3IqV,I,YCOjViB,EAAY,eACd,EACA9C,EACAmB,GACA,EACA,KACA,KACA,MAIa,aAAA2B,E","file":"js/chunk-2d0baeaa.9d6eca74.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"wrapper\"},[_c('div',{staticClass:\"center\"},[((_vm.error == false))?_c('div',[(_vm.ssid_name)?_c('div',[_c('div',{staticClass:\"card apcard\",on:{\"click\":function($event){return _vm.generate_ap()}}},[_c('div',{staticClass:\"columns\"},[_c('div',{staticClass:\"column col-5\"},[_c('center',[_c('img',{attrs:{\"src\":_vm.ssid_qr,\"id\":\"qrcode\"}})])],1),_c('div',{staticClass:\"divider-vert white-bg\",attrs:{\"data-content\":\"OR\"}}),_c('div',{staticClass:\"column col-5\"},[_c('br'),_c('span',{staticClass:\"light-grey\"},[_vm._v(_vm._s(_vm.$t(\"generate-ap.network_name\"))+\" \")]),_c('br'),_c('h4',[_vm._v(_vm._s(_vm.ssid_name))]),_c('span',{staticClass:\"light-grey\"},[_vm._v(_vm._s(_vm.$t(\"generate-ap.network_password\"))+\" \")]),_c('br'),_c('h4',[_vm._v(_vm._s(_vm.ssid_password))])])])]),_c('br'),_c('br'),_c('br'),_c('br'),_vm._v(\" \"),_c('br'),_c('br'),_c('br'),_c('br'),_c('br'),_c('br'),_c('span',{staticClass:\"legend\"},[_vm._v(_vm._s(_vm.$t(\"generate-ap.tap_msg\")))])]):_c('div',[_c('svg',{staticStyle:{\"margin\":\"auto\",\"background\":\"none\",\"display\":\"block\",\"shape-rendering\":\"auto\"},attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"xmlns:xlink\":\"http://www.w3.org/1999/xlink\",\"width\":\"194px\",\"height\":\"194px\",\"viewBox\":\"0 0 100 100\",\"preserveAspectRatio\":\"xMidYMid\"}},[_c('circle',{attrs:{\"cx\":\"50\",\"cy\":\"50\",\"r\":\"0\",\"fill\":\"none\",\"stroke\":\"#dfdfdf\",\"stroke-width\":\"1\"}},[_c('animate',{attrs:{\"attributeName\":\"r\",\"repeatCount\":\"indefinite\",\"dur\":\"2.941176470588235s\",\"values\":\"0;43\",\"keyTimes\":\"0;1\",\"keySplines\":\"0 0.2 0.8 1\",\"calcMode\":\"spline\",\"begin\":\"0s\"}}),_c('animate',{attrs:{\"attributeName\":\"opacity\",\"repeatCount\":\"indefinite\",\"dur\":\"2.941176470588235s\",\"values\":\"1;0\",\"keyTimes\":\"0;1\",\"keySplines\":\"0.2 0 0.8 1\",\"calcMode\":\"spline\",\"begin\":\"0s\"}})]),_c('circle',{attrs:{\"cx\":\"50\",\"cy\":\"50\",\"r\":\"0\",\"fill\":\"none\",\"stroke\":\"#dadada\",\"stroke-width\":\"1\"}},[_c('animate',{attrs:{\"attributeName\":\"r\",\"repeatCount\":\"indefinite\",\"dur\":\"2.941176470588235s\",\"values\":\"0;43\",\"keyTimes\":\"0;1\",\"keySplines\":\"0 0.2 0.8 1\",\"calcMode\":\"spline\",\"begin\":\"-1.4705882352941175s\"}}),_c('animate',{attrs:{\"attributeName\":\"opacity\",\"repeatCount\":\"indefinite\",\"dur\":\"2.941176470588235s\",\"values\":\"1;0\",\"keyTimes\":\"0;1\",\"keySplines\":\"0.2 0 0.8 1\",\"calcMode\":\"spline\",\"begin\":\"-1.4705882352941175s\"}})])]),_c('p',{staticClass:\"legend\"},[_vm._v(_vm._s(_vm.$t(\"generate-ap.generate_ap_msg\")))])])]):_c('div',[_c('p',[_c('strong',{domProps:{\"innerHTML\":_vm._s(_vm.$t('generate-ap.error_msg1'))}}),_c('br'),_c('br'),_c('span',{domProps:{\"innerHTML\":_vm._s(_vm.$t('generate-ap.error_msg2'))}}),_c('br'),_c('br')])])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\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!./generate-ap.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!./generate-ap.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./generate-ap.vue?vue&type=template&id=357a8836&\"\nimport script from \"./generate-ap.vue?vue&type=script&lang=js&\"\nexport * from \"./generate-ap.vue?vue&type=script&lang=js&\"\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"],"sourceRoot":""} \ No newline at end of file diff --git a/app/frontend/dist/js/chunk-2d0cfa15.19c6d0ba.js b/app/frontend/dist/js/chunk-2d0cfa15.805b5619.js similarity index 92% rename from app/frontend/dist/js/chunk-2d0cfa15.19c6d0ba.js rename to app/frontend/dist/js/chunk-2d0cfa15.805b5619.js index ed0d715..6c1986f 100644 --- a/app/frontend/dist/js/chunk-2d0cfa15.19c6d0ba.js +++ b/app/frontend/dist/js/chunk-2d0cfa15.805b5619.js @@ -1,2 +1,2 @@ (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0cfa15"],{6511:function(t,n,s){"use strict";s.r(n);var e=function(){var t=this,n=t._self._c;return n("div",{staticClass:"wrapper"},[n("div",{staticClass:"center"},[n("h3",{staticClass:"lobster"},[t._v(t._s(t.$t("home.welcome_msg")))]),n("p",[t._v(t._s(t.$t("home.help_msg")))]),n("button",{staticClass:"btn btn-primary",on:{click:function(n){return t.next()}}},[t._v(t._s(t.$t("home.start_btn")))])])])},a=[],c=(s("14d9"),s("a18c")),o={name:"home",methods:{next:function(){c["a"].push({name:"generate-ap"})}}},r=o,i=s("2877"),l=Object(i["a"])(r,e,a,!1,null,null,null);n["default"]=l.exports}}]); -//# sourceMappingURL=chunk-2d0cfa15.19c6d0ba.js.map \ No newline at end of file +//# sourceMappingURL=chunk-2d0cfa15.805b5619.js.map \ No newline at end of file diff --git a/app/frontend/dist/js/chunk-2d0cfa15.19c6d0ba.js.map b/app/frontend/dist/js/chunk-2d0cfa15.805b5619.js.map similarity index 97% rename from app/frontend/dist/js/chunk-2d0cfa15.19c6d0ba.js.map rename to app/frontend/dist/js/chunk-2d0cfa15.805b5619.js.map index 8f1b45c..b8f7ced 100644 --- a/app/frontend/dist/js/chunk-2d0cfa15.19c6d0ba.js.map +++ b/app/frontend/dist/js/chunk-2d0cfa15.805b5619.js.map @@ -1 +1 @@ -{"version":3,"sources":["webpack:///./src/views/home.vue","webpack:///src/views/home.vue","webpack:///./src/views/home.vue?d449","webpack:///./src/views/home.vue?46ae"],"names":["render","_vm","this","_c","_self","staticClass","_v","_s","$t","on","$event","next","staticRenderFns","name","methods","router","component"],"mappings":"uHAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,WAAW,CAACF,EAAG,MAAM,CAACE,YAAY,UAAU,CAACF,EAAG,KAAK,CAACE,YAAY,WAAW,CAACJ,EAAIK,GAAGL,EAAIM,GAAGN,EAAIO,GAAG,wBAAwBL,EAAG,IAAI,CAACF,EAAIK,GAAGL,EAAIM,GAAGN,EAAIO,GAAG,qBAAqBL,EAAG,SAAS,CAACE,YAAY,kBAAkBI,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOT,EAAIU,UAAU,CAACV,EAAIK,GAAGL,EAAIM,GAAGN,EAAIO,GAAG,2BAErXI,EAAkB,G,wBCWP,GACfC,YACAC,SACAH,gBACAI,aAAAF,wBCjB8U,I,YCO1UG,EAAY,eACd,EACAhB,EACAY,GACA,EACA,KACA,KACA,MAIa,aAAAI,E","file":"js/chunk-2d0cfa15.19c6d0ba.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"wrapper\"},[_c('div',{staticClass:\"center\"},[_c('h3',{staticClass:\"lobster\"},[_vm._v(_vm._s(_vm.$t(\"home.welcome_msg\")))]),_c('p',[_vm._v(_vm._s(_vm.$t(\"home.help_msg\")))]),_c('button',{staticClass:\"btn btn-primary\",on:{\"click\":function($event){return _vm.next()}}},[_vm._v(_vm._s(_vm.$t(\"home.start_btn\")))])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\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!./home.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!./home.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./home.vue?vue&type=template&id=66a1090d&\"\nimport script from \"./home.vue?vue&type=script&lang=js&\"\nexport * from \"./home.vue?vue&type=script&lang=js&\"\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"],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["webpack:///./src/views/home.vue","webpack:///src/views/home.vue","webpack:///./src/views/home.vue?d449","webpack:///./src/views/home.vue?46ae"],"names":["render","_vm","this","_c","_self","staticClass","_v","_s","$t","on","$event","next","staticRenderFns","name","methods","router","component"],"mappings":"uHAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,WAAW,CAACF,EAAG,MAAM,CAACE,YAAY,UAAU,CAACF,EAAG,KAAK,CAACE,YAAY,WAAW,CAACJ,EAAIK,GAAGL,EAAIM,GAAGN,EAAIO,GAAG,wBAAwBL,EAAG,IAAI,CAACF,EAAIK,GAAGL,EAAIM,GAAGN,EAAIO,GAAG,qBAAqBL,EAAG,SAAS,CAACE,YAAY,kBAAkBI,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOT,EAAIU,UAAU,CAACV,EAAIK,GAAGL,EAAIM,GAAGN,EAAIO,GAAG,2BAErXI,EAAkB,G,wBCWP,GACfC,YACAC,SACAH,gBACAI,aAAAF,wBCjB8U,I,YCO1UG,EAAY,eACd,EACAhB,EACAY,GACA,EACA,KACA,KACA,MAIa,aAAAI,E","file":"js/chunk-2d0cfa15.805b5619.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"wrapper\"},[_c('div',{staticClass:\"center\"},[_c('h3',{staticClass:\"lobster\"},[_vm._v(_vm._s(_vm.$t(\"home.welcome_msg\")))]),_c('p',[_vm._v(_vm._s(_vm.$t(\"home.help_msg\")))]),_c('button',{staticClass:\"btn btn-primary\",on:{\"click\":function($event){return _vm.next()}}},[_vm._v(_vm._s(_vm.$t(\"home.start_btn\")))])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\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!./home.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!./home.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./home.vue?vue&type=template&id=66a1090d&\"\nimport script from \"./home.vue?vue&type=script&lang=js&\"\nexport * from \"./home.vue?vue&type=script&lang=js&\"\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"],"sourceRoot":""} \ No newline at end of file diff --git a/app/frontend/dist/js/chunk-2e6079ad.851ba167.js b/app/frontend/dist/js/chunk-2e6079ad.3b1ceaed.js similarity index 99% rename from app/frontend/dist/js/chunk-2e6079ad.851ba167.js rename to app/frontend/dist/js/chunk-2e6079ad.3b1ceaed.js index 490b194..c18a95d 100644 --- a/app/frontend/dist/js/chunk-2e6079ad.851ba167.js +++ b/app/frontend/dist/js/chunk-2e6079ad.3b1ceaed.js @@ -1,2 +1,2 @@ (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2e6079ad"],{"1d0d":function(t,e){t.exports=function(t){var e={};function r(n){if(e[n])return e[n].exports;var i=e[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)r.d(n,i,function(e){return t[e]}.bind(null,i));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=1)}([function(t,e,r){var n=r(2),i=r(3),s=r(4);t.exports=function(t){return n(t)||i(t)||s()}},function(t,e,r){"use strict";r.r(e),r.d(e,"sparkline",(function(){return c}));var n=r(0),i=r.n(n);function s(t,e,r,n){return parseFloat((e-n*e/t+r).toFixed(2))}function a(t){return t.value}function o(t,e){var r=document.createElementNS("http://www.w3.org/2000/svg",t);for(var n in e)r.setAttribute(n,e[n]);return r}function c(t,e,r){var n;if(n=t,i()(n.querySelectorAll("*")).forEach((function(t){return n.removeChild(t)})),!(e.length<=1)){r=r||{},"number"==typeof e[0]&&(e=e.map((function(t){return{value:t}})));var c=r.onmousemove,u=r.onmouseout,l="interactive"in r?r.interactive:!!c,p=r.spotRadius||2,h=2*p,d=r.cursorWidth||2,f=parseFloat(t.attributes["stroke-width"].value),m=r.fetch||a,v=e.map((function(t){return m(t)})),_=parseFloat(t.attributes.width.value)-2*h,g=parseFloat(t.attributes.height.value),b=g-2*f-h,w=Math.max.apply(Math,i()(v)),y=-1e3,k=v.length-1,x=_/k,S=[],A=s(w,b,f+p,v[0]),j="M".concat(h," ").concat(A);v.forEach((function(t,r){var n=r*x+h,i=s(w,b,f+p,t);S.push(Object.assign({},e[r],{index:r,x:n,y:i})),j+=" L ".concat(n," ").concat(i)}));var C=o("path",{class:"sparkline--line",d:j,fill:"none"}),O=o("path",{class:"sparkline--fill",d:"".concat(j," V ").concat(g," L ").concat(h," ").concat(g," Z"),stroke:"none"});if(t.appendChild(O),t.appendChild(C),l){var M=o("line",{class:"sparkline--cursor",x1:y,x2:y,y1:0,y2:g,"stroke-width":d}),E=o("circle",{class:"sparkline--spot",cx:y,cy:y,r:p});t.appendChild(M),t.appendChild(E);var F=o("rect",{width:t.attributes.width.value,height:t.attributes.height.value,style:"fill: transparent; stroke: transparent",class:"sparkline--interaction-layer"});t.appendChild(F),F.addEventListener("mouseout",(function(t){M.setAttribute("x1",y),M.setAttribute("x2",y),E.setAttribute("cx",y),u&&u(t)})),F.addEventListener("mousemove",(function(t){var e=t.offsetX,r=S.find((function(t){return t.x>=e}));r||(r=S[k]);var n,i=S[S.indexOf(r)-1],s=(n=i?i.x+(r.x-i.x)/2<=e?r:i:r).x,a=n.y;E.setAttribute("cx",s),E.setAttribute("cy",a),M.setAttribute("x1",s),M.setAttribute("x2",s),c&&c(t,n)}))}}}e.default=c},function(t,e){t.exports=function(t){if(Array.isArray(t)){for(var e=0,r=new Array(t.length);e{this.chrono()},10)},stop_capture:function(){console.log("[capture.vue] Stoping the capture"),a.a.get("/api/capture/stop",{timeout:3e4}),clearInterval(this.chrono_interval),clearInterval(this.stats_interval),window.access_point="";var t=this.capture_token;o["a"].replace({name:"analysis",params:{capture_token:t}})},get_stats:function(){console.log("[capture.vue] Getting capture statistics"),a.a.get("/api/capture/stats",{timeout:3e4}).then(t=>this.handle_stats(t.data))},handle_stats:function(t){t.packets.length&&u()(document.querySelector("#sparkline"),t.packets)},chrono:function(){var t=Date.now()-this.capture_start;this.timer_hours=Math.floor(t/36e5),this.timer_hours=this.timer_hours<10?"0"+this.timer_hours:this.timer_hours,t%=36e5,this.timer_minutes=Math.floor(t/6e4),this.timer_minutes=this.timer_minutes<10?"0"+this.timer_minutes:this.timer_minutes,t%=6e4,this.timer_seconds=Math.floor(t/1e3),this.timer_seconds=this.timer_seconds<10?"0"+this.timer_seconds:this.timer_seconds},setup_sparklines:function(){a.a.get("/api/misc/config",{timeout:6e4}).then(t=>{t.data.sparklines&&(console.log("[capture.vue] Setting up sparklines"),this.sparklines=!0,this.sparkwidth=window.screen.width+"px",this.sparkheight=Math.trunc(window.screen.height/5)+"px",this.stats_interval=setInterval(()=>{this.get_stats()},500))}).catch(t=>{console.log(t)})}},created:function(){console.log("[capture.vue] Showing capture.vue"),this.setup_sparklines(),this.capture_start=Date.now(),this.set_chrono()}},p=l,h=r("2877"),d=Object(h["a"])(p,n,i,!1,null,null,null);e["default"]=d.exports}}]); -//# sourceMappingURL=chunk-2e6079ad.851ba167.js.map \ No newline at end of file +//# sourceMappingURL=chunk-2e6079ad.3b1ceaed.js.map \ No newline at end of file diff --git a/app/frontend/dist/js/chunk-2e6079ad.851ba167.js.map b/app/frontend/dist/js/chunk-2e6079ad.3b1ceaed.js.map similarity index 99% rename from app/frontend/dist/js/chunk-2e6079ad.851ba167.js.map rename to app/frontend/dist/js/chunk-2e6079ad.3b1ceaed.js.map index bc5616e..358d2a6 100644 --- a/app/frontend/dist/js/chunk-2e6079ad.851ba167.js.map +++ b/app/frontend/dist/js/chunk-2e6079ad.3b1ceaed.js.map @@ -1 +1 @@ -{"version":3,"sources":["webpack:///./node_modules/@fnando/sparkline/dist/sparkline.commonjs2.js","webpack:///./src/views/capture.vue","webpack:///src/views/capture.vue","webpack:///./src/views/capture.vue?a076","webpack:///./src/views/capture.vue?0c77"],"names":["module","exports","t","e","r","n","o","i","l","call","m","c","d","Object","defineProperty","enumerable","get","Symbol","toStringTag","value","__esModule","create","bind","default","prototype","hasOwnProperty","p","s","parseFloat","toFixed","a","u","document","createElementNS","setAttribute","querySelectorAll","forEach","removeChild","length","map","onmousemove","onmouseout","interactive","f","spotRadius","cursorWidth","v","attributes","b","fetch","h","y","width","x","height","g","Math","max","apply","A","w","j","O","k","S","concat","push","assign","index","M","class","fill","C","stroke","appendChild","E","x1","x2","y1","y2","_","cx","cy","F","style","addEventListener","offsetX","find","indexOf","Array","isArray","iterator","toString","from","TypeError","render","_vm","this","_c","_self","staticClass","sparklines","attrs","sparkwidth","sparkheight","_e","_v","_s","timer_hours","timer_minutes","timer_seconds","$t","device_name","on","$event","stop_capture","staticRenderFns","name","components","data","stats_interval","chrono_interval","props","capture_token","methods","set_chrono","console","axios","timeout","clearInterval","window","router","params","get_stats","then","handle_stats","chrono","time","setup_sparklines","catch","created","component"],"mappings":"mGAAAA,EAAOC,QAAQ,SAASC,GAAG,IAAIC,EAAE,GAAG,SAASC,EAAEC,GAAG,GAAGF,EAAEE,GAAG,OAAOF,EAAEE,GAAGJ,QAAQ,IAAIK,EAAEH,EAAEE,GAAG,CAACE,EAAEF,EAAEG,GAAE,EAAGP,QAAQ,IAAI,OAAOC,EAAEG,GAAGI,KAAKH,EAAEL,QAAQK,EAAEA,EAAEL,QAAQG,GAAGE,EAAEE,GAAE,EAAGF,EAAEL,QAAQ,OAAOG,EAAEM,EAAER,EAAEE,EAAEO,EAAER,EAAEC,EAAEQ,EAAE,SAASV,EAAEC,EAAEE,GAAGD,EAAEE,EAAEJ,EAAEC,IAAIU,OAAOC,eAAeZ,EAAEC,EAAE,CAACY,YAAW,EAAGC,IAAIX,KAAKD,EAAEA,EAAE,SAASF,GAAG,oBAAoBe,QAAQA,OAAOC,aAAaL,OAAOC,eAAeZ,EAAEe,OAAOC,YAAY,CAACC,MAAM,WAAWN,OAAOC,eAAeZ,EAAE,aAAa,CAACiB,OAAM,KAAMf,EAAEF,EAAE,SAASA,EAAEC,GAAG,GAAG,EAAEA,IAAID,EAAEE,EAAEF,IAAI,EAAEC,EAAE,OAAOD,EAAE,GAAG,EAAEC,GAAG,iBAAiBD,GAAGA,GAAGA,EAAEkB,WAAW,OAAOlB,EAAE,IAAIG,EAAEQ,OAAOQ,OAAO,MAAM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AAa,OAAOd,EAAG,MAAM,CAACE,YAAY,gBAAgB,CAACF,EAAG,SAAS,CAACE,YAAY,kBAAkBa,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOlB,EAAImB,kBAAkB,CAACnB,EAAIU,GAAGV,EAAIW,GAAGX,EAAIe,GAAG,iCAEnqBK,EAAkB,G,sDCkBP,GACfC,eACAC,cACAC,OACA,OACAX,iBACAC,mBACAC,mBACAU,kBACAC,mBACApB,gBAGAqB,OACAC,qBACAX,oBAEAY,SACAC,sBACAC,mDACA,0DAEAX,wBACAW,iDACAC,6BAAAC,cACAC,oCACAA,mCACAC,uBACA,yBACAC,gBAAAd,gBAAAe,QAAAT,oBAEAU,qBACAP,wDACAC,8BAAAC,cACAM,oCAEAC,yBACA,uEAEAC,kBACA,oCACA,oCACA,2EACAC,QACA,qCACA,mFACAA,OACA,qCACA,oFAEAC,4BACAX,4BAAAC,cACAM,SACA,oBACAR,mDACA,mBACA,yCACA,yDACA,+DAGAa,UACAb,mBAIAc,mBACAd,iDAGA,wBAGA,8BACA,oBC9FiV,I,YCO7Ue,EAAY,eACd,EACA9C,EACAqB,GACA,EACA,KACA,KACA,MAIa,aAAAyB,E","file":"js/chunk-2e6079ad.851ba167.js","sourcesContent":["module.exports=function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){\"undefined\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:\"Module\"}),Object.defineProperty(t,\"__esModule\",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&\"object\"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,\"default\",{enumerable:!0,value:t}),2&e&&\"string\"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,\"a\",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p=\"\",r(r.s=1)}([function(t,e,r){var n=r(2),o=r(3),i=r(4);t.exports=function(t){return n(t)||o(t)||i()}},function(t,e,r){\"use strict\";r.r(e),r.d(e,\"sparkline\",function(){return c});var n=r(0),o=r.n(n);function i(t,e,r,n){return parseFloat((e-n*e/t+r).toFixed(2))}function a(t){return t.value}function u(t,e){var r=document.createElementNS(\"http://www.w3.org/2000/svg\",t);for(var n in e)r.setAttribute(n,e[n]);return r}function c(t,e,r){var n;if(n=t,o()(n.querySelectorAll(\"*\")).forEach(function(t){return n.removeChild(t)}),!(e.length<=1)){r=r||{},\"number\"==typeof e[0]&&(e=e.map(function(t){return{value:t}}));var c=r.onmousemove,l=r.onmouseout,s=\"interactive\"in r?r.interactive:!!c,f=r.spotRadius||2,p=2*f,d=r.cursorWidth||2,v=parseFloat(t.attributes[\"stroke-width\"].value),b=r.fetch||a,h=e.map(function(t){return b(t)}),y=parseFloat(t.attributes.width.value)-2*p,x=parseFloat(t.attributes.height.value),m=x-2*v-p,g=Math.max.apply(Math,o()(h)),A=-1e3,w=h.length-1,j=y/w,O=[],k=i(g,m,v+f,h[0]),S=\"M\".concat(p,\" \").concat(k);h.forEach(function(t,r){var n=r*j+p,o=i(g,m,v+f,t);O.push(Object.assign({},e[r],{index:r,x:n,y:o})),S+=\" L \".concat(n,\" \").concat(o)});var M=u(\"path\",{class:\"sparkline--line\",d:S,fill:\"none\"}),C=u(\"path\",{class:\"sparkline--fill\",d:\"\".concat(S,\" V \").concat(x,\" L \").concat(p,\" \").concat(x,\" Z\"),stroke:\"none\"});if(t.appendChild(C),t.appendChild(M),s){var E=u(\"line\",{class:\"sparkline--cursor\",x1:A,x2:A,y1:0,y2:x,\"stroke-width\":d}),_=u(\"circle\",{class:\"sparkline--spot\",cx:A,cy:A,r:f});t.appendChild(E),t.appendChild(_);var F=u(\"rect\",{width:t.attributes.width.value,height:t.attributes.height.value,style:\"fill: transparent; stroke: transparent\",class:\"sparkline--interaction-layer\"});t.appendChild(F),F.addEventListener(\"mouseout\",function(t){E.setAttribute(\"x1\",A),E.setAttribute(\"x2\",A),_.setAttribute(\"cx\",A),l&&l(t)}),F.addEventListener(\"mousemove\",function(t){var e=t.offsetX,r=O.find(function(t){return t.x>=e});r||(r=O[w]);var n,o=O[O.indexOf(r)-1],i=(n=o?o.x+(r.x-o.x)/2<=e?r:o:r).x,a=n.y;_.setAttribute(\"cx\",i),_.setAttribute(\"cy\",a),E.setAttribute(\"x1\",i),E.setAttribute(\"x2\",i),c&&c(t,n)})}}}e.default=c},function(t,e){t.exports=function(t){if(Array.isArray(t)){for(var e=0,r=new Array(t.length);e\r\n
\r\n \r\n
\r\n
\r\n

{{timer_hours}}:{{timer_minutes}}:{{timer_seconds}}

\r\n

{{$t(\"capture.intercept_coms_msg\")}} {{device_name}}.

\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n\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!./capture.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!./capture.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./capture.vue?vue&type=template&id=68930959&\"\nimport script from \"./capture.vue?vue&type=script&lang=js&\"\nexport * from \"./capture.vue?vue&type=script&lang=js&\"\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"],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["webpack:///./node_modules/@fnando/sparkline/dist/sparkline.commonjs2.js","webpack:///./src/views/capture.vue","webpack:///src/views/capture.vue","webpack:///./src/views/capture.vue?a076","webpack:///./src/views/capture.vue?0c77"],"names":["module","exports","t","e","r","n","o","i","l","call","m","c","d","Object","defineProperty","enumerable","get","Symbol","toStringTag","value","__esModule","create","bind","default","prototype","hasOwnProperty","p","s","parseFloat","toFixed","a","u","document","createElementNS","setAttribute","querySelectorAll","forEach","removeChild","length","map","onmousemove","onmouseout","interactive","f","spotRadius","cursorWidth","v","attributes","b","fetch","h","y","width","x","height","g","Math","max","apply","A","w","j","O","k","S","concat","push","assign","index","M","class","fill","C","stroke","appendChild","E","x1","x2","y1","y2","_","cx","cy","F","style","addEventListener","offsetX","find","indexOf","Array","isArray","iterator","toString","from","TypeError","render","_vm","this","_c","_self","staticClass","sparklines","attrs","sparkwidth","sparkheight","_e","_v","_s","timer_hours","timer_minutes","timer_seconds","$t","device_name","on","$event","stop_capture","staticRenderFns","name","components","data","stats_interval","chrono_interval","props","capture_token","methods","set_chrono","console","axios","timeout","clearInterval","window","router","params","get_stats","then","handle_stats","chrono","time","setup_sparklines","catch","created","component"],"mappings":"mGAAAA,EAAOC,QAAQ,SAASC,GAAG,IAAIC,EAAE,GAAG,SAASC,EAAEC,GAAG,GAAGF,EAAEE,GAAG,OAAOF,EAAEE,GAAGJ,QAAQ,IAAIK,EAAEH,EAAEE,GAAG,CAACE,EAAEF,EAAEG,GAAE,EAAGP,QAAQ,IAAI,OAAOC,EAAEG,GAAGI,KAAKH,EAAEL,QAAQK,EAAEA,EAAEL,QAAQG,GAAGE,EAAEE,GAAE,EAAGF,EAAEL,QAAQ,OAAOG,EAAEM,EAAER,EAAEE,EAAEO,EAAER,EAAEC,EAAEQ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file":"js/chunk-2e6079ad.3b1ceaed.js","sourcesContent":["module.exports=function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){\"undefined\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:\"Module\"}),Object.defineProperty(t,\"__esModule\",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&\"object\"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,\"default\",{enumerable:!0,value:t}),2&e&&\"string\"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,\"a\",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p=\"\",r(r.s=1)}([function(t,e,r){var n=r(2),o=r(3),i=r(4);t.exports=function(t){return n(t)||o(t)||i()}},function(t,e,r){\"use strict\";r.r(e),r.d(e,\"sparkline\",function(){return c});var n=r(0),o=r.n(n);function i(t,e,r,n){return parseFloat((e-n*e/t+r).toFixed(2))}function a(t){return t.value}function u(t,e){var r=document.createElementNS(\"http://www.w3.org/2000/svg\",t);for(var n in e)r.setAttribute(n,e[n]);return r}function c(t,e,r){var n;if(n=t,o()(n.querySelectorAll(\"*\")).forEach(function(t){return n.removeChild(t)}),!(e.length<=1)){r=r||{},\"number\"==typeof e[0]&&(e=e.map(function(t){return{value:t}}));var c=r.onmousemove,l=r.onmouseout,s=\"interactive\"in r?r.interactive:!!c,f=r.spotRadius||2,p=2*f,d=r.cursorWidth||2,v=parseFloat(t.attributes[\"stroke-width\"].value),b=r.fetch||a,h=e.map(function(t){return b(t)}),y=parseFloat(t.attributes.width.value)-2*p,x=parseFloat(t.attributes.height.value),m=x-2*v-p,g=Math.max.apply(Math,o()(h)),A=-1e3,w=h.length-1,j=y/w,O=[],k=i(g,m,v+f,h[0]),S=\"M\".concat(p,\" \").concat(k);h.forEach(function(t,r){var n=r*j+p,o=i(g,m,v+f,t);O.push(Object.assign({},e[r],{index:r,x:n,y:o})),S+=\" L \".concat(n,\" \").concat(o)});var M=u(\"path\",{class:\"sparkline--line\",d:S,fill:\"none\"}),C=u(\"path\",{class:\"sparkline--fill\",d:\"\".concat(S,\" V \").concat(x,\" L \").concat(p,\" \").concat(x,\" Z\"),stroke:\"none\"});if(t.appendChild(C),t.appendChild(M),s){var E=u(\"line\",{class:\"sparkline--cursor\",x1:A,x2:A,y1:0,y2:x,\"stroke-width\":d}),_=u(\"circle\",{class:\"sparkline--spot\",cx:A,cy:A,r:f});t.appendChild(E),t.appendChild(_);var F=u(\"rect\",{width:t.attributes.width.value,height:t.attributes.height.value,style:\"fill: transparent; stroke: transparent\",class:\"sparkline--interaction-layer\"});t.appendChild(F),F.addEventListener(\"mouseout\",function(t){E.setAttribute(\"x1\",A),E.setAttribute(\"x2\",A),_.setAttribute(\"cx\",A),l&&l(t)}),F.addEventListener(\"mousemove\",function(t){var e=t.offsetX,r=O.find(function(t){return t.x>=e});r||(r=O[w]);var n,o=O[O.indexOf(r)-1],i=(n=o?o.x+(r.x-o.x)/2<=e?r:o:r).x,a=n.y;_.setAttribute(\"cx\",i),_.setAttribute(\"cy\",a),E.setAttribute(\"x1\",i),E.setAttribute(\"x2\",i),c&&c(t,n)})}}}e.default=c},function(t,e){t.exports=function(t){if(Array.isArray(t)){for(var e=0,r=new Array(t.length);e\r\n
\r\n \r\n
\r\n
\r\n

{{timer_hours}}:{{timer_minutes}}:{{timer_seconds}}

\r\n

{{$t(\"capture.intercept_coms_msg\")}} {{device_name}}.

\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n\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!./capture.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!./capture.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./capture.vue?vue&type=template&id=68930959&\"\nimport script from \"./capture.vue?vue&type=script&lang=js&\"\nexport * from \"./capture.vue?vue&type=script&lang=js&\"\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"],"sourceRoot":""} \ No newline at end of file diff --git a/app/frontend/dist/js/chunk-7cb613d5.5349d43e.js b/app/frontend/dist/js/chunk-7cb613d5.35dd63f5.js similarity index 99% rename from app/frontend/dist/js/chunk-7cb613d5.5349d43e.js rename to app/frontend/dist/js/chunk-7cb613d5.35dd63f5.js index 8278edd..8aa5679 100644 --- a/app/frontend/dist/js/chunk-7cb613d5.5349d43e.js +++ b/app/frontend/dist/js/chunk-7cb613d5.35dd63f5.js @@ -1,2 +1,2 @@ (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7cb613d5"],{"36bc":function(t,s,e){"use strict";e("d28e")},d28e:function(t,s,e){},e022:function(t,s,e){"use strict";e.r(s);e("14d9");var r=function(){var t=this,s=t._self._c;return s("div",[t.results?s("div",[t.grep_keyword("STALKERWARE","high")?s("div",{staticClass:"high-wrapper"},[s("div",{staticClass:"center"},[s("h1",{staticClass:"warning-title",domProps:{innerHTML:t._s(t.$t("report.stalkerware_msg"))}}),s("button",{staticClass:"btn btn-report-low-light",on:{click:function(s){return t.new_capture()}}},[t._v(t._s(t.$t("report.start_new_capture")))]),s("button",{staticClass:"btn btn-report-high",on:{click:function(s){t.show_report=!0,t.results=!1}}},[t._v(t._s(t.$t("report.show_full_report")))])])]):t.alerts.high.length>=1?s("div",{staticClass:"high-wrapper"},[s("div",{staticClass:"center"},[s("h1",{staticClass:"warning-title",domProps:{innerHTML:t._s(t.$t("report.high_msg",{nb:t.$i18n.messages[t.$i18n.locale].report.numbers[t.alerts.high.length]}))}}),s("button",{staticClass:"btn btn-report-low-light",on:{click:function(s){return t.new_capture()}}},[t._v(t._s(t.$t("report.start_new_capture")))]),s("button",{staticClass:"btn btn-report-high",on:{click:function(s){t.show_report=!0,t.results=!1}}},[t._v(t._s(t.$t("report.show_full_report")))])])]):t.alerts.moderate.length>=1?s("div",{staticClass:"med-wrapper"},[s("div",{staticClass:"center"},[s("h1",{staticClass:"warning-title",domProps:{innerHTML:t._s(t.$t("report.moderate_msg",{nb:t.$i18n.messages[t.$i18n.locale].report.numbers[t.alerts.moderate.length]}))}}),s("button",{staticClass:"btn btn-report-low-light",on:{click:function(s){return t.new_capture()}}},[t._v(t._s(t.$t("report.start_new_capture")))]),s("button",{staticClass:"btn btn-report-moderate",on:{click:function(s){t.show_report=!0,t.results=!1}}},[t._v(t._s(t.$t("report.show_full_report")))])])]):t.alerts.low.length>=1?s("div",{staticClass:"low-wrapper"},[s("div",{staticClass:"center"},[s("h1",{staticClass:"warning-title",domProps:{innerHTML:t._s(t.$t("report.low_msg",{nb:t.$i18n.messages[t.$i18n.locale].report.numbers[t.alerts.low.length]}))}}),s("button",{staticClass:"btn btn-report-low-light",on:{click:function(s){return t.new_capture()}}},[t._v(t._s(t.$t("report.start_new_capture")))]),s("button",{staticClass:"btn btn-report-low",on:{click:function(s){t.show_report=!0,t.results=!1}}},[t._v(t._s(t.$t("report.show_full_report")))])])]):s("div",{staticClass:"none-wrapper"},[s("div",{staticClass:"center"},[s("h1",{staticClass:"warning-title",domProps:{innerHTML:t._s(t.$t("report.fine_msg"))}}),s("button",{staticClass:"btn btn-report-low-light",on:{click:function(s){t.show_report=!0,t.results=!1}}},[t._v(t._s(t.$t("report.show_full_report")))]),s("button",{staticClass:"btn btn-report-low",on:{click:function(s){return t.new_capture()}}},[t._v(t._s(t.$t("report.start_new_capture")))])])])]):t.show_report?s("div",{staticClass:"wrapper"},[s("div",{staticClass:"report-wrapper"},[s("div",{staticClass:"device-ctx"},[s("h3",{staticStyle:{margin:"0","padding-left":"10px"}},[t._v(t._s(t.$t("report.report_of"))+" "+t._s(t.device.name))]),s("div",{staticClass:"device-ctx-legend"},[t._v(" "+t._s(t.$t("report.pcap_sha1"))+" "+t._s(t.pcap.SHA1)),s("br"),t._v(" "+t._s(t.$t("report.capture_started"))+" "+t._s(t.pcap["First packet time"].split(",")[0])),s("br"),t._v(" "+t._s(t.$t("report.capture_ended"))+" "+t._s(t.pcap["Last packet time"].split(",")[0])),s("br"),t._v(" "+t._s(t.$t("report.detection_methods"))+" "+t._s(t.detection_methods)+" ")])]),s("ul",{staticClass:"alerts"},[t._l(t.alerts.high,(function(e){return s("li",{key:e.message,staticClass:"alert"},[s("div",{staticClass:"alert-header"},[s("span",{staticClass:"high-label"},[t._v(t._s(t.$t("report.high")))]),s("span",{staticClass:"alert-id"},[t._v(t._s(e.id))]),s("span",{staticClass:"btn-whitelist",on:{click:function(s){return t.add_whitelist(e.host)}}},[t._v("Add to the whitelist")])]),s("div",{staticClass:"alert-body"},[s("span",{staticClass:"title"},[t._v(t._s(e.title))]),s("p",{staticClass:"description"},[t._v(t._s(e.description))])])])})),t._l(t.alerts.moderate,(function(e){return s("li",{key:e.message,staticClass:"alert"},[s("div",{staticClass:"alert-header"},[s("span",{staticClass:"moderate-label"},[t._v(t._s(t.$t("report.moderate")))]),s("span",{staticClass:"alert-id"},[t._v(t._s(e.id))]),s("span",{staticClass:"btn-whitelist",on:{click:function(s){return t.add_whitelist(e.host)}}},[t._v("Add to the whitelist")])]),s("div",{staticClass:"alert-body"},[s("span",{staticClass:"title"},[t._v(t._s(e.title))]),s("p",{staticClass:"description"},[t._v(t._s(e.description))])])])})),t._l(t.alerts.low,(function(e){return s("li",{key:e.message,staticClass:"alert"},[s("div",{staticClass:"alert-header"},[s("span",{staticClass:"moderate-label"},[t._v(t._s(t.$t("report.low")))]),s("span",{staticClass:"alert-id"},[t._v(t._s(e.id))]),s("span",{staticClass:"btn-whitelist",on:{click:function(s){return t.add_whitelist(e.host)}}},[t._v("Add to the whitelist")])]),s("div",{staticClass:"alert-body"},[s("span",{staticClass:"title"},[t._v(t._s(e.title))]),s("p",{staticClass:"description"},[t._v(t._s(e.description))])])])}))],2),t.uncategorized_records.length>0?s("h5",{staticClass:"title-report"},[t._v(t._s(t.$t("report.uncat_coms_table")))]):t._e(),t.uncategorized_records.length>0?s("div",[s("table",{staticClass:"table-uncat"},[s("thead",[s("tr",[s("td",[t._v(t._s(t.$t("report.protocol")))]),s("td",[t._v(t._s(t.$t("report.domain_name")))]),s("td",[t._v(t._s(t.$t("report.ip_address")))]),s("td",[t._v(t._s(t.$t("report.port")))])])]),t._l(t.uncategorized_records,(function(e){return s("tr",{key:e.ip_dst},[s("td",[t._v(t._s(Object.keys(e.protocols).map(t=>e.protocols[t].name).join(", ")))]),s("td",{on:{click:function(s){return t.add_whitelist(e.domains[0])}}},[t._v(t._s(e.domains.join(", ")))]),s("td",{on:{click:function(s){return t.add_whitelist(e.ip_dst)}}},[t._v(t._s(e.ip_dst))]),s("td",[t._v(t._s(Object.keys(e.protocols).map(t=>e.protocols[t].port).join(", ")))])])}))],2)]):t._e(),s("div",{attrs:{id:"controls-analysis"}},[s("div",{staticClass:"column col-6"},[s("button",{staticClass:"btn btn btn-primary width-100",on:{click:function(s){return t.save_capture()}}},[t._v(t._s(t.$t("report.save")))])]),s("div",{staticClass:"column col-6"},[s("button",{staticClass:"btn width-100",on:{click:function(s){return t.$router.push("generate-ap")}}},[t._v(t._s(t.$t("report.start_new_capture")))])])])])]):t._e()])},i=[],a=e("a18c"),o=e("bc3a"),n=e.n(o),c=e("56d7"),l={name:"report",data(){return{results:!0,detection_methods:"",uncategorized_records:[]}},props:{device:Object,methods:Object,pcap:Object,records:Array,alerts:Array,capture_token:String},methods:{save_capture:function(){console.log("[report.vue] Saving the capture"),a["a"].replace({name:"save-capture",params:{capture_token:this.capture_token}})},new_capture:function(){console.log("[report.vue] Deleting the capture and creating a new AP"),n.a.get("/api/misc/delete-captures",{timeout:3e4}).then(()=>{a["a"].push({name:"generate-ap"})}).catch(t=>{console.log(t)})},grep_keyword:function(t,s){try{var e,r;return!!this.alerts[s].length&&(this.alerts[s].forEach(s=>{e=s.title.indexOf(t),r||(r=e>0)}),r)}catch(i){console.log(i)}},get_detection_methods:function(){this.detection_methods+=1==this.methods.iocs?`☑ ${this.$t("report.indicators")} `:`☐ ${this.$t("report.indicators")} `,this.detection_methods+=1==this.methods.heuristics?`☑ ${this.$t("report.heuristics")} `:`☐ ${this.$t("report.heuristics")} `,this.detection_methods+=1==this.methods.active?`☑ ${this.$t("report.active")} `:`☐ ${this.$t("report.active")} `},add_whitelist:function(t){c["EventBus"].$emit("showModal",{action:"whitelist",host:t})},get_uncategorized_records:function(){this.records.forEach(t=>{t.suspicious||t.whitelisted||this.uncategorized_records.push(t)})}},created:function(){console.log("[report.vue] Showing report.vue"),this.get_detection_methods(),this.get_uncategorized_records()}},p=l,_=(e("36bc"),e("2877")),d=Object(_["a"])(p,r,i,!1,null,null,null);s["default"]=d.exports}}]); -//# sourceMappingURL=chunk-7cb613d5.5349d43e.js.map \ No newline at end of file +//# sourceMappingURL=chunk-7cb613d5.35dd63f5.js.map \ No newline at end of file diff --git a/app/frontend/dist/js/chunk-7cb613d5.5349d43e.js.map b/app/frontend/dist/js/chunk-7cb613d5.35dd63f5.js.map similarity index 99% rename from app/frontend/dist/js/chunk-7cb613d5.5349d43e.js.map rename to app/frontend/dist/js/chunk-7cb613d5.35dd63f5.js.map index f89ab64..cab4633 100644 --- a/app/frontend/dist/js/chunk-7cb613d5.5349d43e.js.map +++ b/app/frontend/dist/js/chunk-7cb613d5.35dd63f5.js.map @@ -1 +1 @@ -{"version":3,"sources":["webpack:///./src/views/report.vue?b493","webpack:///./src/views/report.vue","webpack:///src/views/report.vue","webpack:///./src/views/report.vue?5d61","webpack:///./src/views/report.vue?7f56"],"names":["render","_vm","this","_c","_self","results","grep_keyword","staticClass","domProps","_s","$t","on","$event","new_capture","_v","show_report","alerts","high","length","nb","$i18n","messages","locale","report","numbers","moderate","low","staticStyle","device","name","pcap","SHA1","split","detection_methods","_l","alert","key","message","id","add_whitelist","host","title","description","uncategorized_records","_e","record","ip_dst","Object","keys","protocols","map","join","domains","port","attrs","save_capture","$router","push","staticRenderFns","data","props","methods","records","capture_token","console","router","params","axios","timeout","then","catch","idx","get_detection_methods","EventBus","get_uncategorized_records","created","component"],"mappings":"kHAAA,W,8ECAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAAEF,EAAII,QAASF,EAAG,MAAM,CAAEF,EAAIK,aAAa,cAAe,QAASH,EAAG,MAAM,CAACI,YAAY,gBAAgB,CAACJ,EAAG,MAAM,CAACI,YAAY,UAAU,CAACJ,EAAG,KAAK,CAACI,YAAY,gBAAgBC,SAAS,CAAC,UAAYP,EAAIQ,GAAGR,EAAIS,GAAG,8BAA8BP,EAAG,SAAS,CAACI,YAAY,2BAA2BI,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOX,EAAIY,iBAAiB,CAACZ,EAAIa,GAAGb,EAAIQ,GAAGR,EAAIS,GAAG,gCAAgCP,EAAG,SAAS,CAACI,YAAY,sBAAsBI,GAAG,CAAC,MAAQ,SAASC,GAAQX,EAAIc,aAAY,EAAKd,EAAII,SAAQ,KAAU,CAACJ,EAAIa,GAAGb,EAAIQ,GAAGR,EAAIS,GAAG,mCAAoCT,EAAIe,OAAOC,KAAKC,QAAU,EAAGf,E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aAAAkB,E","file":"js/chunk-7cb613d5.5349d43e.js","sourcesContent":["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!./report.vue?vue&type=style&index=0&id=3588ee24&prod&lang=css&\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[(_vm.results)?_c('div',[(_vm.grep_keyword('STALKERWARE', 'high'))?_c('div',{staticClass:\"high-wrapper\"},[_c('div',{staticClass:\"center\"},[_c('h1',{staticClass:\"warning-title\",domProps:{\"innerHTML\":_vm._s(_vm.$t('report.stalkerware_msg'))}}),_c('button',{staticClass:\"btn btn-report-low-light\",on:{\"click\":function($event){return _vm.new_capture()}}},[_vm._v(_vm._s(_vm.$t(\"report.start_new_capture\")))]),_c('button',{staticClass:\"btn btn-report-high\",on:{\"click\":function($event){_vm.show_report=true;_vm.results=false;}}},[_vm._v(_vm._s(_vm.$t(\"report.show_full_report\")))])])]):(_vm.alerts.high.length >= 1)?_c('div',{staticClass:\"high-wrapper\"},[_c('div',{staticClass:\"center\"},[_c('h1',{staticClass:\"warning-title\",domProps:{\"innerHTML\":_vm._s(_vm.$t('report.high_msg', { nb: _vm.$i18n.messages[_vm.$i18n.locale].report.numbers[_vm.alerts.high.length] }))}}),_c('button',{staticClass:\"btn btn-report-low-light\",on:{\"click\":function($event){return _vm.new_capture()}}},[_vm._v(_vm._s(_vm.$t(\"report.start_new_capture\")))]),_c('button',{staticClass:\"btn btn-report-high\",on:{\"click\":function($event){_vm.show_report=true;_vm.results=false;}}},[_vm._v(_vm._s(_vm.$t(\"report.show_full_report\")))])])]):(_vm.alerts.moderate.length >= 1)?_c('div',{staticClass:\"med-wrapper\"},[_c('div',{staticClass:\"center\"},[_c('h1',{staticClass:\"warning-title\",domProps:{\"innerHTML\":_vm._s(_vm.$t('report.moderate_msg', { nb: _vm.$i18n.messages[_vm.$i18n.locale].report.numbers[_vm.alerts.moderate.length] }))}}),_c('button',{staticClass:\"btn btn-report-low-light\",on:{\"click\":function($event){return _vm.new_capture()}}},[_vm._v(_vm._s(_vm.$t(\"report.start_new_capture\")))]),_c('button',{staticClass:\"btn btn-report-moderate\",on:{\"click\":function($event){_vm.show_report=true;_vm.results=false;}}},[_vm._v(_vm._s(_vm.$t(\"report.show_full_report\")))])])]):(_vm.alerts.low.length >= 1)?_c('div',{staticClass:\"low-wrapper\"},[_c('div',{staticClass:\"center\"},[_c('h1',{staticClass:\"warning-title\",domProps:{\"innerHTML\":_vm._s(_vm.$t('report.low_msg', { nb: _vm.$i18n.messages[_vm.$i18n.locale].report.numbers[_vm.alerts.low.length] }))}}),_c('button',{staticClass:\"btn btn-report-low-light\",on:{\"click\":function($event){return _vm.new_capture()}}},[_vm._v(_vm._s(_vm.$t(\"report.start_new_capture\")))]),_c('button',{staticClass:\"btn btn-report-low\",on:{\"click\":function($event){_vm.show_report=true;_vm.results=false;}}},[_vm._v(_vm._s(_vm.$t(\"report.show_full_report\")))])])]):_c('div',{staticClass:\"none-wrapper\"},[_c('div',{staticClass:\"center\"},[_c('h1',{staticClass:\"warning-title\",domProps:{\"innerHTML\":_vm._s(_vm.$t('report.fine_msg'))}}),_c('button',{staticClass:\"btn btn-report-low-light\",on:{\"click\":function($event){_vm.show_report=true;_vm.results=false;}}},[_vm._v(_vm._s(_vm.$t(\"report.show_full_report\")))]),_c('button',{staticClass:\"btn btn-report-low\",on:{\"click\":function($event){return _vm.new_capture()}}},[_vm._v(_vm._s(_vm.$t(\"report.start_new_capture\")))])])])]):(_vm.show_report)?_c('div',{staticClass:\"wrapper\"},[_c('div',{staticClass:\"report-wrapper\"},[_c('div',{staticClass:\"device-ctx\"},[_c('h3',{staticStyle:{\"margin\":\"0\",\"padding-left\":\"10px\"}},[_vm._v(_vm._s(_vm.$t(\"report.report_of\"))+\" \"+_vm._s(_vm.device.name))]),_c('div',{staticClass:\"device-ctx-legend\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"report.pcap_sha1\"))+\" \"+_vm._s(_vm.pcap.SHA1)),_c('br'),_vm._v(\" \"+_vm._s(_vm.$t(\"report.capture_started\"))+\" \"+_vm._s(_vm.pcap[\"First packet time\"].split(\",\")[0])),_c('br'),_vm._v(\" \"+_vm._s(_vm.$t(\"report.capture_ended\"))+\" \"+_vm._s(_vm.pcap[\"Last packet time\"].split(\",\")[0])),_c('br'),_vm._v(\" \"+_vm._s(_vm.$t(\"report.detection_methods\"))+\" \"+_vm._s(_vm.detection_methods)+\" \")])]),_c('ul',{staticClass:\"alerts\"},[_vm._l((_vm.alerts.high),function(alert){return _c('li',{key:alert.message,staticClass:\"alert\"},[_c('div',{staticClass:\"alert-header\"},[_c('span',{staticClass:\"high-label\"},[_vm._v(_vm._s(_vm.$t(\"report.high\")))]),_c('span',{staticClass:\"alert-id\"},[_vm._v(_vm._s(alert.id))]),_c('span',{staticClass:\"btn-whitelist\",on:{\"click\":function($event){return _vm.add_whitelist(alert.host)}}},[_vm._v(\"Add to the whitelist\")])]),_c('div',{staticClass:\"alert-body\"},[_c('span',{staticClass:\"title\"},[_vm._v(_vm._s(alert.title))]),_c('p',{staticClass:\"description\"},[_vm._v(_vm._s(alert.description))])])])}),_vm._l((_vm.alerts.moderate),function(alert){return _c('li',{key:alert.message,staticClass:\"alert\"},[_c('div',{staticClass:\"alert-header\"},[_c('span',{staticClass:\"moderate-label\"},[_vm._v(_vm._s(_vm.$t(\"report.moderate\")))]),_c('span',{staticClass:\"alert-id\"},[_vm._v(_vm._s(alert.id))]),_c('span',{staticClass:\"btn-whitelist\",on:{\"click\":function($event){return _vm.add_whitelist(alert.host)}}},[_vm._v(\"Add to the whitelist\")])]),_c('div',{staticClass:\"alert-body\"},[_c('span',{staticClass:\"title\"},[_vm._v(_vm._s(alert.title))]),_c('p',{staticClass:\"description\"},[_vm._v(_vm._s(alert.description))])])])}),_vm._l((_vm.alerts.low),function(alert){return _c('li',{key:alert.message,staticClass:\"alert\"},[_c('div',{staticClass:\"alert-header\"},[_c('span',{staticClass:\"moderate-label\"},[_vm._v(_vm._s(_vm.$t(\"report.low\")))]),_c('span',{staticClass:\"alert-id\"},[_vm._v(_vm._s(alert.id))]),_c('span',{staticClass:\"btn-whitelist\",on:{\"click\":function($event){return _vm.add_whitelist(alert.host)}}},[_vm._v(\"Add to the whitelist\")])]),_c('div',{staticClass:\"alert-body\"},[_c('span',{staticClass:\"title\"},[_vm._v(_vm._s(alert.title))]),_c('p',{staticClass:\"description\"},[_vm._v(_vm._s(alert.description))])])])})],2),(_vm.uncategorized_records.length>0)?_c('h5',{staticClass:\"title-report\"},[_vm._v(_vm._s(_vm.$t(\"report.uncat_coms_table\")))]):_vm._e(),(_vm.uncategorized_records.length>0)?_c('div',[_c('table',{staticClass:\"table-uncat\"},[_c('thead',[_c('tr',[_c('td',[_vm._v(_vm._s(_vm.$t(\"report.protocol\")))]),_c('td',[_vm._v(_vm._s(_vm.$t(\"report.domain_name\")))]),_c('td',[_vm._v(_vm._s(_vm.$t(\"report.ip_address\")))]),_c('td',[_vm._v(_vm._s(_vm.$t(\"report.port\")))])])]),_vm._l((_vm.uncategorized_records),function(record){return _c('tr',{key:record.ip_dst},[_c('td',[_vm._v(_vm._s(Object.keys(record.protocols).map(key => record.protocols[key].name).join(\", \")))]),_c('td',{on:{\"click\":function($event){return _vm.add_whitelist(record.domains[0])}}},[_vm._v(_vm._s(record.domains.join(\", \")))]),_c('td',{on:{\"click\":function($event){return _vm.add_whitelist(record.ip_dst)}}},[_vm._v(_vm._s(record.ip_dst))]),_c('td',[_vm._v(_vm._s(Object.keys(record.protocols).map(key => record.protocols[key].port).join(\", \")))])])})],2)]):_vm._e(),_c('div',{attrs:{\"id\":\"controls-analysis\"}},[_c('div',{staticClass:\"column col-6\"},[_c('button',{staticClass:\"btn btn btn-primary width-100\",on:{\"click\":function($event){return _vm.save_capture()}}},[_vm._v(_vm._s(_vm.$t(\"report.save\")))])]),_c('div',{staticClass:\"column col-6\"},[_c('button',{staticClass:\"btn width-100\",on:{\"click\":function($event){return _vm.$router.push('generate-ap')}}},[_vm._v(_vm._s(_vm.$t(\"report.start_new_capture\")))])])])])]):_vm._e()])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n\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!./report.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!./report.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./report.vue?vue&type=template&id=3588ee24&\"\nimport script from \"./report.vue?vue&type=script&lang=js&\"\nexport * from \"./report.vue?vue&type=script&lang=js&\"\nimport style0 from \"./report.vue?vue&type=style&index=0&id=3588ee24&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"],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["webpack:///./src/views/report.vue?b493","webpack:///./src/views/report.vue","webpack:///src/views/report.vue","webpack:///./src/views/report.vue?5d61","webpack:///./src/views/report.vue?7f56"],"names":["render","_vm","this","_c","_self","results","grep_keyword","staticClass","domProps","_s","$t","on","$event","new_capture","_v","show_report","alerts","high","length","nb","$i18n","messages","locale","report","numbers","moderate","low","staticStyle","device","name","pcap","SHA1","split","detection_methods","_l","alert","key","message","id","add_whitelist","host","title","description","uncategorized_records","_e","record","ip_dst","Object","keys","protocols","map","join","domains","port","attrs","save_capture","$router","push","staticRenderFns","data","props","methods","records","capture_token","console","router","params","axios","timeout","then","catch","idx","get_detection_methods","EventBus","get_uncategorized_records","created","component"],"mappings":"kHAAA,W,8ECAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAAEF,EAAII,QAASF,EAAG,MAAM,CAAEF,EAAIK,aAAa,cAAe,QAASH,EAAG,MAAM,CAACI,YAAY,gBAAgB,CAACJ,EAAG,MAAM,CAACI,YAAY,UAAU,CAACJ,EAAG,KAAK,CAACI,YAAY,gBAAgBC,SAAS,CAAC,UAAYP,EAAIQ,GAAGR,EAAIS,GAAG,8BAA8BP,EAAG,SAAS,CAACI,YAAY,2BAA2BI,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOX,EAAIY,iBAAiB,CAACZ,EAAIa,GAAGb,EAAIQ,GAAGR,EAAIS,GAAG,gCAAgCP,EAAG,SAAS,CAACI,YAAY,sBAAsBI,GAAG,CAAC,MAAQ,SAASC,GAAQX,EAAIc,aAAY,EAAKd,EAAII,SAAQ,KAAU,CAACJ,EAAIa,GAAGb,EAAIQ,GAAGR,EAAIS,GAAG,mCAAoCT,EAAIe,OAAOC,KAAKC,QAAU,EAAGf,EAAG,MAAM,CAACI,YAAY,gBAAgB,CAACJ,EAAG,MAAM,CAACI,YAAY,UAAU,CAACJ,EAAG,KAAK,CAACI,YAAY,gBAAgBC,SAAS,CAAC,UAAYP,EAAIQ,GAAGR,EAAIS,GAAG,kBAAmB,CAAES,GAAIlB,EAAImB,MAAMC,SAASpB,EAAImB,MAAME,QAAQC,OAAOC,QAAQvB,EAAIe,OAAOC,KAAKC,cAAef,EAAG,SAAS,CAACI,YAAY,2BAA2BI,GAAG,CA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AAK,sBAAsB,CAACnD,EAAG,MAAM,CAACI,YAAY,gBAAgB,CAACJ,EAAG,SAAS,CAACI,YAAY,gCAAgCI,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOX,EAAIsD,kBAAkB,CAACtD,EAAIa,GAAGb,EAAIQ,GAAGR,EAAIS,GAAG,qBAAqBP,EAAG,MAAM,CAACI,YAAY,gBAAgB,CAACJ,EAAG,SAAS,CAACI,YAAY,gBAAgBI,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOX,EAAIuD,QAAQC,KAAK,kBAAkB,CAACxD,EAAIa,GAAGb,EAAIQ,GAAGR,EAAIS,GAAG,wCAAwCT,EAAI2C,QAEh7Nc,EAAkB,G,6CC+HP,GACf7B,cACA8B,OACA,OACAtD,WACA4B,qBACAU,2BAGAiB,OACAhC,cACAiC,eACA/B,YACAgC,cACA9C,aACA+C,sBAEAF,SACAN,wBACAS,+CACAC,gBAAApC,oBAAAqC,QAAAH,qCAEAlD,uBACAmD,uEACAG,qCAAAC,cACAC,UAAAJ,aAAApC,uBACAyC,UAAAN,kBAEA1D,2BACA,IAEA,MACA,EAFA,gCAGA,2BACAiE,qBACA,aAEA,GAIA,SAAAP,iBAEAQ,iCACA,uHACA,6HACA,kHAEAjC,0BACAkC,iCAAA,6BAEAC,qCACA,yBACA,6BACA,uCAKAC,mBACAX,+CACA,6BACA,mCC/LgV,I,wBCQ5UY,EAAY,eACd,EACA5E,EACA0D,GACA,EACA,KACA,KACA,MAIa,aAAAkB,E","file":"js/chunk-7cb613d5.35dd63f5.js","sourcesContent":["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!./report.vue?vue&type=style&index=0&id=3588ee24&prod&lang=css&\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[(_vm.results)?_c('div',[(_vm.grep_keyword('STALKERWARE', 'high'))?_c('div',{staticClass:\"high-wrapper\"},[_c('div',{staticClass:\"center\"},[_c('h1',{staticClass:\"warning-title\",domProps:{\"innerHTML\":_vm._s(_vm.$t('report.stalkerware_msg'))}}),_c('button',{staticClass:\"btn btn-report-low-light\",on:{\"click\":function($event){return _vm.new_capture()}}},[_vm._v(_vm._s(_vm.$t(\"report.start_new_capture\")))]),_c('button',{staticClass:\"btn btn-report-high\",on:{\"click\":function($event){_vm.show_report=true;_vm.results=false;}}},[_vm._v(_vm._s(_vm.$t(\"report.show_full_report\")))])])]):(_vm.alerts.high.length >= 1)?_c('div',{staticClass:\"high-wrapper\"},[_c('div',{staticClass:\"center\"},[_c('h1',{staticClass:\"warning-title\",domProps:{\"innerHTML\":_vm._s(_vm.$t('report.high_msg', { nb: _vm.$i18n.messages[_vm.$i18n.locale].report.numbers[_vm.alerts.high.length] }))}}),_c('button',{staticClass:\"btn btn-report-low-light\",on:{\"click\":function($event){return _vm.new_capture()}}},[_vm._v(_vm._s(_vm.$t(\"report.start_new_capture\")))]),_c('button',{staticClass:\"btn btn-report-high\",on:{\"click\":function($event){_vm.show_report=true;_vm.results=false;}}},[_vm._v(_vm._s(_vm.$t(\"report.show_full_report\")))])])]):(_vm.alerts.moderate.length >= 1)?_c('div',{staticClass:\"med-wrapper\"},[_c('div',{staticClass:\"center\"},[_c('h1',{staticClass:\"warning-title\",domProps:{\"innerHTML\":_vm._s(_vm.$t('report.moderate_msg', { nb: _vm.$i18n.messages[_vm.$i18n.locale].report.numbers[_vm.alerts.moderate.length] }))}}),_c('button',{staticClass:\"btn btn-report-low-light\",on:{\"click\":function($event){return _vm.new_capture()}}},[_vm._v(_vm._s(_vm.$t(\"report.start_new_capture\")))]),_c('button',{staticClass:\"btn btn-report-moderate\",on:{\"click\":function($event){_vm.show_report=true;_vm.results=false;}}},[_vm._v(_vm._s(_vm.$t(\"report.show_full_report\")))])])]):(_vm.alerts.low.length >= 1)?_c('div',{staticClass:\"low-wrapper\"},[_c('div',{staticClass:\"center\"},[_c('h1',{staticClass:\"warning-title\",domProps:{\"innerHTML\":_vm._s(_vm.$t('report.low_msg', { nb: _vm.$i18n.messages[_vm.$i18n.locale].report.numbers[_vm.alerts.low.length] }))}}),_c('button',{staticClass:\"btn btn-report-low-light\",on:{\"click\":function($event){return _vm.new_capture()}}},[_vm._v(_vm._s(_vm.$t(\"report.start_new_capture\")))]),_c('button',{staticClass:\"btn btn-report-low\",on:{\"click\":function($event){_vm.show_report=true;_vm.results=false;}}},[_vm._v(_vm._s(_vm.$t(\"report.show_full_report\")))])])]):_c('div',{staticClass:\"none-wrapper\"},[_c('div',{staticClass:\"center\"},[_c('h1',{staticClass:\"warning-title\",domProps:{\"innerHTML\":_vm._s(_vm.$t('report.fine_msg'))}}),_c('button',{staticClass:\"btn btn-report-low-light\",on:{\"click\":function($event){_vm.show_report=true;_vm.results=false;}}},[_vm._v(_vm._s(_vm.$t(\"report.show_full_report\")))]),_c('button',{staticClass:\"btn btn-report-low\",on:{\"click\":function($event){return _vm.new_capture()}}},[_vm._v(_vm._s(_vm.$t(\"report.start_new_capture\")))])])])]):(_vm.show_report)?_c('div',{staticClass:\"wrapper\"},[_c('div',{staticClass:\"report-wrapper\"},[_c('div',{staticClass:\"device-ctx\"},[_c('h3',{staticStyle:{\"margin\":\"0\",\"padding-left\":\"10px\"}},[_vm._v(_vm._s(_vm.$t(\"report.report_of\"))+\" \"+_vm._s(_vm.device.name))]),_c('div',{staticClass:\"device-ctx-legend\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"report.pcap_sha1\"))+\" \"+_vm._s(_vm.pcap.SHA1)),_c('br'),_vm._v(\" \"+_vm._s(_vm.$t(\"report.capture_started\"))+\" \"+_vm._s(_vm.pcap[\"First packet time\"].split(\",\")[0])),_c('br'),_vm._v(\" \"+_vm._s(_vm.$t(\"report.capture_ended\"))+\" \"+_vm._s(_vm.pcap[\"Last packet time\"].split(\",\")[0])),_c('br'),_vm._v(\" \"+_vm._s(_vm.$t(\"report.detection_methods\"))+\" \"+_vm._s(_vm.detection_methods)+\" \")])]),_c('ul',{staticClass:\"alerts\"},[_vm._l((_vm.alerts.high),function(alert){return _c('li',{key:alert.message,staticClass:\"alert\"},[_c('div',{staticClass:\"alert-header\"},[_c('span',{staticClass:\"high-label\"},[_vm._v(_vm._s(_vm.$t(\"report.high\")))]),_c('span',{staticClass:\"alert-id\"},[_vm._v(_vm._s(alert.id))]),_c('span',{staticClass:\"btn-whitelist\",on:{\"click\":function($event){return _vm.add_whitelist(alert.host)}}},[_vm._v(\"Add to the whitelist\")])]),_c('div',{staticClass:\"alert-body\"},[_c('span',{staticClass:\"title\"},[_vm._v(_vm._s(alert.title))]),_c('p',{staticClass:\"description\"},[_vm._v(_vm._s(alert.description))])])])}),_vm._l((_vm.alerts.moderate),function(alert){return _c('li',{key:alert.message,staticClass:\"alert\"},[_c('div',{staticClass:\"alert-header\"},[_c('span',{staticClass:\"moderate-label\"},[_vm._v(_vm._s(_vm.$t(\"report.moderate\")))]),_c('span',{staticClass:\"alert-id\"},[_vm._v(_vm._s(alert.id))]),_c('span',{staticClass:\"btn-whitelist\",on:{\"click\":function($event){return _vm.add_whitelist(alert.host)}}},[_vm._v(\"Add to the whitelist\")])]),_c('div',{staticClass:\"alert-body\"},[_c('span',{staticClass:\"title\"},[_vm._v(_vm._s(alert.title))]),_c('p',{staticClass:\"description\"},[_vm._v(_vm._s(alert.description))])])])}),_vm._l((_vm.alerts.low),function(alert){return _c('li',{key:alert.message,staticClass:\"alert\"},[_c('div',{staticClass:\"alert-header\"},[_c('span',{staticClass:\"moderate-label\"},[_vm._v(_vm._s(_vm.$t(\"report.low\")))]),_c('span',{staticClass:\"alert-id\"},[_vm._v(_vm._s(alert.id))]),_c('span',{staticClass:\"btn-whitelist\",on:{\"click\":function($event){return _vm.add_whitelist(alert.host)}}},[_vm._v(\"Add to the whitelist\")])]),_c('div',{staticClass:\"alert-body\"},[_c('span',{staticClass:\"title\"},[_vm._v(_vm._s(alert.title))]),_c('p',{staticClass:\"description\"},[_vm._v(_vm._s(alert.description))])])])})],2),(_vm.uncategorized_records.length>0)?_c('h5',{staticClass:\"title-report\"},[_vm._v(_vm._s(_vm.$t(\"report.uncat_coms_table\")))]):_vm._e(),(_vm.uncategorized_records.length>0)?_c('div',[_c('table',{staticClass:\"table-uncat\"},[_c('thead',[_c('tr',[_c('td',[_vm._v(_vm._s(_vm.$t(\"report.protocol\")))]),_c('td',[_vm._v(_vm._s(_vm.$t(\"report.domain_name\")))]),_c('td',[_vm._v(_vm._s(_vm.$t(\"report.ip_address\")))]),_c('td',[_vm._v(_vm._s(_vm.$t(\"report.port\")))])])]),_vm._l((_vm.uncategorized_records),function(record){return _c('tr',{key:record.ip_dst},[_c('td',[_vm._v(_vm._s(Object.keys(record.protocols).map(key => record.protocols[key].name).join(\", \")))]),_c('td',{on:{\"click\":function($event){return _vm.add_whitelist(record.domains[0])}}},[_vm._v(_vm._s(record.domains.join(\", \")))]),_c('td',{on:{\"click\":function($event){return _vm.add_whitelist(record.ip_dst)}}},[_vm._v(_vm._s(record.ip_dst))]),_c('td',[_vm._v(_vm._s(Object.keys(record.protocols).map(key => record.protocols[key].port).join(\", \")))])])})],2)]):_vm._e(),_c('div',{attrs:{\"id\":\"controls-analysis\"}},[_c('div',{staticClass:\"column col-6\"},[_c('button',{staticClass:\"btn btn btn-primary width-100\",on:{\"click\":function($event){return _vm.save_capture()}}},[_vm._v(_vm._s(_vm.$t(\"report.save\")))])]),_c('div',{staticClass:\"column col-6\"},[_c('button',{staticClass:\"btn width-100\",on:{\"click\":function($event){return _vm.$router.push('generate-ap')}}},[_vm._v(_vm._s(_vm.$t(\"report.start_new_capture\")))])])])])]):_vm._e()])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n\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!./report.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!./report.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./report.vue?vue&type=template&id=3588ee24&\"\nimport script from \"./report.vue?vue&type=script&lang=js&\"\nexport * from \"./report.vue?vue&type=script&lang=js&\"\nimport style0 from \"./report.vue?vue&type=style&index=0&id=3588ee24&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"],"sourceRoot":""} \ No newline at end of file diff --git a/app/frontend/src/locales/de.json b/app/frontend/src/locales/de.json index b5e1581..f68e65d 100755 --- a/app/frontend/src/locales/de.json +++ b/app/frontend/src/locales/de.json @@ -21,8 +21,7 @@ "tap_msg": "Tippen Sie auf den weißen Rahmen, um ein neues Netzwerk zu erstellen.", "generate_ap_msg": "Wir erstellen ein temporäres Netzwerk für Sie.", "error_msg1": "Leider sind während der AP-Erstellung
einige Fehler aufgetreten.", - "error_msg2": "Bitte stellen Sie sicher, dass Ihr Gerät zwei WLAN-Schnittstellen besitzt,
und starten Sie es neu, um es erneut zu versuchen.", - "restart_btn": "Gerät neu starten" + "error_msg2": "Bitte überprüfen Sie, ob Sie die richtigen
Netzwerkschnittstellen im Backend konfiguriert haben." }, "report": { "show_full_report": "Vollständigen Bericht anzeigen", diff --git a/app/frontend/src/locales/en.json b/app/frontend/src/locales/en.json index c449788..c6d19a5 100755 --- a/app/frontend/src/locales/en.json +++ b/app/frontend/src/locales/en.json @@ -21,8 +21,7 @@ "tap_msg": "Tap the white frame to generate a new network.", "generate_ap_msg": "We generate an ephemeral network for you.", "error_msg1": "Unfortunately, we got some issues
during the AP creation.", - "error_msg2": "Please verify that you've two WiFi interfaces on your device
and try again by restarting it.", - "restart_btn": "Restart the device" + "error_msg2": "Please check that you have configured the right
network interfaces in the back-end." }, "report": { "show_full_report": "Show the full report", diff --git a/app/frontend/src/locales/es.json b/app/frontend/src/locales/es.json index 92cc335..9093d4f 100755 --- a/app/frontend/src/locales/es.json +++ b/app/frontend/src/locales/es.json @@ -21,8 +21,7 @@ "tap_msg": "Toca el marco blanco para generar una nueva red", "generate_ap_msg": "Generamos una red efímera para ti.", "error_msg1": "Desafortunadamente, tuvimos algunos problemas
durante la creación del AP.", - "error_msg2": "Verifique que tenga dos interfaces WiFi en su dispositivo
e intente nuevamente reiniciando.", - "restart_btn": "Reinicia el dispositivo" + "error_msg2": "Compruebe que ha configurado las interfaces de red
correctas en el back-end." }, "report": { "show_full_report": "Mostrar el informe completo", diff --git a/app/frontend/src/locales/fr.json b/app/frontend/src/locales/fr.json index 08c18f7..9ea9547 100755 --- a/app/frontend/src/locales/fr.json +++ b/app/frontend/src/locales/fr.json @@ -21,8 +21,7 @@ "tap_msg": "Appuyez sur le cadre blanc pour générer un nouveau réseau.", "generate_ap_msg": "Nous générons un réseau Wi-Fi éphémère.", "error_msg1": "Malheureusement, nous rencontrons des problèmes
lors de la création du point d'accès.", - "error_msg2": "Veuillez vérifier que vous disposez de
deux interfaces WiFi sur votre appareil.", - "restart_btn": "Restart the device" + "error_msg2": "Veuillez vérifier avez renseigné les bonnes
interfaces réseau dans le back-end." }, "report": { "show_full_report": "Lire le rapport complet", diff --git a/app/frontend/src/locales/it.json b/app/frontend/src/locales/it.json index faa2c67..93dffed 100755 --- a/app/frontend/src/locales/it.json +++ b/app/frontend/src/locales/it.json @@ -21,8 +21,7 @@ "tap_msg": "Toccare il riquadro bianco per generare una nuova rete.", "generate_ap_msg": "Viene generata una rete temporanea.", "error_msg1": "Si sono verificati alcuni problemi
durante la creazione del punto di accesso.", - "error_msg2": "Verificare di disporre di due interfacce Wi-Fi nel dispositivo
e riprovare eseguendo il riavvio.", - "restart_btn": "Riavvia il dispositivo" + "error_msg2": "Controlla di aver configurato le interfacce di rete
giuste nel back-end." }, "report": { "show_full_report": "Mostra il rapporto completo", diff --git a/app/frontend/src/locales/pt.json b/app/frontend/src/locales/pt.json index 09569ba..a6e3562 100755 --- a/app/frontend/src/locales/pt.json +++ b/app/frontend/src/locales/pt.json @@ -21,8 +21,7 @@ "tap_msg": "Toque no quadro branco para criar uma nova rede.", "generate_ap_msg": "Geramos uma rede temporária para você.", "error_msg1": "Infelizmente, tivemos alguns problemas
durante a criação do AP.", - "error_msg2": "Verifique se você possui duas interfaces Wi-Fi no dispositivo
e tente novamente, reiniciando-o.", - "restart_btn": "Reiniciar o dispositivo" + "error_msg2": "Verifique se você configurou as interfaces de rede
corretas no back-end." }, "report": { "show_full_report": "Mostrar o relatório completo", diff --git a/app/frontend/src/locales/ru.json b/app/frontend/src/locales/ru.json index 4193428..453e9b0 100755 --- a/app/frontend/src/locales/ru.json +++ b/app/frontend/src/locales/ru.json @@ -21,8 +21,7 @@ "tap_msg": "Нажмите на белую рамку, чтобы создать новую сеть.", "generate_ap_msg": "Создастся временная сеть.", "error_msg1": "
При создании точки доступа возникли проблемы.", - "error_msg2": "Убедитесь, что на вашем устройстве
есть два порта Wi-Fi, и повторите попытку, перезагрузив устройство.", - "restart_btn": "Перезагрузить устройство" + "error_msg2": "Убедитесь, что вы настроили нужные сетевые интерфейсы
в задней части." }, "report": { "show_full_report": "Показать полный отчет", diff --git a/app/frontend/src/views/generate-ap.vue b/app/frontend/src/views/generate-ap.vue index 3678885..cb4f41f 100755 --- a/app/frontend/src/views/generate-ap.vue +++ b/app/frontend/src/views/generate-ap.vue @@ -41,7 +41,6 @@

-