Explorar o código

updating attacks level 1

cecylia %!s(int64=8) %!d(string=hai) anos
pai
achega
7bbac8965e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      js/devicescripts.js

+ 1 - 1
js/devicescripts.js

@@ -138,7 +138,7 @@ var deviceScripts = {
             if(packet.hasOwnProperty("transport") && packet["transport"].hasOwnProperty("proto")){
                 if(packet.transport.proto == "encryption"){
                     if(packet.hasOwnProperty("application") && packet["application"].hasOwnProperty("type")){
-                    var type = packet.application.payload;
+                    var type = packet.application.type;
 
                     switch(type) {
                         case "keyrequest":