From e6fb02a1369ad07575acf19f5792e567f1e2a02a Mon Sep 17 00:00:00 2001 From: Andy Morales <39770126+andy2002a@users.noreply.github.com> Date: Tue, 12 Nov 2024 17:52:14 -0500 Subject: [PATCH] Fixed first file name Now checks for .txt too --- GootLoaderAutoJsDecode.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GootLoaderAutoJsDecode.py b/GootLoaderAutoJsDecode.py index 9df9c0f..b4002d1 100644 --- a/GootLoaderAutoJsDecode.py +++ b/GootLoaderAutoJsDecode.py @@ -5,7 +5,7 @@ # author : @g0vandS - Govand Sinjari # date : 2023-01-13 # updated : 2024-11-06 -# version : 3.7.3 +# version : 3.7.4 # usage : python GootLoaderAutoJsDecode.py malicious.js # output : DecodedJsPayload.js_ and GootLoader3Stage2.js_ # py version : 3 @@ -232,7 +232,7 @@ def getFileandTaskData(inputString): # Find the file names in the array for fixedString in fixedStrings: - if fixedString.endswith('.log') or fixedString.endswith('.dat'): + if fixedString.endswith(('.log', '.dat', '.txt')): s2FirstFileName = fixedString elif fixedString.endswith('.js'): s2JsFileName = fixedString