Virus Scanner Screen

ClamAV malware scanning with quarantine management and scan history.


Layout

+------------------------------------------------------------------+
|  Virus Scanner   Definitions: Updated 2d ago   [Update Defs]     |
+------------------------------------------------------------------+
|  ┌──────────────────────────────────────────────────────────────┐|
|  │ Scan Target:  [Home ✓] [Mail] [FTP] [Web] [Custom: ___]    │|
|  │                                                              │|
|  │                    [ Start Scan ]                            │|
|  └──────────────────────────────────────────────────────────────┘|
|                                                                  |
|  ┌──────────────────────────────────────────────────────────────┐|
|  │ Active Scan: scanning /var/www/html...                       │|
|  │ Progress: [██████████░░░░░░░░░░] 42%   Files: 1234          │|
|  │ Infected: 0   Speed: 45.2 MB/s                               │|
|  │                                              [Abort Scan]    │|
|  └──────────────────────────────────────────────────────────────┘|
+------------------------------------------------------------------+
|  Scan History │ Quarantine                                       |
+------------------------------------------------------------------+
|  📋 2026-07-28  home  4567 files  0 infected  [View]            |
|  📋 2026-07-27  web   2345 files  1 infected  [Quarantine]     |
+------------------------------------------------------------------+

Features

FeatureDescription
Scan TargetsHome, Mail, FTP, Web, Custom path
Live ProgressFiles scanned, infected count, speed
Abort ScanStop running scan
QuarantineMove infected files to quarantine
RestoreRestore quarantined files
DeletePermanently delete quarantined
Update DefinitionsUpdate ClamAV virus definitions
Scan HistoryPrevious scan results

Event Delegation

Buttons use data-scan-action attributes.


CSS Classes

ClassPurpose
.scan-target-selectorTarget selection buttons
.scan-progressProgress bar
.scan-resultsResults table
.quarantine-listQuarantined files list

API Calls

MethodEndpointPurpose
GET/api/virusscanner/statusDefinitions status
POST/api/virusscanner/scanStart scan
GET/api/virusscanner/scan/:idProgress
POST/api/virusscanner/scan/:id/abortAbort
POST/api/virusscanner/scan/:id/quarantineQuarantine
GET/api/virusscanner/quarantineList quarantine
POST/api/virusscanner/update-defsUpdate definitions

Part of NexusPanel Documentation

← Back to Documentation