Function
Start checking the specified file or directory with Scanner.
Arguments
<path> – Path to the file or directory which is selected to be scanned.
This argument can be missing if the --stdin or --stdin0 option is specified.
To specify several files that satisfy a certain criterion, use the find utility (see the examples) and the --stdin or --stdin0 options.
Options
-a [--Autonomous] – Start a separate instance of Dr.Web for Linux engine and Scanner and terminate their operation after the scanning task completes. Note that threats detected during autonomous scanning are not displayed in the common threat list that is output by threats command (see below).
--stdin – Get list of paths to scan from the standard input string (stdin).
Paths in the list must be separated by the new line character ('\n').
--stdin0 – Get list of paths to scan from the standard input string (stdin).
Paths in the list must be separated by the NUL character ('\0').
Note that templates are not allowed when specifying paths for either of these options.
Recommended usage of the --stdin and --stdin0 options is processing a path list (generated by an external utility, for example, find) in the scan command (see examples).
--Report <BRIEF|DEBUG> – Specify the type of scanning results report.
Possible values:
•BRIEF – brief report. •DEBUG – detailed report. Default value: BRIEF
--ScanTimeout <number> – Set the timeout value for scanning one file, in ms.
If the value is set to 0, time to scan a file is not limited.
Default value: 0
--PackerMaxLevel <number> – Set the maximum nesting level when scanning packed objects.
If the value is set to 0, the nested objects are not checked.
Default value: 8
--ArchiveMaxLevel <number> – Set the maximum level of nesting when scanning archives (zip, rar, etc.).
If the value is set to 0, the nested objects are not checked.
Default value: 8
--MailMaxLevel <number> – Set the maximum level of nesting when scanning email messages (pst, tbb, etc.).
If the value is set to 0, the nested objects are not checked.
Default value: 8
--ContainerMaxLevel <number> – Set the maximum level of nesting when scanning containers of other types (HTML and others).
If the value is set to 0, the nested objects are not checked.
Default values: 8
--MaxCompressionRatio <ratio> – Set the maximum compression ratio for scanned objects.
The ratio must be at least equal to 2.
Default value: 3000
--HeuristicAnalysis <On|Off> – Enable or disable heuristics analysis.
Default value: On
--OnKnownVirus <action> – Action applied to a threat detected using signature analysis.
Allowed values: REPORT, CURE, QUARANTINE, DELETE.
Default value: REPORT
--OnIncurable <action> – Action applied on failure to cure a detected threat or if a threat is incurable.
Allowed values: REPORT, QUARANTINE, DELETE.
Default value: REPORT
--OnSuspicious <action> – Action applied to a threat detected using heuristics analysis.
Allowed values: REPORT, QUARANTINE, DELETE.
Default value: REPORT
--OnAdware <action> – Action applied to adware.
Allowed values: REPORT, QUARANTINE, DELETE.
Default values: REPORT
--OnDialers <action> – Action applied to a dialer.
Allowed values: REPORT, QUARANTINE, DELETE.
Default values: REPORT
--OnJokes <action> – Action applied to a joke program.
Allowed values: REPORT, QUARANTINE, DELETE.
Default values: REPORT
--OnRiskware <action> – Action applied to a potentially dangerous program (riskware).
Allowed values: REPORT, QUARANTINE, DELETE.
Default values: REPORT
--OnHacktools <action> – Action applied to a hacktool.
Allowed values: REPORT, QUARANTINE, DELETE.
Default values: REPORT
|