Skip to content

Commit

Permalink
Fixed first file name
Browse files Browse the repository at this point in the history
Now checks for .txt too
  • Loading branch information
andy2002a authored Nov 12, 2024
1 parent 1a6feb0 commit e6fb02a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions GootLoaderAutoJsDecode.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit e6fb02a

Please sign in to comment.