ConsoleUser

Copyright (c) 2010-2023 Skaion Corporarion, www.skaion.com

This project was developed in part by numerous sponsorships from the U.S. Government. The U.S. Government is authorized to reproduce and distribute reprints of Governmental purposes notwithstanding any copyright notation thereon.

All content reflects those of the authors and should not be interpreted as necessarily representing the official policies or endorsements, either expressed or implied, of the U.S. Government or Skaion Corporation.

class ClamWin.ClamWin(system, config)

This will wrap common code for using ClamWin

Parameters:

  • system: a <no title> object to interact with the target system

  • config: a <no title> that defines this user

exit(save=False)

Exit ClamWin

Parameters:

  • save: Not used for this app, just accepted to allow a common prototype

handle_alert(category=None, program=None)

Handle a real-time alert displayed by the VirusScan

open()

Open the application, but don’t take any actions.

run_full_scan(block=True)

Start a full system scan and optionally wait for it to finish.

Parameters:

  • block: Whether or not to wait until the scan is finished before this function returns, defaults to True

run_quick_scan(block=True)

Start a quick system scan and optionally wait for it to finish.

Parameters:

  • block: Whether or not to wait until the scan is finished before this function returns, defaults to True

update()

Have the VirusScanImpl check for and apply any available updates.