Improve detection of enabled AV products

This commit is contained in:
2Shirt 2019-05-10 16:40:26 -06:00
parent 06018125b2
commit 4985df805d
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C

View file

@ -95,7 +95,7 @@ def get_installed_antivirus():
out = out.stdout.decode().strip()
state = out.split('=')[1]
state = hex(int(state))
if str(state)[3:5] != '10':
if str(state)[3:5] not in ['10', '11']:
programs.append('[Disabled] {}'.format(prod))
else:
programs.append(prod)