Console Scanner Return Codes

The values of the return code and corresponding events are as follows:

Return code value

Event

0

OK, no threat found.

1

Known threat detected.

2

Modification of known threat detected.

4

Suspicious object found.

8

Known threat detected in file archive, mail archive, or container.

16

Modification of known threat detected in file archive, mail archive, or container.

32

Suspicious file found in file archive, mail archive, or container.

64

At least one infected object successfully cured.

128

At least one infected or suspicious file deleted/renamed/moved.

The actual value returned by the program is equal to the sum of codes for the events that occurred during scanning. Obviously, the sum can be easily decomposed into separate event codes.

For example, return code 9 = 1 + 8 means that known threats were detected, including threats in archives, mail archives or containers; curing and others actions were not executed; no other threat information.