Skip to content

Commit a7cbbfd

Browse files
grayddqgrayddq
authored andcommitted
info_add
1 parent 376816e commit a7cbbfd

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

lib/File_Analysis.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,6 @@ def check_tmp(self):
6767
for dir in tmp_list:
6868
if not os.path.exists(dir): continue
6969
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
7470
malware = self.analysis_file(file)
7571
if malware:
7672
self.file_malware.append(
@@ -89,10 +85,6 @@ def check_user_dir(self):
8985
for dir in dir_list:
9086
if not os.path.exists(dir): continue
9187
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
9688
malware = self.analysis_file(file)
9789
if malware:
9890
self.file_malware.append(

0 commit comments

Comments
 (0)