Fix malware scans

This commit is contained in:
2Shirt 2022-09-28 17:13:21 -07:00
parent 7c8e0f7c5a
commit 6da14beabe
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C
2 changed files with 8 additions and 2 deletions

View file

@ -12,7 +12,7 @@ SOURCES = {
# Main
'AVRemover32': 'https://download.eset.com/com/eset/tools/installers/av_remover/latest/avremover_nt32_enu.exe',
'AVRemover64': 'https://download.eset.com/com/eset/tools/installers/av_remover/latest/avremover_nt64_enu.exe',
'AdwCleaner': 'https://downloads.malwarebytes.com/file/adwcleaner',
'AdwCleaner': 'https://adwcleaner.malwarebytes.com/adwcleaner?channel=release',
'Autologon32': 'http://live.sysinternals.com/Autologon.exe',
'Autologon64': 'http://live.sysinternals.com/Autologon64.exe',
'ESET_NOD32_AV32': 'https://download.eset.com/com/eset/apps/home/eav/windows/latest/eav_nt32.exe',

View file

@ -1134,7 +1134,9 @@ def install_mbam():
break
# Install / Upgrade
run_tool('MBAM', 'MBAM', '/VERYSILENT', '/NORESTART', download=True)
run_tool(
'MBAM', 'MBAM', '/VERYSILENT', '/NORESTART', download=True, popen=True,
)
def run_adwcleaner():
@ -1261,6 +1263,10 @@ def run_mbam():
if test_path.exists():
exe_path = str(test_path)
# Bail if MBAM not found
if not exe_path:
raise FileNotFoundError('MBAM not found')
# Run
run_program(exe_path, check=False)