Skip to content

Commit

Permalink
info_add
Browse files Browse the repository at this point in the history
  • Loading branch information
grayddq authored and grayddq committed Apr 25, 2019
1 parent 376816e commit a7cbbfd
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions lib/File_Analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,6 @@ def check_tmp(self):
for dir in tmp_list:
if not os.path.exists(dir): continue
for file in gci(dir):
if not os.path.exists(file): continue
if os.path.isdir(file): continue
if (os.path.getsize(file) == 0) or (
round(os.path.getsize(file) / float(1024 * 1024)) > 10): continue
malware = self.analysis_file(file)
if malware:
self.file_malware.append(
Expand All @@ -89,10 +85,6 @@ def check_user_dir(self):
for dir in dir_list:
if not os.path.exists(dir): continue
for file in gci(dir):
if not os.path.exists(file): continue
if os.path.isdir(file): continue
if (os.path.getsize(file) == 0) or (
round(os.path.getsize(file) / float(1024 * 1024)) > 10): continue
malware = self.analysis_file(file)
if malware:
self.file_malware.append(
Expand Down

0 comments on commit a7cbbfd

Please sign in to comment.