From 1f0fddd0e9ed58a2db5d80ebbb6db562940c7e09 Mon Sep 17 00:00:00 2001 From: n1073645 Date: Tue, 7 Apr 2020 10:33:15 +0100 Subject: [PATCH] Added magic signature to Microsoft Script Decoder --- src/core/operations/MicrosoftScriptDecoder.mjs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/core/operations/MicrosoftScriptDecoder.mjs b/src/core/operations/MicrosoftScriptDecoder.mjs index 952a8788..3e59e95e 100644 --- a/src/core/operations/MicrosoftScriptDecoder.mjs +++ b/src/core/operations/MicrosoftScriptDecoder.mjs @@ -24,6 +24,13 @@ class MicrosoftScriptDecoder extends Operation { this.inputType = "string"; this.outputType = "string"; this.args = []; + this.checks = [ + { + pattern: "#@~\\^.{6}==(.+).{6}==\\^#~@", + flags: "i", + args: [] + } + ]; } /**