=== ADT Shield Pro ===
Contributors: adnanthemes
Tags: security, malware scanner, backup, restore, hardening
Requires at least: 5.8
Tested up to: 6.8
Requires PHP: 7.4
.4.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Pro edition of ADT Shield by AdnanThemes: automatic zip fix, remote backups, scheduled scans, URL migration.

== Description ==

Everything in the free ADT Shield, plus:

* Whole-server scan: every WordPress site under a folder such as /www/wwwroot.
* Clean: cut injected code out of infected files (original kept for undo) or Clean all safely in one click.
* Daily automatic file-change check with email alert.
* Email alert when new plugin, theme or WordPress updates appear, and a never-auto-update list for plugins you prefer to update by hand.
* Scan history of the last 60 scans, with a comparison of what is new and what was fixed.
* Audit log kept 90 days, CSV export, instant email for critical events.
* Zip fix: remove infected files, replace modified files with the official ones, cut malicious code out of the rest, download a cleaned zip and a zip of the removed originals.
* Remote backups to Amazon S3 and S3-compatible storage (Wasabi, Backblaze B2, DigitalOcean Spaces, Cloudflare R2, MinIO) and FTP/FTPS, with resumable uploads.
* Download backups from remote storage back to the server.
* Schedules from every 4 hours to monthly, remote retention, archive splitting, exclude rules.
* Automatic database backup before plugin, theme and core updates.
* Daily scheduled scan with email alerts, and backup failure emails.
* URL migration when restoring on another domain (serialized-data safe).

== Third-party libraries ==

* qrcode-generator by Kazuhiko Arase (MIT licence), bundled in assets/qrcode.js.

== External services ==

* api.wordpress.org and downloads.wordpress.org: official checksums and zips for comparison (WordPress version, plugin/theme slug and version are sent).
* Your own S3-compatible or FTP server: only if you configure remote storage. Backup files are uploaded to the destination you enter.
* Freemius (license and updates): https://freemius.com/privacy/

== Changelog ==

= 1.3.0 =
* Much larger malware signature set: about 50 PHP and 11 JavaScript patterns (request-driven code execution, hidden function names, decoded-then-eval payloads, shell uploaders, backdoor admin creation, crypto miners, hidden iframes and more).
* SVG and HTML files are now scanned for script and hidden iframes, and pictures outside the uploads folder are checked for hidden PHP.
* Fixed false "damaged file" alerts on security-plugin data files (for example Wordfence's wflogs folder). Data after __halt_compiler() is no longer treated as code.
* Pro: optional known-vulnerability check of your wordpress.org plugins using a free WPScan API token.

= 1.1.0 =
* New Cache tab and admin-bar "Clear cache": clears cache plugins, object cache, expired transients, OPcache and permalink rules, with charts and a log.
* Corrupted files are now pointed out clearly: empty or cut-off PHP, syntax errors, damaged or incomplete pictures, broken JSON. Works offline.
* New "File integrity" scan stage. WordPress core files are syntax-checked even when wordpress.org cannot be reached.
* Backups can be verified with one click.
* Pro: one-click Repair on every flagged file (malware, suspicious or corrupted). It uses the official wordpress.org copy (checksum verified), then the newest clean copy from your backups, then cuts out only the malicious code, and moves files that do not belong on the site to Quarantine. The original is always kept in Quarantine so you can undo.
* Pro: caches are cleared automatically after updates.
* Charts on every tab: security score, severity, trend, updates, backup size, hardening score, quarantine, file changes, two-factor coverage and audit-log activity.
* New History tab: every finished scan is stored with its score and results.
* Fix: crypto constants and data tables (for example the sodium_compat library) are no longer reported as obfuscated code.

= 1.0.1 =
* New site audit: public files, server state, content safety, password strength, users and settings, abandoned plugins.
* New Updates tab with update notices and optional auto-update.
* Scan results redesigned with plain-language explanations.

= 1.0.0 =
* First release.

== Security changes in this build ==
* New backups default to a private directory above the WordPress web root; existing public backups are NOT moved or deleted automatically.
* To customize storage, define ADT_SHIELD_PRIVATE_BACKUP_BASE in wp-config.php to a writable private directory outside web root.
* Existing public backup archives MUST be relocated or access-blocked by the server administrator.
* Plain FTP fallback disabled; use FTPS. FTPS certificate validation is not supported by PHP FTP extension, so use a trusted connection or prefer S3.
* Unconfigured Freemius is fail-closed. Add official credentials and SDK before distributing to customers.
* Quarantine storage remains at its legacy path to preserve existing restore mappings; block direct web access at server level, especially on Nginx.
* Scan, restore, migration, and 2FA require controlled staging validation.
