Title: Wieczo&#039;s Virus Scanner
Author: wieczo
Published: <strong>14 October 2024</strong>
Last modified: 17 October 2024

---

Search plugins

![](https://ps.w.org/wieczos-virus-scanner/assets/banner-772x250.png?rev=3169514)

This plugin **hasn’t been tested with the latest three major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/wieczos-virus-scanner/assets/icon-256x256.png?rev=3169488)

# Wieczo’s Virus Scanner

 By [wieczo](https://profiles.wordpress.org/wieczo/)

[Download](https://downloads.wordpress.org/plugin/wieczos-virus-scanner.1.2.1.zip)

 * [Details](https://en-gb.wordpress.org/plugins/wieczos-virus-scanner/#description)
 * [Reviews](https://en-gb.wordpress.org/plugins/wieczos-virus-scanner/#reviews)
 * [Development](https://en-gb.wordpress.org/plugins/wieczos-virus-scanner/#developers)

 [Support](https://wordpress.org/support/plugin/wieczos-virus-scanner/)

## Description

**Wieczo’s Virus Scanner** is a WordPress plugin that allows users to upload files
from the WordPress admin area and scan them for viruses and malware by sending them
to a ClamAV service.

Additionally, the plugin sends every upload to ClamAV first. If a virus is found,
the upload is aborted.

The plugin also supports scanning your whole WordPress installation for malware 
and viruses.

The plugin connects to a ClamAV service using the **Host** and **Port** variables
configured in the plugin settings.

### Features

 * **File Upload**: Allows file uploads through a user-friendly admin page.
 * **Upload Scan**: Scans all uploaded files for viruses and malware.
 * **Full Scan**: Separate page to scan the whole WordPress installation for malware
   and viruses.
 * **ClamAV Integration**: Sends files via a socket connection to a ClamAV service
   for virus scanning.
 * **Easy Configuration**: Configure the host and port of the ClamAV service in 
   the plugin settings.

### How to Contribute

We’re excited to welcome contributors to Wieczo’s Virus Scanner!
 Whether you’re
a seasoned developer or just getting started, your input is valuable. You can help
us by reporting bugs, suggesting new features, or improving the code. It’s a great
way to sharpen your skills and make a real impact. Just fork the repository, work
on your ideas, and submit a pull request. We’ll review it as soon as possible and
work together to make this plugin even better!

### Contributors

We want to thank all of our contributors! Here’s a list of everyone who has helped
make this project better:

 * [Thomas Wieczorek](https://github.com/wieczo) – Project Creator
 * [Simon Neutert](https://github.com/simonneutert) – Always an inspiration and 
   contributes with his thoughts
    and well-spoken arguments.

### Manual Installation:

 1. Upload the `wieczos-virus-scanner` directory to your WordPress installation’s `/
    wp-content/plugins/` directory.
 2. Activate the plugin in the WordPress Admin area under “Plugins.”
 3. Configure the ClamAV service under **Settings -> ClamAV Settings** (enter the host
    and port of the ClamAV service).

### Configuration

After activating the plugin, you can configure the connection information for your
ClamAV service as follows:

 1. Go to **Settings -> ClamAV Scanner**.
 2. Enter the **Host** and **Port** of your ClamAV service, for example:
 3.  * **Host**: `127.0.0.1` (if the service is running locally, default: `clamav`)
     * **Port**: `3310` (default port for ClamAV)
 4. Optionally, you can set a **Timeout** to define the maximum wait time for the connection
    to the ClamAV service.

### Usage

### 1. Upload Scan

Once the plugin is activated, it automatically scans all uploads for viruses.

### 2. Manually Upload and Scan Files

 1. Navigate to **ClamAV Scanner -> File Scanner** in the WordPress admin menu.
 2. Select a file you want to scan for viruses and click “Scan File.”
 3. The plugin sends the file via a socket to the ClamAV service, and you will receive
    the scan result directly in the admin dashboard.

### How It Works

 * The plugin uses the PHP `socket` functionality to establish a connection with
   a ClamAV service.
 * Files uploaded through the WordPress admin interface are temporarily stored on
   the server.
 * The plugin then opens a socket connection to the configured ClamAV host and port
   and sends the uploaded file for analysis.
 * After the scan, the plugin displays the scan results on the admin page.

### Requirements

 * WordPress 6.7 or higher
 * A running **ClamAV service** that is accessible via a network socket (default
   port: 3310).
 * PHP sockets must be enabled on the server.

### Development

### Local Development

 1. Clone this repository into the `/wp-content/plugins/` directory of your local WordPress
    project:
 2. `bash
     git clone https://github.com/wieczo/wieczos-virus-scanner.git

## Reviews

There are no reviews for this plugin.

## Contributors and Developers

“Wieczo's Virus Scanner” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ wieczo ](https://profiles.wordpress.org/wieczo/)

“Wieczo's Virus Scanner” has been translated into 2 locales. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/wieczos-virus-scanner/contributors)
for their contributions.

[Translate “Wieczo's Virus Scanner” into your language.](https://translate.wordpress.org/projects/wp-plugins/wieczos-virus-scanner)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/wieczos-virus-scanner/),
check out the [SVN repository](https://plugins.svn.wordpress.org/wieczos-virus-scanner/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/wieczos-virus-scanner/)
by [RSS](https://plugins.trac.wordpress.org/log/wieczos-virus-scanner/?limit=100&mode=stop_on_copy&format=rss).

## Change Log

#### 1.2.0

 * Adds full scan of all WordPress files
 * Extends the table to log all errors which happen during a scan
 * Replaces the old standard HTML table with a WP_List_Table to support sorting,
   multi-actions and more

#### 1.1.0

 * Adds uninstall.php
 * Adds table to log virus findings

#### 1.0.0

Initial release.

## Meta

 *  Version **1.2.1**
 *  Last updated **2 years ago**
 *  Active installations **10+**
 *  WordPress version ** 6.0 or higher **
 *  Tested up to **6.6.10**
 *  PHP version ** 8.2 or higher **
 *  Languages
 * [Czech](https://cs.wordpress.org/plugins/wieczos-virus-scanner/), [English (US)](https://wordpress.org/plugins/wieczos-virus-scanner/)
   and [German](https://de.wordpress.org/plugins/wieczos-virus-scanner/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/wieczos-virus-scanner)
 * Tags
 * [antivirus](https://en-gb.wordpress.org/plugins/tags/antivirus/)[clamav](https://en-gb.wordpress.org/plugins/tags/clamav/)
   [malware](https://en-gb.wordpress.org/plugins/tags/malware/)[security](https://en-gb.wordpress.org/plugins/tags/security/)
   [virus](https://en-gb.wordpress.org/plugins/tags/virus/)
 *  [Advanced View](https://en-gb.wordpress.org/plugins/wieczos-virus-scanner/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/wieczos-virus-scanner/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/wieczos-virus-scanner/reviews/)

## Contributors

 *   [ wieczo ](https://profiles.wordpress.org/wieczo/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/wieczos-virus-scanner/)