The PCOP protection for Linux allows users to manually run scans on Linux computers. Use the following parameters to scan and disinfect files:
Pavsl.sh –cmp –heu –rpt [log] -noglk -prx
- Cmp parameter: Indicates whether to parse compressed or package files to scan their contents.
- Heu parameter: Indicates whether to use heuristic technologies in the scan.
- Rpt parameter: Indicates the directory (path) where a log file with the scan results will be placed.
- Noglk parameter: Indicates the scan will be carried out without querying the cloud.
- Prx parameter: Indicates the proxy server settings should a proxy server be used to connect to the Internet. The format should be as follows:
- samples_path parameter: Indicates the path (directory) of the file to scan (and any subdirectories it may contain). If you want to scan multiple paths, enter them enclosed in double quotes and separated by commas ("path","path"). In the case of paths with blank spaces, use the escape character (\) and enclose the path in double quotes ("), both whether you want to scan a single path or more than one.
pavsl.sh –cmp –heu –rpt /tmp/log /home/user/files
pavsl.sh –cmp –heu –rpt /tmp/log "/home/user/files"," /home/user/file2"
pavsl.sh –cmp –heu –rpt /tmp/log "/home/user/dummy\ files"
pavsl.sh –cmp –heu –rpt /tmp/log "/home/user/dummy\ files", "/home/user/malware"
If you want the scan results to be sent to the server, the log file must be generated in folder /opt/PCOPAgent/Common/DATA/ScansLogs. Also, the file name must be SCAN_XXXX.log, where XXXX is a 4-digit number.
pavsl.sh -cmp -heu -rpt /opt/PCOPAgent/Common/DATA/ScansLogs/SCAN_2000.log