Zamfoo v16.0.1 Released Explore What's New →
Malware Protect How to • 2 min read Root only • Checked against Zamfoo v16.0.1 • Updated 2026-10-21

How cleanup repairs files

Understand the order Malware Protect uses to repair, quarantine or leave files for review.

Prefer a visual guide? Open the step-by-step walkthrough ↓

Before you start

This explains the proposed actions you see when reviewing a cleanup.

Steps

  1. Complete webshells are isolated first.

    A file that is entirely a request-executing PHP shell is moved to quarantine, with a verified backup.

  2. Core files are restored from verified originals.

    WordPress files are replaced with the original for the exact version and locale, checked against WordPress’s published checksums. Joomla files come from the official release, checked against its published SHA-256.

  3. Other files have the injected code removed.

    The rest of the file is kept and PHP syntax is checked with the account’s PHP version.

  4. Repairs are verified.

    Each repaired file is scanned again before it counts as cleaned. If malware remains or the repair fails, the file is quarantined.

  5. Unclear files are left alone.

    Ambiguous code and protected configuration files stay unchanged for manual review.

What you should see

Every changed file has a recovery backup, and its outcome is recorded.

If something goes wrong

Plugins, themes and custom files have no trusted original to restore, so they can only be repaired by removing injected code. Cleanup never upgrades WordPress or Joomla. If the scanner is unavailable, repaired files wait for verification.

LEARN BY DOING

Follow the steps visually

Choose a step to review its instructions and reference screen. Terminal output is an example.

Step 1 of 5

Complete webshells are isolated first

A file that is entirely a request-executing PHP shell is moved to quarantine, with a verified backup.

Full-resolution reference
GROW WITH ZAMFOO

Become a Zamfoo License Distributor

Offer Zamfoo licenses to your customers. Manage them all from your own distributor panel.

Contact us about distribution

Talk to our team about joining the distributor program.