=== File Scan Code Search ===
Contributors: mohamedsaad
Tags: security, scanner, code search, malware scan
Requires at least: 5.2
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.0.3
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Scan server files from the admin area and search for suspicious patterns. Read-only by design.

== Description ==
File Scan Code Search adds an admin-only tool (Tools → File Scan) that searches code across common WordPress directories and (optionally) additional server paths.
It is designed for debugging and incident response workflows: it reads files and reports matches, without modifying anything.

= Key Features =
* Preset locations (auto-detected): WordPress core, wp-content, plugins, themes, uploads, and more.
* Custom path scanning with safe validation.
* Optional advanced scanning outside WordPress (requires explicit wp-config.php opt-in).
* Regex and case-sensitive search options.
* Performance safeguards (limits to prevent accidental heavy scans).

== Installation ==
1. Upload the plugin folder to /wp-content/plugins/
2. Activate the plugin through the Plugins menu
3. Go to Tools → File Scan

== Frequently Asked Questions ==
= Does this plugin modify files? =
No. It only reads files and reports results.

= How can I scan outside WordPress? =
You must explicitly enable advanced mode via wp-config.php (see the Advanced tab inside the plugin screen).

== Screenshots ==
1. Search tab (locations and options)
2. Advanced tab (opt-in configuration)
3. Help tab (how-to and safety notes)

== Changelog ==
= 1.0.3 =
Depth selector and improved root scan limits.

= 1.0.0 =
Initial release.
