updated plugin `WPScan` version 1.15.5

This commit is contained in:
KawaiiPunk 2021-09-30 14:54:10 +00:00 committed by Gitium
parent 3025a64583
commit 903552dde7
3 changed files with 15 additions and 4 deletions

View File

@ -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 <a href="%s" target="_blank">%s</a>.', __( '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 <a href="%s" target="_blank">%s</a>.', __( '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 <a href="%s" target="_blank">%s</a>', __( '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';

View File

@ -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

View File

@ -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