1-Click Official WP.org File Repair, Custom CSP Builder, Scheduled Scans & Licensing
Restore tampered WordPress Core, Plugin, and Theme files in 1 click with SHA-256/MD5 checksum verification and non-executable quarantine backups, delete standalone webshells, build Report-Only/Enforced CSP headers, and configure daily scan alerts.
📋 On This Page (Jump to Section)
- 1. 1-Click Official WordPress.org File Repair vs. Webshell Deletion (Pro v1.1.0+)
- A. 1-Click “🔧 Repair File (Pro)” for Official Core, Plugin & Theme Files
- B. 1-Click “🗑️ Delete (Pro)” for Standalone Untracked Webshells
- 2. Custom Content-Security-Policy (CSP) Header Builder
- 3. Automated Daily Background Scans & Email Alerts
- 4. Developer Filter: Custom Scanner Safe-Match Exclusions
- 5. WPBay Pro License Activation & Support
1. 1-Click Official WordPress.org File Repair vs. Webshell Deletion (Pro v1.1.0+) #
When malware injects obfuscated code into an essential file like wp-includes/functions.php or an active plugin’s main file, simply deleting that file would crash your website with a fatal PHP error. FBS Secure Optimize Pro v1.1.0+ automatically distinguishes between Official Repository Files and Untracked Drop-In Webshells inside the 6-Layer Malware Scanner:
A. 1-Click “🔧 Repair File (Pro)” for Official Core, Plugin & Theme Files #
When a flagged file belongs to WordPress Core, an official WordPress.org Plugin, or an official WordPress.org Theme:
- Smart Action Replacement: Pro automatically shows the green 🔧 Repair File (Pro) button and hides the destructive Delete button so you can never accidentally break a required core or plugin file.
- Cryptographic Checksum Verification Before Disk Write: When you click Repair File (Pro),
class-fbs-secure-optimize-pro-file-repair.phpdownloads the clean original file from the exact matching version tag oncore.svn.wordpress.org,plugins.svn.wordpress.org, orthemes.svn.wordpress.organd verifies its SHA-256 / MD5 hash against officialapi.wordpress.org/downloads.wordpress.org/plugin-checksums/checksums before writing a single byte to disk. - Non-Executable Forensic Quarantine Backup: Before overwriting the infected file, Pro saves a timestamped copy of the tampered file as a non-executable
.quarantine.txtfile insidewp-content/uploads/fbs-optimize-quarantine/(protected by a deny-all.htaccessandindex.php). - Immediate OPcache Invalidation & Audit Logging: Calls
opcache_invalidate()on the repaired file path so PHP immediately runs the clean code, and records the restoration in your Pro Security Log.
B. 1-Click “🗑️ Delete (Pro)” for Standalone Untracked Webshells #
When the scanner flags an unauthorized standalone drop-in webshell (such as a random PHP shell inside wp-content/uploads/ or root backdoor drop-in that is not part of WordPress Core or any repository plugin):
- Click 🗑️ Delete (Pro) to quarantine a forensic copy into
uploads/fbs-optimize-quarantine/and permanently eradicate the malicious file from your filesystem in one click.
2. Custom Content-Security-Policy (CSP) Header Builder #
Want to achieve a flawless Grade A+ on SecurityHeaders.com and prevent unauthorized cross-site script execution? Navigate to FBS Optimize → Pro Active Defense → Custom CSP Header Builder:
- Start in
Report-OnlyMode (Recommended): Toggle CSP Mode toContent-Security-Policy-Report-Only. Browsers will evaluate your policy and log any blocked external scripts in DevTools without blocking any visual assets for real visitors. - Configure Directives: Define allowed origins for
default-src,script-src,style-src,img-src,font-src,connect-src, andframe-ancestors(e.g.,'self' https://www.googletagmanager.com https://fonts.googleapis.com https://fonts.gstatic.com). - Switch to
EnforcedMode: Once verified clean, switch to Enforced (Content-Security-Policy) for maximum browser protection.
3. Automated Daily Background Scans & Email Alerts #
In FBS Optimize → Pro Active Defense, enable Scheduled Daily 6-Layer Malware Scan:
- Runs the complete 6-Layer Filesystem, Checksum, Database Snippet, WP-Cron, and Hidden-Admin audit automatically once every 24 hours via WP-Cron.
- Instant Incident Email Notification: If any new threat, modified checksum, or rogue administrator is detected, Pro immediately emails a detailed security alert report to your configured administrator notification address.
4. Developer Filter: Custom Scanner Safe-Match Exclusions #
Agency developers using custom proprietary frameworks can whitelist known-safe internal files via the fbsseop_scanner_is_safe_match filter:
add_filter( 'fbsseop_scanner_is_safe_match', function( $is_safe, $relative_path, $rule_id ) {
if ( 'wp-content/mu-plugins/my-agency-loader.php' === $relative_path ) {
return true;
}
return $is_safe;
}, 10, 3 );
5. WPBay Pro License Activation & Support #
- License Activation: Open FBS Optimize → License, paste your WPBay Purchase Code / License Key, and click Activate.
- 7-Day Offline Grace Period: Includes automatic local backup verification and a 7-day transient grace period so temporary API connectivity issues never interrupt your WAF firewall, 429 rate limiter, or admin capability guard.