How to Use cPFence Virus Scanner?

cPFence provides various scanning options to detect and manage potential threats. This guide explains how to use the cPFence Virus Scanner effectively.

Full Scan

To run a full scan on all files, use the following command:

cpfence --full-scan

This comprehensive scan can take from 30 minutes to several hours, depending on the number of files and system size.

 

Smart Scan

To run a smart scan focusing on critical areas and commonly infected files, use the following command:

cpfence --smart-scan

This scan is quicker and targets high-risk areas.

 

Custom Scan

To run a custom scan on a specific path or set of files, use the following command:

cpfence --custom-scan PATH

Replace PATH with the desired path or file you want to scan.

 

Stop Scan

To stop all running scanning jobs (Smart, Full, and Custom), use the following command:

cpfence --stop-scan

 

Exclude Path

To whitelist a path or user account from all virus scanning jobs, use the following command:

cpfence --exclude-path PATH

Replace PATH with the path or user account you want to exclude.

 

Delete Excluded Path

To remove a path or user account from the virus scanning exclusions, use the following command:

cpfence --del-exclude-path PATH

Replace PATH with the path or user account you want to include in future scans.

 

Checking Scan Results and Quarantined Files

You can check if any files have been detected and quarantined by reviewing the infection history file. This file contains details about all infected files found during scans.

  • Location of Infection History File:

/var/log/cpfenceav/infections.history

This file logs all malware or virus detections, including any files that were quarantined during scans.

 

  • Monitoring Scan Progress

When you initiate any antivirus scan—whether it's a smart scan, full scan, or custom path scan—cPFence will provide you with a log file for monitoring the scan's results.

 

Scan Example Output:

root@server:~# cpfence --smart-scan
Starting a smart scan on commonly infected files only..please wait.
A smart scan job started in the background. Feel free to close the terminal.
This may take 30 minutes up to 2 hours to finish. You can check the log file at:
tail -n 25 -f /var/log/cpfenceav/smart_scan_YYYYMMDD_HHMMSS.log

 

Need Help?

If you have any questions or need further assistance, please feel free to contact our support team, and we’ll be happy to help you optimize your antivirus settings!

 

  • 0 Kasutajad peavad seda kasulikuks
Kas see vastus oli kasulik?

Seotud artiklid

How to Enable / Disable Malware Real-Time Protection?

This guide provides instructions for managing Malware Real-Time Protection (MRTP). Enable MRTP...

Does cPFence Provide Protection for Mail Servers?

Yes, cPFence provides email protection, including virus-infected attachments, spam, and...

What is Proactive Scan & How to Enable it?

The Proactive Scan option in cPFence controls the speed of detection and scanning in the Malware...

How to Enable/Disable Auto Quarantine in cPFence ?

See also : How Restore Files from Quarantine   The Auto Quarantine feature in cPFence allows...

How to Enable or Disable Email Quarantine in cPFence?

cPFence offers the ability to enable or disable email quarantine for handling infected...