updated plugin WPScan
version 1.15.5
This commit is contained in:
parent
3025a64583
commit
903552dde7
@ -53,6 +53,9 @@ class Plugin {
|
|||||||
// Plugin path.
|
// Plugin path.
|
||||||
public $plugin_dir = '';
|
public $plugin_dir = '';
|
||||||
|
|
||||||
|
// Plugin URI.
|
||||||
|
public $plugin_url = '';
|
||||||
|
|
||||||
// Page.
|
// Page.
|
||||||
public $page_hook = 'toplevel_page_wpscan';
|
public $page_hook = 'toplevel_page_wpscan';
|
||||||
|
|
||||||
@ -71,6 +74,7 @@ class Plugin {
|
|||||||
*/
|
*/
|
||||||
public function __construct() {
|
public function __construct() {
|
||||||
$this->plugin_dir = trailingslashit( str_replace( '\\', '/', dirname( WPSCAN_PLUGIN_FILE ) ) );
|
$this->plugin_dir = trailingslashit( str_replace( '\\', '/', dirname( WPSCAN_PLUGIN_FILE ) ) );
|
||||||
|
$this->plugin_url = site_url( str_replace( str_replace( '\\', '/', ABSPATH ), '', $this->plugin_dir ) );
|
||||||
|
|
||||||
// Languages.
|
// Languages.
|
||||||
load_plugin_textdomain( 'wpscan', false, $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.
|
// We don't have the plugin/theme, do nothing.
|
||||||
break;
|
break;
|
||||||
case 429:
|
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;
|
break;
|
||||||
case 500:
|
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' ) ) );
|
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 ) {
|
public function verify_plugins( $ignored ) {
|
||||||
$plugins = array();
|
$plugins = array();
|
||||||
|
$ignored[] = 'latest'; // ignore the plugin with the slug 'latest' as this conflicts with our API.
|
||||||
|
|
||||||
if ( ! function_exists( 'get_plugins' ) ) {
|
if ( ! function_exists( 'get_plugins' ) ) {
|
||||||
require_once ABSPATH . 'wp-admin/includes/plugin.php';
|
require_once ABSPATH . 'wp-admin/includes/plugin.php';
|
||||||
@ -654,6 +659,7 @@ class Plugin {
|
|||||||
*/
|
*/
|
||||||
public function verify_themes( $ignored ) {
|
public function verify_themes( $ignored ) {
|
||||||
$themes = array();
|
$themes = array();
|
||||||
|
$ignored[] = 'latest'; // ignore the theme with the slug 'latest' as this conflicts with our API.
|
||||||
|
|
||||||
if ( ! function_exists( 'wp_get_themes' ) ) {
|
if ( ! function_exists( 'wp_get_themes' ) ) {
|
||||||
require_once ABSPATH . 'wp-admin/includes/theme.php';
|
require_once ABSPATH . 'wp-admin/includes/theme.php';
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
Contributors: ethicalhack3r, xfirefartx, erwanlr
|
Contributors: ethicalhack3r, xfirefartx, erwanlr
|
||||||
Tags: wpscan, wpvulndb, security, vulnerability, hack, scan, exploit, secure, alerts
|
Tags: wpscan, wpvulndb, security, vulnerability, hack, scan, exploit, secure, alerts
|
||||||
Requires at least: 3.4
|
Requires at least: 3.4
|
||||||
Tested up to: 5.6
|
Tested up to: 5.8
|
||||||
Stable tag: 1.15.4
|
Stable tag: 1.15.5
|
||||||
Requires PHP: 5.5
|
Requires PHP: 5.5
|
||||||
License: GPLv3
|
License: GPLv3
|
||||||
License URI: https://www.gnu.org/licenses/gpl.html
|
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 ==
|
== Changelog ==
|
||||||
|
|
||||||
|
= 1.15.5 =
|
||||||
|
* Update "Tested up to"
|
||||||
|
* Some minor text changes
|
||||||
|
* Fix API conflict
|
||||||
|
|
||||||
= 1.15.4 =
|
= 1.15.4 =
|
||||||
* Fix images not loading on some hosted websites
|
* Fix images not loading on some hosted websites
|
||||||
* Update remediation links
|
* Update remediation links
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
* Plugin Name: WPScan
|
* Plugin Name: WPScan
|
||||||
* Plugin URI: http://wordpress.org/plugins/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.
|
* 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: WPScan Team
|
||||||
* Author URI: https://wpscan.com/
|
* Author URI: https://wpscan.com/
|
||||||
* License: GPLv3
|
* License: GPLv3
|
||||||
|
Loading…
Reference in New Issue
Block a user