diff --git a/package-lock.json b/package-lock.json index 5e31acdd..cd899ffc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "cyberchef", - "version": "9.0.5", + "version": "9.0.8", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index cece0e40..50239b44 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cyberchef", - "version": "9.0.5", + "version": "9.0.8", "description": "The Cyber Swiss Army Knife for encryption, encoding, compression and data analysis.", "author": "n1474335 ", "homepage": "https://gchq.github.io/CyberChef", diff --git a/src/core/lib/Protobuf.mjs b/src/core/lib/Protobuf.mjs index 03d5943e..0cdf41f2 100644 --- a/src/core/lib/Protobuf.mjs +++ b/src/core/lib/Protobuf.mjs @@ -205,7 +205,7 @@ class Protobuf { (this.data[this.offset] & this.VALUE) << shift : (this.data[this.offset] & this.VALUE) * Math.pow(2, shift); shift += 7; - } while ((this.data[this.offset++] & this.MSD) === this.MSB); + } while ((this.data[this.offset++] & this.MSB) === this.MSB); return fieldNumber; } diff --git a/src/core/operations/AESDecrypt.mjs b/src/core/operations/AESDecrypt.mjs index a786bdaf..be823b9b 100644 --- a/src/core/operations/AESDecrypt.mjs +++ b/src/core/operations/AESDecrypt.mjs @@ -91,7 +91,7 @@ The following algorithms will be used based on the size of the key: const decipher = forge.cipher.createDecipher("AES-" + mode, key); decipher.start({ - iv: iv, + iv: iv.length === 0 ? "" : iv, tag: gcmTag }); decipher.update(forge.util.createBuffer(input)); diff --git a/src/core/operations/ParseColourCode.mjs b/src/core/operations/ParseColourCode.mjs index 5136f1a7..f24b1043 100644 --- a/src/core/operations/ParseColourCode.mjs +++ b/src/core/operations/ParseColourCode.mjs @@ -113,7 +113,7 @@ CMYK: ${cmyk} }).on('colorpickerChange', function(e) { var color = e.color.string('rgba'); document.getElementById('input-text').value = color; - window.app.autoBake(); + window.app.manager.input.debounceInputChange(new Event("keyup")); }); `; } diff --git a/src/web/html/index.html b/src/web/html/index.html index 7fcb7415..011742d3 100755 --- a/src/web/html/index.html +++ b/src/web/html/index.html @@ -382,7 +382,7 @@ -