Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
gongdongdong committed Nov 29, 2019
1 parent d51bb1d commit 0431bc8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/plugins/File_Analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@ def check_hide(self):
infos = os.popen(
'find / ! -path "/proc/*" ! -path "/sys/*" ! -path "/run/*" ! -path "/private/*" -name "..*" 2>/dev/null').read().splitlines()
for file in infos:
if file == '/usr/share/man/man1/..1.gz':
continue
malice_result(self.name, u'可疑隐藏文件安全扫描', file, '', u"文件 %s 属于可疑隐藏文件" % file,
u'[1]ls -l %s [2]strings %s' % (file, file), u'可疑', programme=u'rm %s #删除恶意文件' % file)
suspicious = True
Expand Down

0 comments on commit 0431bc8

Please sign in to comment.