=== File Change Detector ===
Contributors: snehalpancholi
Tags: security, file integrity, malware, monitoring, file changes
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.1
Stable tag: 1.0.0
License: GPL-2.0+
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Monitors WordPress core, theme, and plugin files via WP-Cron. Emails the admin when files are added, modified, or deleted since the last baseline.

== Description ==

File Change Detector provides file integrity monitoring without an external service. Set a baseline of known-good file hashes, then let the plugin's scheduled scan detect unexpected changes — a sign of malware, code injection, or unauthorised modifications.

**Features**

* MD5-based file hashing of core, active theme, active plugins, and custom paths
* Configurable exclude paths (skip caches, uploads, etc.)
* Baseline management — capture the current state as trusted
* Daily or weekly WP-Cron scan schedule
* Email notification listing new, modified, and deleted files
* "Run Scan Now" one-click button for immediate checks
* Clean results panel showing changes since last baseline

== Installation ==

1. Upload `file-change-detector` to `/wp-content/plugins/`.
2. Activate in **Plugins → Installed Plugins**.
3. Go to **Tools → File Change Detector**.
4. Configure scan scope and notification email, then click **Set Baseline**.
5. Allow the cron to run automatically, or use **Run Scan Now** at any time.

== Frequently Asked Questions ==

= Will scanning slow down my site? =
Scans run via WP-Cron and are triggered by regular site traffic or the system cron. They do not affect front-end page loads.

= How does the baseline work? =
Clicking "Set Baseline" records the MD5 hash of every file in the selected scope. Future scans compare against these known-good hashes.

= What should I exclude? =
Exclude dynamic directories such as `wp-content/uploads`, `wp-content/cache`, and any log directories to avoid false positives.

== Changelog ==

= 1.0.0 =
* Initial release.

== Upgrade Notice ==

= 1.0.0 =
Initial release.
