Stop User Enumeration - Version 1.3.3

Version Description

  • Correct issue of undefined index in certain conditions
Download this release

Release Info

Developer llocally
Plugin Icon 128x128 Stop User Enumeration
Version 1.3.3
Comparing to
See all releases

Code changes from version 1.3.2 to 1.3.3

Files changed (2) hide show
  1. readme.txt +4 -1
  2. stop-user-enumeration.php +2 -2
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: fullworks
3
  Tags: User Enumeration, Security, WPSCAN, fail2ban
4
  Requires at least: 3.4
5
  Tested up to: 4.3.1
6
- Stable tag: 1.3.2
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -40,6 +40,9 @@ Adjusted to your own requirements.
40
 
41
  == Changelog ==
42
  =
 
 
 
43
  = 1.3.2 =
44
 
45
  * Added donate link to plugin listing
3
  Tags: User Enumeration, Security, WPSCAN, fail2ban
4
  Requires at least: 3.4
5
  Tested up to: 4.3.1
6
+ Stable tag: 1.3.3
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
40
 
41
  == Changelog ==
42
  =
43
+ = 1.3.3 =
44
+
45
+ * Correct issue of undefined index in certain conditions
46
  = 1.3.2 =
47
 
48
  * Added donate link to plugin listing
stop-user-enumeration.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Stop User Enumeration
4
  Plugin URI: http://locally.uk/wordpress-plugins/stop-user-enumeration/
5
  Description: User enumeration is a technique used by hackers to get your login name if you are using permalinks. This plugin stops that.
6
- Version: 1.3.2
7
  Author: Locally Digital Ltd
8
  Author URI: http://locally.uk
9
  License: GPLv2 or later
@@ -42,7 +42,7 @@ if ( ! is_admin()){
42
 
43
  add_filter('redirect_canonical','ll_detect_enumeration', 10,2);
44
  function ll_detect_enumeration ($redirect_url, $requested_url) {
45
- if (preg_match('/\?author(%00[0%]*)?=([0-9]*)(\/*)/', $requested_url)===1 | ($_POST['author'])) {
46
  ll_kill_enumeration();
47
  } else {
48
  return $redirect_url;
3
  Plugin Name: Stop User Enumeration
4
  Plugin URI: http://locally.uk/wordpress-plugins/stop-user-enumeration/
5
  Description: User enumeration is a technique used by hackers to get your login name if you are using permalinks. This plugin stops that.
6
+ Version: 1.3.3
7
  Author: Locally Digital Ltd
8
  Author URI: http://locally.uk
9
  License: GPLv2 or later
42
 
43
  add_filter('redirect_canonical','ll_detect_enumeration', 10,2);
44
  function ll_detect_enumeration ($redirect_url, $requested_url) {
45
+ if (preg_match('/\?author(%00[0%]*)?=([0-9]*)(\/*)/', $requested_url)===1 | isset($_POST['author']) ) {
46
  ll_kill_enumeration();
47
  } else {
48
  return $redirect_url;