[WordPress] 外掛分享: Wieczo’s Virus Scanner

首頁外掛目錄 › Wieczo's Virus Scanner
WordPress 外掛 Wieczo's Virus Scanner 的封面圖片
10+
安裝啟用
尚無評分
518 天前
最後更新
問題解決
WordPress 6.0+ PHP 8.2+ v1.2.1 上架:2024-10-13

內容簡介

**總結:**
Wieczo的病毒掃描器是一個WordPress外掛,允許使用者從WordPress管理區域上傳文件,並通過將它們發送到ClamAV服務進行病毒和惡意軟件掃描。此外,該外掛先將每個上傳發送到ClamAV,如果發現病毒,則中止上傳。外掛通過在外掛設置中配置的主機和端口變量連接到ClamAV服務。

**問與答:**
1. 如何對WordPress上傳的文件進行病毒和惡意軟件掃描?
- 可以使用Wieczo的病毒掃描器外掛進行病毒和惡意軟件掃描。
2. 如何參與Wieczo的病毒掃描器的開發?
- 可以報告錯誤、建議新功能或改善代碼,並提交拉取請求來貢獻。這是提高技能並產生真正影響的好方法。
3. 如何手動上傳和掃描文件?
- 進入WordPress管理菜單的ClamAV掃描器->文件掃描器,選擇要掃描病毒的文件並點擊“掃描文件”。
4. 這個外掛是如何工作的?
- 外掛使用PHP socket功能與ClamAV服務建立連接,將文件發送到指定的ClamAV主機和端口進行分析,並在管理頁面顯示掃描結果。
5. 什麼是使用該外掛的要求?
- 需要WordPress 6.7或更高版本,運行的ClamAV服務可通過網絡套接字接入(默認端口:3310),並且伺服器上必須啟用PHP sockets。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.2.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Wieczo's Virus Scanner」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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 – Project Creator
Simon Neutert – Always an inspiration and contributes with his thoughts
and well-spoken arguments.

Manual Installation:

Upload the wieczos-virus-scanner directory to your WordPress installation’s /wp-content/plugins/ directory.
Activate the plugin in the WordPress Admin area under “Plugins.”
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:

Go to Settings -> ClamAV Scanner.

Enter the Host and Port of your ClamAV service, for example:

Host: 127.0.0.1 (if the service is running locally, default: clamav)
Port: 3310 (default port for ClamAV)

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

Navigate to ClamAV Scanner -> File Scanner in the WordPress admin menu.
Select a file you want to scan for viruses and click “Scan File.”
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

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

延伸相關外掛

文章
Filter
Mastodon