Topic: How can I use the Panda Linux CommandLine Antivirus Scanner?
At present, support information is limited for the Panda command-line linux client. The following notes (collected from other sources across the web and actual use of the scanner) may be useful for those who intend to use it:
- Names: pavcl, Panda Antivirus, Free CommandLine Scanner
- Return Codes: The scanner uses 24-bit numeric return values. Generally, each return value is a bitmask in which each active bit represents a particular message.
- Possible listing of bitmap meanings (may vary between versions):
0 = Specifies that that the scan is complete.
1 = Specifies that there were memory problems during execution.
2 = Specifies that at least one of the parameters entered for execution was incorrect.
3 = Specifies that the scan process was aborted or stopped by the user.
4 = Specifies that it has not been possible to carry out the scan, as the Virus Signature file (PAV.SIG) could not be found.
5-11 = Not used.
13 = Specifies that the antivirus in command line (PAVCL) has been executed with the parameter –HELP
14 = Specifies that the directory entered is not correct
15 = Specifies that information about CommandlineSecure (by means of the parameter –info)
16-20 = Specifies that an error has occurred while starting the anti-malware scan (for virus and other threats)
• Values from 4 to 7 bit specify the type of operation performed. It is a 4 bit mask with a combination of the following bit enabled.
= Bit 4. An infected file was detected during the scan.
Bit 5. A file was disinfected during the scan.
Bit 6. A file was renamed during the scan.
Bit 7. A file was deleted during the scan.
Values from 8 to 23 bit contain a numeric value that indicates the number of infected files that have been detected.
The 24 bit value specifies Virus Overflow. If it is enabled, it will indicate that over 65535 infected files have been detected.
- stdout: This scanner does output binary values in some circumstances, however these values are no addressed in this article. To view the scanner return code from a linux command line, execute the scan, then enter echo $?
- Sources: Sources used for the creation of this article include:
|