How to Quickly Identify Infected WordPress Sites Using cPFence?

cPFence makes it easy to identify and clean infected WordPress sites on your server. Follow the steps below to quickly pinpoint and address issues:

Step 1: Configure Your Email Settings

  • Add Your Email Address:
    Use the following command to set your email address for receiving notifications:

    cpfence --set-email [email protected]

    If you don’t receive the test email (due to issues like IP blacklisting), switch to SMTP:

    cpfence --enable-cpfence-smtp

Step 2: Run WordPress Integrity Checks

  • Set Integrity Check Frequency:
    Change the frequency of WordPress integrity checks to run hourly:

    cpfence --set-check-frequency hourly
  • Trigger a Manual Integrity Check:
    Run the integrity check immediately to identify infected WordPress sites:

    /opt/cpfence/app/cpfagent

    You will receive an email listing the infected sites.

Step 3: Perform a Full Server Scan

  • Run a Full Scan:
    Perform a comprehensive scan of the entire server (this may take several hours):

    cpfence --full-scan
  • Export a Vulnerability Scan Report:
    Generate a detailed vulnerability report in CSV format for further analysis:

    cpfence --vuln-export

Step 4: Clean and Secure Your Sites

Once you identify the infected sites, refer to this guide for cleaning them: How to Clean an Infected WordPress Site.

Additionally, whitelist any false positives in both the antivirus and WordPress integrity checker.

Step 5: Enable Auto-Cleaning (Optional)

For continuous protection, consider enabling auto-cleaning options after verifying and cleaning your sites.

 


Need Further Assistance?

If you encounter any issues or need help, please contact our support team via the client portal.

  • wordpress
  • 0 用戶發現這個有用
這篇文章有幫助嗎?

相關文章

How to Perform and Export Wordpress Vulnerability Scans with cPFence?

cPFence provides powerful tools for identifying and analyzing Wordpress vulnerabilities. With the...

How to Generate a List of All WordPress Sites on Your Server?

cPFence provides an easy way to generate a comprehensive list of all WordPress sites on your...

How to Use WordPress Auto-Update Features in cPFence?

Managing WordPress sites securely and efficiently is now easier with cPFence's WordPress...

How to Clean an Infected WordPress Site?

Has your WordPress site been infected, and cPFence reported malware or other issues? Don’t worry;...

How to Secure Your WordPress Sites with cPFence?

WordPress is a powerful platform, but it can become vulnerable if not properly secured. With...