Update recent_files.py

This commit is contained in:
Deft_ 2024-10-17 15:36:47 +02:00 committed by GitHub
parent 7ae5cbe933
commit ebb042c3e1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -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)
f.write(file_content)