How to use Virus Scanner in cPanel?

This article describes the way to use the virus scanner in cPanel to scan your account files for viruses, trojan horses, and other sorts of malware. You’ll scan e-mail files, files in public web and FTP directories, or your entire account.


What the virus scanner looks for

The virus scanner in cPanel searches for viruses, trojan horses, malware, and other threats. It does this by using databases from several sources:

ClamAV: Clam AntiVirus is an open-source program that can detect a wide sort of threats. For more information about ClamAV, please visit http://www.clamav.net.


Running a virus scan


To run a virus scan, follow these steps:

1. Log in to cPanel.

2. In the ADVANCED section of the cPanel home screen, click Virus Scanner:

   

3. Under Start a new Scan, select the directory you want to scan:

  • Scan Mail: This option scans the mail directory in your account, looking for viruses in incoming and outgoing e-mail messages.


"You should run this scan if one of your recipient's reports receiving a virus from you."


  • Scan Entire Home Directory: This option scans all of the files in your account.

 

  • Scan Public Web Space: This option scans the public_html directory in your account, looking for infected website files.


"You should run this scan frequently to check if any of your website files are infected with known viruses."


  • Scan Public FTP Space: This option scans the public_ftp directory in your account, looking for infected files.


"You only need to run this scan if you share files using FTP."


4. Click Scan Now.


"If there are lots of files in the directory, the scan may take some time to complete."


If the virus scan finds any infected files, you’ll specify what to do with the files:

  • Quarantine: When this option is chosen, the virus scanner moves the file to the quarantine directory. The quarantine directory is located at /home/username/quarantine_clamavconnector, where the username represents your account username.
  • Destroy: When this option is chosen, the virus scanner deletes the infected file.
  • Ignore: When this option is chosen, the virus scanner leaves the infected file unchanged.

 

To complete the virus scan process, click Process Cleanup.

 

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How can I change a database password on cPanel?

Changing MySQL database password via cPanel You can change your database’s password by...

How can I change my PHP version on cPanel?

Changing PHP version via cPanel Your Hosting Account's PHP version can be changed at any time,...

How can I create a new MySQL database in cPanel?

Creating a new MySQL database at Servers GATE using cPanel   You can easily create a new MySQL...

How can I locate my MySQL database details on cPanel?

Locating your MySQL database details via cPanel You can easily locate your MySQL databases...

How can I set up a redirect on cPanel?

Creating a redirect on cPanel Your hosting redirects can be easily managed with the assistance...