Update recent_files.py
This commit is contained in:
parent
7ae5cbe933
commit
ebb042c3e1
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue