Skip to content

Commit 74b4d18

Browse files
authored
Merge pull request #1485 from j-t-1/extensions
Make ETHREAD year check dynamic
2 parents b1a42d9 + 834b7d0 commit 74b4d18

File tree

1 file changed

+2
-1
lines changed
  • volatility3/framework/symbols/windows/extensions

1 file changed

+2
-1
lines changed

volatility3/framework/symbols/windows/extensions/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,8 @@ def is_valid(self) -> bool:
519519
if not isinstance(ctime, datetime.datetime):
520520
return False
521521

522-
if not (1998 < ctime.year < 2030):
522+
current_year = datetime.datetime.now().year
523+
if not (1998 < ctime.year < current_year + 10):
523524
return False
524525

525526
except exceptions.InvalidAddressException:

0 commit comments

Comments
 (0)