Update EmsisoftCmd settings

This commit is contained in:
2Shirt 2023-02-04 14:52:42 -08:00
parent ab2a7fd126
commit 870678c04b
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C

View file

@ -109,6 +109,7 @@ MBAM_UNINSTALL_KEY = (
r'\{35065F43-4BB2-439A-BFF7-0F1014F2E0CD}_is1'
)
MS_ANTIVIRUS_ENABLED = 0x1000
PROGRAMDATA = os.environ.get('{ALLUSERSPROFILE}', r'C:\ProgramData')
SYSTEMDRIVE = os.environ.get('SYSTEMDRIVE', 'C:')
EMSISOFT_INSTALL_PATH = get_path_obj(f'{SYSTEMDRIVE}/EmsisoftCmd')
WHITELIST = '\n'.join((
@ -1177,9 +1178,9 @@ def run_emsisoft_cmd_scan():
# Run Scan
cmd = [
f'{EMSISOFT_INSTALL_PATH}/a2cmd.exe', '/directdiskaccess',
f'/f={SYSTEMDRIVE}',
'/rootkits', '/memory', '/traces', '/pup', '/ntfs', '/delete',
f'{EMSISOFT_INSTALL_PATH}/a2cmd.exe',
fr'/files={PROGRAMDATA},{SYSTEMDRIVE}\Users',
'/archive', '/memory', '/ntfs', '/pup', '/traces',
f'/log={log_path}',
f'/quarantine={quarantine_path}',
f'/whitelist={whitelist_path}',