From ebb042c3e1e25128d969c2ca91d54603451fb346 Mon Sep 17 00:00:00 2001 From: Deft_ Date: Thu, 17 Oct 2024 15:36:47 +0200 Subject: [PATCH] Update recent_files.py --- donpapi/collectors/recent_files.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/donpapi/collectors/recent_files.py b/donpapi/collectors/recent_files.py index 299c042..db71f3c 100644 --- a/donpapi/collectors/recent_files.py +++ b/donpapi/collectors/recent_files.py @@ -11,7 +11,7 @@ from donpapi.lib.logger import DonPAPIAdapter TAG = "Files" class FilesDump: - false_positive = ['.','..', 'desktop.ini','Public','Default','Default User','All Users'] + false_positive = [".", "..", "desktop.ini", "Public", "Default", "Default User", "All Users", ".NET v4.5", ".NET v4.5 Classic"] user_directories = ["Users\\{username}\\Recent", "Users\\{username}\\Desktop"] mask = ['xls','pdf','doc','txt','lnk','kbdx','xml','config','conf','bat','sh'] max_filesize = 5000000 @@ -49,4 +49,4 @@ class FilesDump: with open(local_filepath,'wb') as f: if file_content is None: file_content = b"" - f.write(file_content) \ No newline at end of file + f.write(file_content)