修复两处bug
修复两处bug
This commit is contained in:
@@ -30,6 +30,8 @@ def update_loged_num(host):
|
|||||||
}
|
}
|
||||||
host_list[host]['all_log_num'] += 1
|
host_list[host]['all_log_num'] += 1
|
||||||
if time.time() - host_list[host]['last_update_time'] > 60:
|
if time.time() - host_list[host]['last_update_time'] > 60:
|
||||||
|
if host_list[host]['all_log_num'] == 0:
|
||||||
|
del host_list[host]
|
||||||
host_list[host]['last_update_time'] = time.time()
|
host_list[host]['last_update_time'] = time.time()
|
||||||
host_list[host]['log_num'].append(host_list[host]['all_log_num'])
|
host_list[host]['log_num'].append(host_list[host]['all_log_num'])
|
||||||
host_list[host]['all_log_num'] = 0
|
host_list[host]['all_log_num'] = 0
|
||||||
|
|||||||
@@ -380,6 +380,7 @@
|
|||||||
<Image condition="end with">dasHost.exe</Image>
|
<Image condition="end with">dasHost.exe</Image>
|
||||||
<Image condition="end with">DingTalk.exe</Image>
|
<Image condition="end with">DingTalk.exe</Image>
|
||||||
<Image condition="end with">vmnat.exe</Image>
|
<Image condition="end with">vmnat.exe</Image>
|
||||||
|
<Image condition="end with">SysEye.exe</Image>
|
||||||
|
|
||||||
<!--SECTION: Microsoft-->
|
<!--SECTION: Microsoft-->
|
||||||
<Image condition="begin with">C:\ProgramData\Microsoft\Windows Defender\Platform\</Image>
|
<Image condition="begin with">C:\ProgramData\Microsoft\Windows Defender\Platform\</Image>
|
||||||
|
|||||||
Reference in New Issue
Block a user