From 903552dde750e3f31aec1140b5f408b2f047be65 Mon Sep 17 00:00:00 2001 From: Lai Power Date: Thu, 30 Sep 2021 14:54:10 +0000 Subject: [PATCH] updated plugin `WPScan` version 1.15.5 --- wp-content/plugins/wpscan/app/Plugin.php | 8 +++++++- wp-content/plugins/wpscan/readme.txt | 9 +++++++-- wp-content/plugins/wpscan/wpscan.php | 2 +- 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/wp-content/plugins/wpscan/app/Plugin.php b/wp-content/plugins/wpscan/app/Plugin.php index 2a204dff..709506ba 100644 --- a/wp-content/plugins/wpscan/app/Plugin.php +++ b/wp-content/plugins/wpscan/app/Plugin.php @@ -53,6 +53,9 @@ class Plugin { // Plugin path. public $plugin_dir = ''; + // Plugin URI. + public $plugin_url = ''; + // Page. public $page_hook = 'toplevel_page_wpscan'; @@ -71,6 +74,7 @@ class Plugin { */ public function __construct() { $this->plugin_dir = trailingslashit( str_replace( '\\', '/', dirname( WPSCAN_PLUGIN_FILE ) ) ); + $this->plugin_url = site_url( str_replace( str_replace( '\\', '/', ABSPATH ), '', $this->plugin_dir ) ); // Languages. load_plugin_textdomain( 'wpscan', false, $this->plugin_dir . 'languages' ); @@ -469,7 +473,7 @@ class Plugin { // We don't have the plugin/theme, do nothing. break; case 429: - array_push( $errors, sprintf( '%s %s.', __( 'You hit our free API usage limit. To increase your daily API limit please upgrade to paid usage from your', 'wpscan' ), WPSCAN_PROFILE_URL, __( 'WPScan profile page', 'wpscan' ) ) ); + array_push( $errors, sprintf( '%s %s.', __( 'You hit your API limit. To increase your daily API limit please upgrade via your ', 'wpscan' ), WPSCAN_PROFILE_URL, __( 'WPScan profile page', 'wpscan' ) ) ); break; case 500: array_push( $errors, sprintf( '%s %s', __( 'There seems to be a problem with the WPScan API. Status: 500. Check the ', 'wpscan' ), WPSCAN_STATUS_URL, __( 'API Status', 'wpscan' ) ) ); @@ -608,6 +612,7 @@ class Plugin { */ public function verify_plugins( $ignored ) { $plugins = array(); + $ignored[] = 'latest'; // ignore the plugin with the slug 'latest' as this conflicts with our API. if ( ! function_exists( 'get_plugins' ) ) { require_once ABSPATH . 'wp-admin/includes/plugin.php'; @@ -654,6 +659,7 @@ class Plugin { */ public function verify_themes( $ignored ) { $themes = array(); + $ignored[] = 'latest'; // ignore the theme with the slug 'latest' as this conflicts with our API. if ( ! function_exists( 'wp_get_themes' ) ) { require_once ABSPATH . 'wp-admin/includes/theme.php'; diff --git a/wp-content/plugins/wpscan/readme.txt b/wp-content/plugins/wpscan/readme.txt index bdab822a..c169996c 100644 --- a/wp-content/plugins/wpscan/readme.txt +++ b/wp-content/plugins/wpscan/readme.txt @@ -2,8 +2,8 @@ Contributors: ethicalhack3r, xfirefartx, erwanlr Tags: wpscan, wpvulndb, security, vulnerability, hack, scan, exploit, secure, alerts Requires at least: 3.4 -Tested up to: 5.6 -Stable tag: 1.15.4 +Tested up to: 5.8 +Stable tag: 1.15.5 Requires PHP: 5.5 License: GPLv3 License URI: https://www.gnu.org/licenses/gpl.html @@ -90,6 +90,11 @@ The WPScan WordPress Security Plugin will also check for other security issues, == Changelog == += 1.15.5 = +* Update "Tested up to" +* Some minor text changes +* Fix API conflict + = 1.15.4 = * Fix images not loading on some hosted websites * Update remediation links diff --git a/wp-content/plugins/wpscan/wpscan.php b/wp-content/plugins/wpscan/wpscan.php index 817dfc29..d45226a9 100644 --- a/wp-content/plugins/wpscan/wpscan.php +++ b/wp-content/plugins/wpscan/wpscan.php @@ -3,7 +3,7 @@ * Plugin Name: WPScan * Plugin URI: http://wordpress.org/plugins/wpscan/ * Description: WPScan WordPress Security Scanner. Scans your system for security vulnerabilities listed in the WPScan Vulnerability Database. - * Version: 1.15.4 + * Version: 1.15.5 * Author: WPScan Team * Author URI: https://wpscan.com/ * License: GPLv3