=== Look-See Security Scanner === Contributors: blobfolio Donate link: https://blobfolio.com/donate.html Tags: wordpress security, security plugin, file scanner, security scanner, filesystem, file checker, security, secure, malware, antivirus, exploit, infection, protection Requires at least: 4.4 Tested up to: 4.8 Requires PHP: 5.6 Stable tag: trunk License: WTFPL License URI: http://www.wtfpl.net Verify the integrity of a WP installation by scanning for unexpected or modified files. == Description == Look-see Security Scanner is designed to help you quickly and easily spot the sorts of file system irregularities that happen when a site is hacked. * Verify the integrity of all core WordPress files, including plugins and themes hosted by WordPress; * Search `wp-admin/` and `wp-includes/` for unexpected files; * Search `wp-content/uploads/` for hidden scripts; * Identify file changes since previous scan; * Locate files left over from older versions of WordPress; * Analyze configurations for oversights and vulnerabilities; * Check uploaded themes and plugins against the WPScan Vulnerabilities Database; * Pro: Schedule scans; * Pro: One-click delete, ignore, fix, and source viewer; * Pro: Full feature access through [WP-CLI](https://wp-cli.org/); == Requirements == Due to the advanced nature of some of the plugin features, there are a few additional server requirements beyond what WordPress itself requires: * WordPress 4.4 or later. * PHP 5.6 or later. * PHP extensions: date, filter, json, pcre, spl * CREATE and DROP MySQL grants. Please note: it is **not safe** to run WordPress atop a version of PHP that has reached its [End of Life](http://php.net/supported-versions.php). As of right now, that means your server should only be running **PHP 5.6 or newer**. Future releases of this plugin might, out of necessity, drop support for old, unmaintained versions of PHP. To ensure you continue to receive plugin updates, bug fixes, and new features, just make sure PHP is kept up-to-date. :) == Premium Version == [Look-See Pro](https://blobfolio.com/plugin/look-see-security-scanner/) is the same great administrative tool, just more of it! * [WP-CLI](https://wp-cli.org/): file scans, configuration analysis, and vulnerability searches can be run from the command line. * Quick Actions: view source code, fix file permission/ownership issues, ignore, or delete a file with the click of a button. * Scheduling: set-and-forget scan settings by day of the week. To learn more, visit [blobfolio.com](https://blobfolio.com/plugin/look-see-security-scanner/). == Frequently Asked Questions == = Is this plugin compatible with WPMU? = The plugin is only meant to be used with single-site WordPress installations. = Does Look-See correct any problems it finds? = The free version of Look-See will point out potential issues and recommend follow-up actions, but it is left up to you to actually complete those actions. The pro version includes "quick action" links when viewing scan results that can let you view a file's source, fix permission/ownership issues, and/or ignore or delete it with the push of a button. = Every scan is timing out? = Unfortunately file system operations like scanning can be very resource-intensive. A lot of low-end, budget shared hosting providers might have completing a scan. In such cases, you could try fiddling with the ignore rules — ignore images and other large files — but ultimately the solution is to probably just find better hosting. = If there are no warnings, does that mean I am A-OK? = Not necessarily. There could still be backdoors elsewhere on the server. As always, we recommend you maintain best security practices and keep regular back-ups. = Can scans be automated? = The free version of the plugin requires scans be run manually through the admin interface. The pro version contains WP-CLI integration, allowing scans to be run through the command line (thus scans can be executed any which way through server-side scripts or CRON jobs). For pro users without command line access, it is also possible to set up scheduled scanning through the admin interface, though because of how WordPress executes its scheduled tasks, such scans will take a while to complete. == Installation == Nothing fancy! You can use the built-in installer on the Plugins page or extract and upload the `look-see-security-scanner` folder to your plugins directory via FTP. To install this plugin as [Must-Use](https://codex.wordpress.org/Must_Use_Plugins), download, extract, and upload the `look-see-security-scanner` folder to your mu-plugins directory via FTP. See the [MU Caveats](https://codex.wordpress.org/Must_Use_Plugins#Caveats) for more information about getting WordPress to load an MU plugin that is in a subfolder. Please note: MU Plugins are removed from the usual update-checking process, so you will need to handle future updates manually. == Screenshots == 1. The file scan page at rest. 2. The file scan in progress is updated in realtime and optimized to complete even on slow servers. 3. Overview of past scans. 4. Detailed scan results with explainations and more. 5. View each plugin and theme's history of published vulnerabilities. 6. Configuration analysis, offering suggestions to improve site security. == Changelog == = 21.0.2 = * [Misc] Update dependencies. = 21.0.1 = * [Misc] Update MIME database. * [Misc] Reduce package size. = 21.0.0 = * [New] This is a major new release, re-coded from the ground up for better performance and security, and packed with tons of new features. Enjoy! = 20.2.0 = * [Misc] Add an admin notice for users running out-of-support versions of PHP. * [Misc] This will be the last release supporting PHP 5.4+. Future releases will require PHP 5.6+. = 20.1.5 = * [Fix] Additional workaround. = 20.1.4 = * [Fix] Workaround for unreadable files. = 20.1.3 = * [New] Plugins page links. * [New] Additional backup file checks. = 20.1.2 = * [Fix] Checksum locale issue. = 20.1.1 = * [Fix] CSS tweaks to make plugin vulnerability history more readable. * [Fix] Better version/locale detection. * [Fix] Pre-scan fail error not always displayed. * [New] Color-code fixed vulnerabilities. = 20.1 = * [Misc] The plugin has been completely rewritten from the ground up to provide a cleaner interface, faster performance, and more detailed and accurate results. = 15.09-4 = * [Misc] Lower memory usage. = 15.09-3 = * [Misc] Much faster building of obsolete files database. * [Fix] Minor Windows server issue. = 15.09-2 = * [Fix] Better recovery from bad server response. = 15.09 = * [New] Compare file permissions. * [New] Show plugin/theme installed version numbers. * [Misc] Code clean-up. = 15.08 = * [New] Search files for common malware functions. = 15.03-2 = * [Fix] Improve compatibility with InnoDB installations. = 15.03 = * [Fix] Check for existence of MySQL table before prompting to install checksums. = 15.02-2 = * [Change] Small db change. = 15.02 = * [Misc] UX improvements. * [Misc] Code clean-up. = 14.12-2 = * [Misc] Look-See now gets its checksums directly from WordPress, so version support is more or less automatic and includes locale support. = 14.12 = * [New] Check plugins and themes against WPScan Vulnerability Database. = 14.11 = * [New] Checksums for WP 4.0.1. = 14.09 = * [New] Checksums for WP 4.0. * [Drop] Removed support for 3.7.* and 3.8.*. = 14.08 = * [New] Checksums for WP 3.9.2. = 14.05.2 = * [New] Checksums for WP 3.7.2 and 3.7.3. = 14.05 = * [New] Checksums for WP 3.9.1. = 14.04.4 = * [New] Checksums for WP 3.9. = 14.04.3 = * [New] Checksums for WP 3.8.3. = 14.04 = * [New] Checksums for WP 3.8.2. = 14.01 = * [New] Checksums for WP 3.8.1. = 13.12 = * [New] Checksums for WP 3.8. = 13.11 = * [Misc] Faster database I/O during scans (~2x faster). * [New] Option to ignore WP cache files. * [Misc] Updated SSL session analysis. = 13.10.3 = * [New] Checksums for WP 3.7.1. * [Drop] Dropped compatibility with WordPress 3.5.*. = 13.10.2 = * [New] Checksums for WP 3.7. = 13.10 = * [New] Option to scan only core files. = 13.09.3 = * [Misc] Minor branding update. = 13.09.2 = * [Misc] Updated list of old core files, so scan results categorize them as such rather than "suspicious". = 13.09 = * [New] Checksums for WP 3.6.1. = 13.08.3 = * [Fix] Undefined variable PHP Notice. * [Fix] Hang in Firefox upon scan completion. = 13.08.2 = * [Fix] Replace deprecated `$wpdb->escape()` with `esc_sql()`. = 13.08 = * [New] Checksums for WP 3.6. = 13.07 = * [New] Checksums for WP 3.5.2. * [Drop] Removed compatibility with WordPress 3.4.2. = 13.05 = * [Fix] Replace a couple functions that are deprecated as of PHP 5.5.0. = 13.04 = * [New] Added support for InnoDB database engine. * [Misc] Minor speed improvements. = 13.01 = * [New] Checksums for WP 3.5.1. * [Misc] Changed version naming scheme to YY.MM. = 3.5-6 = * [Fix] Uninstallation now removes all plugin data/settings. * [New] Prevent installation on WPMU blogs. * [Fix] Use `$_SERVER` instead of `getenv()` as it is more compatible across environments. * [New] Configuration Analysis checks for inactive themes and plugins. = 3.5-5 = * [Fix] Missing files incorrectly shown as being skipped. * [New] Configuration Analysis checks for phpinfo.php, SSL, WP plugin/theme editor. * [Misc] Code clean-up. = 3.5-4 = * [Misc] Files left over from old WP installations are better explained in results. * [New] Configuration Analysis looks for oversights and vulnerabilities in configuration. * [Fix] Renamed duplicate form field IDs. = 3.5-3 = * [New] Setting to ignore files above a certain size. * [New] Ability to abort scan in progress. * [New] Ability to re-install WordPress core definitions. * [Misc] Various performance improvements. * [Fix] Better error handling. = 3.5-2 = * [Fix] Potential file name bug. * [Misc] Code clean-up. = 3.5 = * [New] Checksums for WP 3.5. = 3.4.2-7 = * [Fix] Case-insensitive indexes could prevent scanning all files. * [Misc] File system scanning now roughly 27% faster. * [Misc] Added `set_time_limit()` to help prevent execution timeouts. = 3.4.2-6 = * [Misc] Dramatically simplified scan process and reporting. * [Misc] Queue-based scanning to improve support with slow servers. * [Change] MD5 checksums are once again used for validating custom content. = 3.4.2-5 = * [Change] Switched from MD5 to CRC32 checksums for the custom file database as the former was simply too slow for many users. = 3.4.2-4 = * [Fix] Disable automatic building of custom file database when missing; operation can take a long time on slow servers. = 3.4.2-3 = * [New] Automatically build custom file database when missing. = 3.4.2-2 = * [Fix] Bug affecting `wp-content/uploads` scan when uploads are split into multiple folders. * [New] Custom content scan. * [New] Scans now report duration spent in execution. * [Fix] Improved support for Windows servers. * [New] Last-run timestamp for each scan. = 3.4.2 = * [New] Look-See is born! == Upgrade Notice == = 21.0.2 = This release updates dependencies like the MIME database. = 21.0.1 = Updated MIME database and reduced the overall package size. = 20.2.0 = Add an admin notice for users running out-of-support versions of PHP. Note: this will be the last release compatible with versions of PHP older than 5.6. = 20.1.4 = Workaround for unreadable files. = 20.1.3 = Added plugin page links, added additional backup file checks. = 20.1.2 = Fixed checksum locale issue. = 20.1.1 = This release fixes/improves some style issues and corrects an issue where the pre-scan error message could not be displayed due to its own error. = 20.1 = The plugin has been completely rewritten from the ground up to provide a cleaner interface, faster performance, and more detailed and accurate results. Please backup your database before upgrading (it should be fine, but safety first!). = 15.09-4 = Lower memory usage. = 15.09-3 = Much faster building of obsolete files database and a minor fix for Windows servers. = 15.09-2 = Improved recovery from bad server responses. = 15.09 = Ability to check file permissions, display installed versions of plugins and themes. = 15.08 = Ability to search files for common malware functions. = 15.03-2 = Improve compatibility with InnoDB installations. = 15.03 = Check for existence of MySQL table before prompting to install checksums. = 15.02-2 = Small db change. = 15.02 = UX improvements and code clean up. = 14.12-2 = Look-See now gets its checksums directly from WordPress, so version support is more or less automatic and includes locale support. = 14.12 = Check plugins and themes against WPScan Vulnerability Database. = 14.11 = Checksums for WP 4.0.1. = 14.09 = Checksums for WP 4.0. New minimum supported version is WP 3.9. = 14.08 = Checksums for WP 3.9.2. = 14.05.2 = Checksums for WP 3.7.2 and 3.7.3. = 14.05 = Checksums for WP 3.9.1. = 14.04.4 = Checksums for WP 3.9. = 14.04.3 = Checksums for WP 3.8.3. = 14.04 = Checksums for WP 3.8.2. = 14.01 = Checksums for WP 3.8.1. = 13.12 = Checksums for WP 3.8. = 13.11 = Scan optimizations, and updated language on Analysis page. = 13.10.3 = Checksums for WP 3.7.1. = 13.10.2 = Checksums for WP 3.7. = 13.10 = Added option to scan only core files. = 13.09.3 = Minor branding update. = 13.09.2 = Updated list of old core files, so scan results categorize them as such rather than "suspicious". = 13.09 = Added support for WordPress 3.6.1. = 13.08.3 = This release contains bug fixes. Firefox users are particularly encouraged to upgrade. = 13.08 = Added support for WordPress 3.6. = 13.07 = Added support for WordPress 3.5.2 and dropped support for 3.4.2. = 13.05 = Minor update, replacing a couple functions that are deprecated as of PHP 5.5.0. = 13.04 = Added compatibility for InnoDB. NOTE: upgrading will erase currently stored scan info so you are encouraged to scan once before upgrading (to make sure nothing's out of the ordinary), and again afterward (to generate something to compare against next time). = 13.01 = Checksums for WP 3.5.1. = 3.5-6 = New features and bug fixes. = 3.5-5 = This release fixes a bug and provides several new analysis checks. = 3.5-4 = This release adds new features: configuration analysis and old core file identification. = 3.5-3 = This release adds new features and performance improvements. = 3.5-2 = This release contains a potential bug fix and code clean up. = 3.5 = Checksums for WP 3.5! = 3.4.2-7 = Fixed file name case-insensitivity issue and improved performance; it is recommended all users update. = 3.4.2-6 = Scan process and reporting has been dramatically simplified; additionally, support for slower servers has been greatly improved. = 3.4.2-5 = This release speeds up custom file scans; if your current setup is too slow, try upgrading. = 3.4.2-4 = This release roles back the changes of 3.4.2-3, as it proved too difficult for slow servers. = 3.4.2-3 = This release addresses a small bug introducedin 3.4.2-2. = 3.4.2-2 = This release fixes a bug affecting the wp-content/uploads scan, and also adds a new custom scan. Everyone should upgrade.