Update EmsisoftCmd settings
This commit is contained in:
parent
ab2a7fd126
commit
870678c04b
1 changed files with 4 additions and 3 deletions
|
|
@ -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}',
|
||||
|
|
|
|||
Loading…
Reference in a new issue