File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -67,10 +67,6 @@ def check_tmp(self):
67
67
for dir in tmp_list :
68
68
if not os .path .exists (dir ): continue
69
69
for file in gci (dir ):
70
- if not os .path .exists (file ): continue
71
- if os .path .isdir (file ): continue
72
- if (os .path .getsize (file ) == 0 ) or (
73
- round (os .path .getsize (file ) / float (1024 * 1024 )) > 10 ): continue
74
70
malware = self .analysis_file (file )
75
71
if malware :
76
72
self .file_malware .append (
@@ -89,10 +85,6 @@ def check_user_dir(self):
89
85
for dir in dir_list :
90
86
if not os .path .exists (dir ): continue
91
87
for file in gci (dir ):
92
- if not os .path .exists (file ): continue
93
- if os .path .isdir (file ): continue
94
- if (os .path .getsize (file ) == 0 ) or (
95
- round (os .path .getsize (file ) / float (1024 * 1024 )) > 10 ): continue
96
88
malware = self .analysis_file (file )
97
89
if malware :
98
90
self .file_malware .append (
You can’t perform that action at this time.
0 commit comments