Stop User Enumeration - Version 1.3.31

Version Description

= 1.3.30 = Upgrade to version 1.3.30 to disable author site maps - you will need to enable in settings (closes issue #6)

Download this release

Release Info

Developer fullworks
Plugin Icon 128x128 Stop User Enumeration
Version 1.3.31
Comparing to
See all releases

Code changes from version 1.3.30 to 1.3.31

admin/class-admin-settings.php CHANGED
@@ -9,6 +9,12 @@
9
  namespace Stop_User_Enumeration\Admin;
10
 
11
 
 
 
 
 
 
 
12
  class Admin_Settings extends Admin_Pages {
13
 
14
  protected $settings_page;
@@ -22,7 +28,7 @@ class Admin_Settings extends Admin_Pages {
22
  *
23
  * @param string $plugin_name
24
  * @param string $version plugin version.
25
- * @param \Freemius $freemius Freemius SDK.
26
  */
27
 
28
  public function __construct( $plugin_name, $version, $freemius ) {
@@ -36,7 +42,6 @@ class Admin_Settings extends Admin_Pages {
36
  }
37
 
38
 
39
-
40
  public function enqueue_styles( $hook ) {
41
  if ( $hook != $this->settings_page_id ) {
42
  return;
@@ -96,6 +101,7 @@ class Admin_Settings extends Admin_Pages {
96
  // set defaults
97
  'stop_rest_user' => 'on',
98
  'stop_sitemap' => 'on',
 
99
  'log_auth' => 'on',
100
  'comment_jquery' => 'on',
101
  );
@@ -121,43 +127,30 @@ class Admin_Settings extends Admin_Pages {
121
  'normal', /* Context */
122
  'default' /* Priority */
123
  );
124
- /*
125
- add_meta_box(
126
- 'offers',
127
- __( 'Offers', 'stop-user-enumeration' ),
128
- array( $this, 'meta_box_offers' ),
129
- $this->settings_page_id,
130
- 'side',
131
- 'default'
132
- );
133
- */
134
-
135
-
136
  }
137
 
138
- public function meta_box_offers() {
139
- $offer_id = rand( 1, 3 );
140
- include STOP_USER_ENUMERATION_PLUGIN_DIR . 'admin/templates/metabox_offers_' . $offer_id . '.php';
141
- }
142
 
143
  public function meta_box_information() {
144
  ?>
145
  <table class="form-table">
146
  <tbody>
147
- <tr valign="top" class="alternate">
148
  <th scope="row"><?php _e( 'About this Plugin', 'stop-user-enumeration' ); ?></th>
149
- <td>
150
- <?php _e( '<p>Stop User Enumeration detects attempts by malicious scanners to identify your users</p>
151
- <p>If a bot or user is caught scanning for user names they are denied access and their IP is
152
- logged</p>
153
- <p>When you are viewing an admin page, the plugin does nothing, this is designed this way as it is
154
- assumed admin user have authority, bear this in mind when testing.</p><br>
155
- <p>This plugin is best used in conjunction with a blocking tool to exclude the IP for longer. If you
156
- are on a VPS or dedicated server where you have root access you can install and configure <a
157
- href="https://www.fail2ban.org" target="_blank">fail2ban</a></p>', 'stop-user-enumeration' ); ?>
 
 
 
158
  </td>
159
  </tr>
160
- <tr valign="top">
161
  <th scope="row"><?php _e( 'Support', 'stop-user-enumeration' ); ?></th>
162
  <td>
163
  <?php _e( '<a class="button-secondary"
@@ -176,6 +169,9 @@ class Admin_Settings extends Admin_Pages {
176
  if ( ! isset( $settings['stop_sitemap'] ) ) {
177
  $settings['stop_sitemap'] = 'off'; // always set checkboxes if they dont exist
178
  }
 
 
 
179
  if ( ! isset( $settings['log_auth'] ) ) {
180
  $settings['log_auth'] = 'off'; // always set checkboxes if they dont exist
181
  }
@@ -197,6 +193,9 @@ class Admin_Settings extends Admin_Pages {
197
  if ( ! isset( $options['stop_sitemap'] ) ) {
198
  $options['stop_sitemap'] = 'off';
199
  }
 
 
 
200
  if ( ! isset( $options['log_auth'] ) ) {
201
  $options['log_auth'] = 'off';
202
  }
@@ -206,7 +205,7 @@ class Admin_Settings extends Admin_Pages {
206
  ?>
207
  <table class="form-table">
208
  <tbody>
209
- <tr valign="top">
210
  <th scope="row"><?php esc_html_e( 'Stop REST API User calls', 'stop-user-enumeration' ); ?></th>
211
  <td>
212
  <label for="stop-user-enumeration[stop_rest_user]"><input type="checkbox"
@@ -218,7 +217,19 @@ class Admin_Settings extends Admin_Pages {
218
  </label>
219
  </td>
220
  </tr>
221
- <tr valign="top">
 
 
 
 
 
 
 
 
 
 
 
 
222
  <th scope="row"><?php esc_html_e( 'Disable WP Core Author sitemaps', 'stop-user-enumeration' ); ?></th>
223
  <td>
224
  <label for="stop-user-enumeration[stop_sitemap]"><input type="checkbox"
@@ -226,11 +237,11 @@ class Admin_Settings extends Admin_Pages {
226
  id="stop-user-enumeration[stop_sitemap]"
227
  value="on"
228
  <?php checked( 'on', $options['stop_sitemap'] ); ?>>
229
- <?php _e( 'WordPress provides sitemaps for built-in content types like pages and author archives out of the box. The Author sitemap exposes the user id.', 'stop-user-enumeration' ); ?>
230
  </label>
231
  </td>
232
  </tr>
233
- <tr valign="top" class="alternate">
234
  <th scope="row"><?php esc_html_e( 'log attempts to AUTH LOG', 'stop-user-enumeration' ); ?></th>
235
  <td>
236
  <label for="stop-user-enumeration[log_auth]"><input type="checkbox"
@@ -244,7 +255,7 @@ class Admin_Settings extends Admin_Pages {
244
  </label>
245
  </td>
246
  </tr>
247
- <tr valign="top">
248
  <th scope="row"><?php esc_html_e( 'Remove numbers from comment authors', 'stop-user-enumeration' ); ?></th>
249
  <td>
250
  <label for="stop-user-enumeration[comment_jquery]"><input type="checkbox"
@@ -252,17 +263,13 @@ class Admin_Settings extends Admin_Pages {
252
  id="stop-user-enumeration[comment_jquery]"
253
  value="on"
254
  <?php checked( 'on', $options['comment_jquery'] ); ?>>
255
- <?php esc_html_e( 'This plugin uses JavaScript to remove any numbers from a comment author name, this is because numbers trigger enumeration checking. You can untick this if you do not use comments on your site or you use a different comment method than standard',
256
  'stop-user-enumeration' ); ?></label>
257
  </td>
258
  </tr>
259
-
260
-
261
  </tbody>
262
  </table>
263
  <?php
264
  }
265
-
266
-
267
  }
268
 
9
  namespace Stop_User_Enumeration\Admin;
10
 
11
 
12
+ use Freemius;
13
+
14
+ /**
15
+ * Class Admin_Settings
16
+ * @package Stop_User_Enumeration\Admin
17
+ */
18
  class Admin_Settings extends Admin_Pages {
19
 
20
  protected $settings_page;
28
  *
29
  * @param string $plugin_name
30
  * @param string $version plugin version.
31
+ * @param Freemius $freemius Freemius SDK.
32
  */
33
 
34
  public function __construct( $plugin_name, $version, $freemius ) {
42
  }
43
 
44
 
 
45
  public function enqueue_styles( $hook ) {
46
  if ( $hook != $this->settings_page_id ) {
47
  return;
101
  // set defaults
102
  'stop_rest_user' => 'on',
103
  'stop_sitemap' => 'on',
104
+ 'stop_oembed' => 'on',
105
  'log_auth' => 'on',
106
  'comment_jquery' => 'on',
107
  );
127
  'normal', /* Context */
128
  'default' /* Priority */
129
  );
 
 
 
 
 
 
 
 
 
 
 
 
130
  }
131
 
 
 
 
 
132
 
133
  public function meta_box_information() {
134
  ?>
135
  <table class="form-table">
136
  <tbody>
137
+ <tr class="alternate">
138
  <th scope="row"><?php _e( 'About this Plugin', 'stop-user-enumeration' ); ?></th>
139
+ <td><p>
140
+ <?php esc_html_e( 'Stop User Enumeration detects attempts by malicious scanners to identify your users', 'stop-user-enumeration' ); ?>
141
+ </p><p><?php esc_html_e( 'If a bot or user is caught scanning for user names they are denied access and their IP is
142
+ logged', 'stop-user-enumeration' ); ?>
143
+ </p><p>
144
+ <?php esc_html_e( 'When you are viewing an admin page, the plugin does nothing, this is designed this way as it is
145
+ assumed admin user have authority, bear this in mind when testing.', 'stop-user-enumeration' ); ?>
146
+ </p><br><p><?php esc_html_e( 'This plugin is best used in conjunction with a blocking tool to exclude the IP for longer. If you
147
+ are on a VPS or dedicated server where you have root access you can install and configure', 'stop-user-enumeration' ); ?>
148
+ <a href="https://www.fail2ban.org" target="_blank">fail2ban</a></p><br><p>
149
+ <?php esc_html_e( 'Also note: It is very common for users to leave their Display Name and Nickname the same as their Username, in which case the Username is leaked by so many things. Best to check at least your admins don\'t do this', 'stop-user-enumeration' ); ?>
150
+ </p>
151
  </td>
152
  </tr>
153
+ <tr>
154
  <th scope="row"><?php _e( 'Support', 'stop-user-enumeration' ); ?></th>
155
  <td>
156
  <?php _e( '<a class="button-secondary"
169
  if ( ! isset( $settings['stop_sitemap'] ) ) {
170
  $settings['stop_sitemap'] = 'off'; // always set checkboxes if they dont exist
171
  }
172
+ if ( ! isset( $settings['stop_oembed'] ) ) {
173
+ $settings['stop_oembed'] = 'off'; // always set checkboxes if they dont exist
174
+ }
175
  if ( ! isset( $settings['log_auth'] ) ) {
176
  $settings['log_auth'] = 'off'; // always set checkboxes if they dont exist
177
  }
193
  if ( ! isset( $options['stop_sitemap'] ) ) {
194
  $options['stop_sitemap'] = 'off';
195
  }
196
+ if ( ! isset( $options['stop_oembed'] ) ) {
197
+ $options['stop_oembed'] = 'off';
198
+ }
199
  if ( ! isset( $options['log_auth'] ) ) {
200
  $options['log_auth'] = 'off';
201
  }
205
  ?>
206
  <table class="form-table">
207
  <tbody>
208
+ <tr>
209
  <th scope="row"><?php esc_html_e( 'Stop REST API User calls', 'stop-user-enumeration' ); ?></th>
210
  <td>
211
  <label for="stop-user-enumeration[stop_rest_user]"><input type="checkbox"
217
  </label>
218
  </td>
219
  </tr>
220
+ <tr class="alternate">
221
+ <th scope="row"><?php esc_html_e( 'Stop oEmbed calls revealing user ids', 'stop-user-enumeration' ); ?></th>
222
+ <td>
223
+ <label for="stop-user-enumeration[stop_rest_user]"><input type="checkbox"
224
+ name="stop-user-enumeration[stop_rest_user]]"
225
+ id="stop-user-enumeration[stop_rest_user]"
226
+ value="on"
227
+ <?php checked( 'on', $options['stop_rest_user'] ); ?>>
228
+ <?php esc_html_e( 'WordPress reveals the user login ID through oEmbed calls by including the Author Archive link which contains the user id. When in many cases just the Author Name is enough. Note: remember it is not good idea to have login user id equal to your display name', 'stop-user-enumeration' ); ?>
229
+ </label>
230
+ </td>
231
+ </tr>
232
+ <tr>
233
  <th scope="row"><?php esc_html_e( 'Disable WP Core Author sitemaps', 'stop-user-enumeration' ); ?></th>
234
  <td>
235
  <label for="stop-user-enumeration[stop_sitemap]"><input type="checkbox"
237
  id="stop-user-enumeration[stop_sitemap]"
238
  value="on"
239
  <?php checked( 'on', $options['stop_sitemap'] ); ?>>
240
+ <?php esc_html_e( 'WordPress provides sitemaps for built-in content types like pages and author archives out of the box. The Author sitemap exposes the user id.', 'stop-user-enumeration' ); ?>
241
  </label>
242
  </td>
243
  </tr>
244
+ <tr class="alternate">
245
  <th scope="row"><?php esc_html_e( 'log attempts to AUTH LOG', 'stop-user-enumeration' ); ?></th>
246
  <td>
247
  <label for="stop-user-enumeration[log_auth]"><input type="checkbox"
255
  </label>
256
  </td>
257
  </tr>
258
+ <tr>
259
  <th scope="row"><?php esc_html_e( 'Remove numbers from comment authors', 'stop-user-enumeration' ); ?></th>
260
  <td>
261
  <label for="stop-user-enumeration[comment_jquery]"><input type="checkbox"
263
  id="stop-user-enumeration[comment_jquery]"
264
  value="on"
265
  <?php checked( 'on', $options['comment_jquery'] ); ?>>
266
+ <?php esc_html_e( 'This plugin uses JavaScript to remove any numbers from a comment author name, this is because numbers trigger enumeration checking. You can untick this if you do not use comments on your site or you use a different comment method than standard',
267
  'stop-user-enumeration' ); ?></label>
268
  </td>
269
  </tr>
 
 
270
  </tbody>
271
  </table>
272
  <?php
273
  }
 
 
274
  }
275
 
admin/css/images/logocrop200.svg CHANGED
@@ -1,168 +1,168 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
- <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4
- <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px"
5
- y="0px"
6
- width="200px" height="76px" viewBox="155 120 650 240" enable-background="new 155 120 650 240" xml:space="preserve">
7
- <g>
8
- <g>
9
- <g>
10
- <g>
11
- <g>
12
- <polygon fill="#FFFFFF" points="490.944,228.154 490.944,241.871 464.354,241.871 457.962,235.479 457.962,201.596
13
- 464.354,195.205 473.802,195.205 473.802,228.154 "/>
14
- </g>
15
- <g>
16
- <polygon fill="#FFFFFF" points="530.71,228.064 530.71,241.871 504.12,241.871 497.725,235.479 497.725,201.596
17
- 504.12,195.205 513.563,195.205 513.563,228.064 "/>
18
- </g>
19
- <g>
20
- <polygon fill="#FFFFFF" points="592.916,201.59 582.713,241.871 567.111,241.871 562.673,227.875 558.355,241.871
21
- 542.736,241.871 532.541,201.586 538.919,195.205 547.427,195.205 551.119,213.185 557.269,195.205 568.548,195.205
22
- 574.451,213.137 578.328,195.205 586.531,195.205 "/>
23
- </g>
24
- <g>
25
- <path fill="#FFFFFF" d="M635.226,201.282c-4.015-4.318-9.502-6.497-16.362-6.497c-6.837,0-12.367,2.199-16.341,6.537
26
- c-3.955,4.277-5.951,10.067-5.951,17.25c0,7.122,1.996,12.893,5.932,17.188c3.993,4.358,9.501,6.577,16.36,6.577
27
- c6.86,0,12.348-2.178,16.362-6.496c3.975-4.237,5.972-10.047,5.972-17.27C641.197,211.348,639.2,205.539,635.226,201.282z
28
- M624.716,223.01c-0.383,1.27-0.929,2.38-1.594,3.288c-0.545,0.726-1.151,1.23-1.857,1.553
29
- c-0.785,0.364-1.553,0.544-2.359,0.544c-0.809,0-1.574-0.161-2.341-0.504c-0.706-0.303-1.332-0.807-1.895-1.574
30
- c-0.646-0.826-1.172-1.936-1.575-3.248c-0.404-1.372-0.627-3.188-0.627-5.406c0-2.138,0.223-3.066,0.666-4.56
31
- c0.424-1.372,0.928-2.481,1.536-3.247c0.662-0.788,1.309-1.333,1.913-1.594c0.666-0.284,1.454-0.445,2.322-0.445
32
- c0.807,0,1.552,0.162,2.321,0.484c0.685,0.303,1.309,0.827,1.896,1.555c0.625,0.826,1.149,1.936,1.554,3.288
33
- c0.423,1.433,0.625,2.36,0.625,4.499C625.301,219.902,625.099,221.718,624.716,223.01z"/>
34
- </g>
35
- <g>
36
- <path fill="#FFFFFF" d="M678.5,222.364c1.495-1.09,2.765-2.36,3.835-3.813c1.754-2.441,2.643-5.569,2.643-9.281
37
- c0-2.724-0.565-5.064-1.694-6.939c-1.09-1.816-2.563-3.309-4.4-4.499c-1.733-1.09-3.651-1.817-5.708-2.16
38
- c-1.836-0.302-3.995-0.463-6.435-0.463h-12.914l-6.395,6.395v33.874l6.395,6.395h9.401v-13.638l11.058,13.638h14.627v-6.355
39
- L678.5,222.364z M669.142,212.499c-0.162,0.362-0.426,0.685-0.81,0.968l-0.04,0.04c-0.402,0.323-0.907,0.545-1.552,0.646
40
- c-1.01,0.181-1.756,0.283-3.29,0.283h-0.242v-6.718h0.849c1.289,0,1.836,0.04,2.684,0.121c0.604,0.06,1.149,0.181,1.572,0.363
41
- c0.605,0.263,0.746,0.524,0.786,0.605c0.224,0.404,0.325,0.969,0.325,1.655C669.424,211.671,669.24,212.256,669.142,212.499z"
42
- />
43
- </g>
44
- <g>
45
- <polygon fill="#FFFFFF" points="735.213,235.544 735.213,241.871 720.386,241.871 711.356,228.327 711.356,241.871
46
- 701.911,241.871 695.518,235.479 695.518,201.596 701.911,195.205 711.356,195.205 711.356,207.706 720.36,195.205
47
- 728.111,195.205 734.451,201.544 722.461,217.146 "/>
48
- </g>
49
- <g>
50
- <path fill="#FFFFFF" d="M779.546,226.588c0,4.89-1.947,8.88-5.793,11.859c-3.682,2.843-8.646,4.288-14.743,4.288
51
- c-3.411,0-6.47-0.338-9.093-1.008c-2.557-0.648-4.977-1.48-7.185-2.45l-0.416-0.179v-10.587h7.973
52
- c0.674,0.338,1.361,0.64,2.059,0.905c2.315,0.869,4.572,1.315,6.718,1.315c0.515,0,1.226-0.059,2.133-0.178
53
- c0.963-0.129,1.503-0.313,1.784-0.446l0.053-0.026c0.457-0.194,0.831-0.465,1.139-0.813c0.056-0.067,0.234-0.268,0.234-0.888
54
- c0-0.415-0.121-0.663-0.452-0.928c-0.595-0.477-1.344-0.833-2.202-1.058c-1.411-0.37-2.932-0.734-4.531-1.064
55
- c-1.728-0.359-3.365-0.807-4.865-1.323c-3.696-1.304-6.413-3.132-8.086-5.432c-1.696-2.324-2.549-5.217-2.549-8.607
56
- c0-4.667,1.992-8.489,5.916-11.361c3.718-2.722,8.381-4.102,13.849-4.102c2.659,0,5.341,0.277,7.973,0.813
57
- c2.63,0.539,5.037,1.287,7.138,2.223l0.331,0.181l-0.018,10.035h-8.612c-0.025-0.009-0.049-0.022-0.079-0.034
58
- c-1.998-0.824-4.086-1.242-6.186-1.242c-0.805,0-1.521,0.057-2.135,0.164c-0.56,0.101-1.168,0.305-1.814,0.606
59
- c-0.378,0.17-0.694,0.424-0.971,0.765c-0.178,0.223-0.252,0.42-0.252,0.672c0,0.516,0.151,0.753,0.381,0.941
60
- c0.179,0.145,0.973,0.681,3.59,1.286c1.42,0.326,2.783,0.644,4.108,0.946c1.395,0.317,2.896,0.764,4.47,1.319
61
- c3.312,1.199,5.845,2.87,7.525,4.966C778.665,220.323,779.546,223.164,779.546,226.588z"/>
62
- </g>
63
- <path fill="#FFFFFF" d="M449.788,201.655v21.8c0,5.833-1.757,10.444-5.225,13.688c-3.412,3.198-8.388,4.818-14.78,4.818
64
- c-6.201,0-11.117-1.584-14.595-4.708c-3.569-3.207-5.38-7.837-5.38-13.771v-21.828l6.395-6.387h9.447v27.053
65
- c0,2.771,0.567,4.091,1.049,4.711c0.19,0.257,0.789,1.027,3.085,1.027c2.278,0,2.913-0.768,3.128-1.018
66
- c0.383-0.475,1.038-1.708,1.038-4.721v-27.053h9.445L449.788,201.655z"/>
67
- <polygon fill="#FFFFFF" points="384.683,208.295 384.683,214.884 398.705,214.884 398.705,228.642 384.683,228.642
68
- 384.683,242.628 375.005,242.628 368.419,236.037 368.419,201.122 375.005,194.54 395.905,194.54 402.496,201.122
69
- 402.496,208.295 "/>
70
- </g>
71
- </g>
72
- <g>
73
- <polygon fill="#FFFFFF" points="263.001,232.068 269.6,238.664 269.6,245.867 251.764,245.867 251.764,252.465 265.805,252.465
74
- 265.805,266.243 251.764,266.243 251.764,280.266 242.061,280.266 235.465,273.668 235.465,238.664 242.061,232.068 "/>
75
- <path fill="#FFFFFF" d="M310.474,163.353c-0.767-0.464-1.532-0.929-2.321-1.393c-3.913-2.239-8.008-4.337-12.206-6.273
76
- c-1.048-0.484-2.098-0.949-3.126-1.413c-1.089-0.464-2.159-0.928-3.207-1.371c-0.243-0.122-0.505-0.223-0.767-0.323l-0.808-0.343
77
- c-0.545-0.201-1.069-0.423-1.593-0.646c-0.525-0.2-1.048-0.402-1.553-0.624c-0.546-0.202-1.089-0.404-1.615-0.606
78
- c-2.057-0.807-4.175-1.553-6.173-2.279c-2.118-0.707-4.096-1.392-5.952-2.018c-0.887-0.302-1.895-0.604-2.825-0.908
79
- c-0.929-0.281-1.815-0.544-2.662-0.826c-0.423-0.122-0.847-0.264-1.251-0.384c-0.201-0.061-0.403-0.121-0.604-0.182
80
- c-0.223-0.06-0.424-0.122-0.646-0.182c-0.828-0.242-1.614-0.464-2.36-0.686c-0.766-0.223-1.474-0.423-2.118-0.605
81
- c-0.727-0.182-1.374-0.363-1.998-0.545c-0.604-0.162-1.17-0.302-1.694-0.443c-0.263-0.062-0.504-0.143-0.747-0.202
82
- c-0.242-0.062-0.485-0.123-0.705-0.162c-1.817-0.464-2.744-0.686-2.744-0.686h-0.282c0,0-0.928,0.222-2.725,0.686
83
- c-0.242,0.039-0.484,0.1-0.725,0.162c-0.242,0.059-0.485,0.14-0.747,0.202c-0.525,0.141-1.089,0.281-1.696,0.443
84
- c-0.625,0.182-1.271,0.363-1.976,0.545c-0.667,0.182-1.371,0.383-2.118,0.605c-0.747,0.222-1.554,0.443-2.381,0.686
85
- c-0.202,0.06-0.424,0.122-0.645,0.182c-0.204,0.061-0.404,0.121-0.605,0.182c-0.404,0.12-0.827,0.262-1.251,0.384
86
- c-0.847,0.281-1.735,0.544-2.664,0.826c-0.928,0.304-1.937,0.606-2.826,0.908c-1.833,0.626-3.831,1.311-5.93,2.018
87
- c-1.998,0.726-4.116,1.472-6.194,2.279c-0.524,0.202-1.069,0.405-1.593,0.606c-0.525,0.222-1.029,0.424-1.575,0.624
88
- c-0.524,0.223-1.048,0.445-1.592,0.646c-0.264,0.122-0.526,0.223-0.808,0.343c-0.262,0.101-0.524,0.202-0.767,0.323
89
- c-1.05,0.443-2.118,0.907-3.208,1.371c-1.03,0.464-2.079,0.929-3.148,1.413c-4.156,1.937-8.272,4.035-12.186,6.273
90
- c-1.008,0.585-1.998,1.191-2.985,1.796l-22.718,51.143c0.565,6.839,1.454,13.899,2.705,21.063
91
- c1.271,7.242,2.904,14.588,4.963,21.951c2.038,7.342,4.458,14.706,7.282,21.95c0.343,0.908,0.707,1.795,1.07,2.703
92
- c0.362,0.888,0.727,1.797,1.09,2.683c0.767,1.815,1.513,3.592,2.32,5.367c1.572,3.55,3.247,7.041,4.982,10.491
93
- c3.489,6.898,7.284,13.555,11.258,19.891c0.686,1.07,1.352,2.117,2.036,3.168l45.455,25.582l45.576-25.663
94
- c0.685-1.029,1.332-2.057,1.998-3.087c3.973-6.336,7.766-12.992,11.257-19.891c1.734-3.45,3.408-6.941,4.983-10.491
95
- c0.806-1.775,1.553-3.552,2.319-5.367c0.384-0.886,0.727-1.795,1.088-2.683c0.365-0.908,0.728-1.795,1.09-2.703
96
- c2.806-7.244,5.247-14.608,7.285-21.95c2.037-7.362,3.672-14.708,4.943-21.951c1.19-6.859,2.078-13.617,2.642-20.174
97
- L310.474,163.353z M223.198,192.828c0-15.112,12.307-27.417,27.417-27.417c15.132,0,27.418,12.306,27.418,27.417v11.923
98
- l-11.843-2.482v-9.44c0-8.595-6.98-15.576-15.575-15.576c-8.574,0-15.554,6.981-15.554,15.576v9.44l-11.863,2.482V192.828z
99
- M290.722,259.563c-0.707,3.414-1.594,6.822-2.603,10.172c-0.504,1.693-1.028,3.348-1.594,5.002
100
- c-0.545,1.655-1.07,3.268-1.655,4.883c-2.259,6.397-4.578,12.366-6.515,17.47c-0.485,1.292-0.95,2.521-1.393,3.674
101
- c-0.485,1.168-1.332,2.278-2.4,3.327c-1.111,1.027-2.401,1.997-3.976,2.905c-0.382,0.222-0.747,0.443-1.109,0.667
102
- c-0.424,0.203-0.848,0.423-1.251,0.624c-0.767,0.426-1.674,0.808-2.522,1.191c-0.786,0.363-1.775,0.725-2.603,1.048
103
- c-0.848,0.343-1.856,0.645-2.662,0.929c-0.869,0.303-1.615,0.564-2.401,0.808c-0.848,0.241-1.633,0.463-2.32,0.666
104
- c-1.291,0.402-2.724,0.706-3.531,0.926c-0.848,0.204-1.291,0.305-1.291,0.305h-0.565c0,0-0.424-0.101-1.271-0.305
105
- c-0.806-0.22-2.238-0.523-3.531-0.926c-0.705-0.203-1.471-0.425-2.319-0.666c-0.807-0.243-1.534-0.505-2.401-0.808
106
- c-0.827-0.284-1.836-0.586-2.683-0.929c-0.806-0.323-1.795-0.685-2.583-1.048c-0.848-0.384-1.753-0.766-2.522-1.191
107
- c-0.423-0.201-0.825-0.421-1.25-0.624c-0.364-0.224-0.747-0.445-1.131-0.667c-1.574-0.908-2.864-1.878-3.954-2.905
108
- c-1.089-1.049-1.937-2.159-2.399-3.327c-0.445-1.152-0.908-2.382-1.393-3.674c-1.937-5.104-4.257-11.072-6.517-17.47
109
- c-0.583-1.615-1.129-3.228-1.673-4.883c-0.546-1.654-1.089-3.309-1.593-5.002c-0.99-3.35-1.897-6.758-2.583-10.172
110
- c-1.412-6.836-1.978-13.656-1.716-20.052c0.242-6.395,1.231-12.367,2.341-17.491c0.565-2.562,1.17-4.901,1.735-6.98
111
- c0.605-2.078,4.701-3.894,10.127-5.386c0.707-0.183,1.393-0.364,2.058-0.545c0.304-0.081,0.705-0.182,1.129-0.263
112
- c0.403-0.08,0.808-0.162,1.191-0.243c1.573-0.342,3.026-0.645,4.398-0.948l0.524-0.101l0.626-0.101
113
- c0.402-0.081,0.806-0.142,1.21-0.223c0.786-0.122,1.553-0.241,2.28-0.384c0.727-0.121,1.432-0.242,2.079-0.343
114
- c0.323-0.06,0.686-0.122,1.089-0.161c0.363-0.06,0.725-0.101,1.09-0.162c1.432-0.201,2.684-0.362,3.751-0.524
115
- c1.293-0.162,2.361-0.283,3.229-0.384c1.756-0.202,2.663-0.323,2.663-0.323h0.565c0,0,0.908,0.121,2.664,0.323
116
- c0.867,0.101,1.957,0.222,3.227,0.384c1.089,0.162,2.341,0.323,3.773,0.524c0.342,0.061,0.706,0.102,1.089,0.162
117
- c0.384,0.04,0.767,0.102,1.07,0.161c0.666,0.101,1.351,0.222,2.077,0.343c0.727,0.143,1.493,0.262,2.301,0.384
118
- c0.382,0.081,0.786,0.142,1.209,0.223l0.626,0.101l0.504,0.101c1.371,0.303,2.845,0.606,4.398,0.948
119
- c0.403,0.081,0.807,0.163,1.189,0.243c0.424,0.081,0.827,0.182,1.131,0.263c0.686,0.181,1.372,0.362,2.076,0.545
120
- c5.428,1.492,9.503,3.308,10.129,5.386c0.565,2.079,1.17,4.418,1.714,6.98c1.131,5.125,2.118,11.096,2.34,17.491
121
- C292.68,245.907,292.136,252.728,290.722,259.563z"/>
122
- <g>
123
- <g>
124
- <polygon fill="#2E3744" points="251.764,245.867 251.764,252.465 265.805,252.465 265.805,266.243 251.764,266.243
125
- 251.764,280.266 242.061,280.266 235.465,273.668 235.465,238.664 242.061,232.068 263.001,232.068 269.6,238.664
126
- 269.6,245.867 "/>
127
- <polygon fill="#FFFFFF" points="251.764,245.867 251.764,252.465 265.805,252.465 265.805,266.243 251.764,266.243
128
- 251.764,280.266 242.061,280.266 235.465,273.668 235.465,238.664 242.061,232.068 263.001,232.068 269.6,238.664
129
- 269.6,245.867 "/>
130
- </g>
131
- </g>
132
- </g>
133
- </g>
134
- <g>
135
- <path fill="#FFFFFF" d="M384.918,292.552c-0.464-0.806-1.21-1.555-2.239-2.18c-1.008-0.645-2.36-1.211-4.034-1.713
136
- c-1.675-0.485-2.887-1.01-3.611-1.535c-0.748-0.525-1.109-1.19-1.109-1.977c0-0.947,0.342-1.675,1.028-2.198
137
- c0.666-0.526,1.613-0.787,2.845-0.787c1.311,0,2.319,0.323,3.026,0.968c0.706,0.625,1.048,1.513,1.048,2.642h3.733
138
- c0-1.249-0.323-2.38-0.989-3.408c-0.686-1.009-1.594-1.797-2.784-2.359c-1.171-0.545-2.502-0.828-4.015-0.828
139
- c-2.26,0-4.097,0.563-5.509,1.693c-1.411,1.131-2.118,2.544-2.118,4.3c0,1.977,0.969,3.589,2.945,4.82
140
- c1.009,0.646,2.401,1.232,4.135,1.757c1.736,0.524,2.948,1.028,3.612,1.553c0.665,0.505,0.988,1.229,0.988,2.178
141
- c0,0.868-0.323,1.572-0.967,2.101c-0.665,0.522-1.636,0.805-2.945,0.805c-1.514,0-2.664-0.344-3.491-1.01
142
- c-0.806-0.685-1.21-1.634-1.21-2.845h-3.753c0,1.353,0.363,2.521,1.09,3.552c0.727,1.01,1.755,1.815,3.068,2.381
143
- c1.31,0.585,2.742,0.868,4.297,0.868c2.359,0,4.235-0.524,5.607-1.596c1.373-1.048,2.059-2.479,2.059-4.274
144
- C385.625,294.346,385.382,293.379,384.918,292.552z"/>
145
- <path fill="#FFFFFF"
146
- d="M431.098,298.038v-6.635h8.856v-2.949h-8.856v-5.969h10.25v-3.007h-14.002v21.566h14.102v-3.007H431.098z"
147
- />
148
- <path fill="#FFFFFF" d="M494.245,297.313c-0.728,0.667-1.835,1.009-3.308,1.009c-1.617,0-2.825-0.627-3.673-1.855
149
- c-0.828-1.211-1.251-3.006-1.251-5.327v-1.915c0.02-2.303,0.464-4.056,1.352-5.246c0.866-1.191,2.118-1.777,3.753-1.777
150
- c1.39,0,2.46,0.344,3.188,1.03c0.724,0.686,1.169,1.796,1.352,3.348h3.732c-0.245-2.359-1.091-4.176-2.542-5.465
151
- c-1.434-1.293-3.35-1.938-5.73-1.938c-1.774,0-3.329,0.424-4.682,1.252c-1.353,0.846-2.379,2.036-3.106,3.592
152
- c-0.705,1.552-1.069,3.348-1.069,5.387v1.997c0.021,1.994,0.385,3.73,1.112,5.244c0.704,1.494,1.711,2.645,3.025,3.47
153
- c1.31,0.806,2.823,1.211,4.539,1.211c2.461,0,4.416-0.646,5.911-1.919c1.472-1.288,2.319-3.084,2.542-5.387h-3.732
154
- C495.455,295.558,494.992,296.668,494.245,297.313z"/>
155
- <path fill="#FFFFFF" d="M553.217,279.479v14.304c0,3.045-1.453,4.559-4.34,4.559c-1.41,0-2.479-0.381-3.226-1.131
156
- c-0.729-0.764-1.089-1.875-1.089-3.309v-14.423h-3.735v14.383c0,2.34,0.728,4.177,2.181,5.489c1.45,1.332,3.409,1.978,5.869,1.978
157
- c2.443,0,4.398-0.665,5.872-1.998c1.474-1.332,2.197-3.146,2.197-5.447v-14.404H553.217z"/>
158
- <path fill="#FFFFFF" d="M610.792,291.866c1.252-0.526,2.222-1.271,2.908-2.241c0.704-0.989,1.049-2.178,1.049-3.632
159
- c0-2.117-0.665-3.732-2.018-4.841c-1.354-1.129-3.289-1.674-5.771-1.674h-7.584v21.566h3.75v-8.291h4.178l4.316,8.291h4.016
160
- v-0.201L610.792,291.866z M606.98,289.728h-3.854v-7.242h3.954c1.294,0.02,2.28,0.363,2.946,0.987
161
- c0.646,0.625,0.99,1.535,0.99,2.684c0,1.109-0.364,1.976-1.071,2.602C609.221,289.406,608.231,289.728,606.98,289.728z"/>
162
- <path fill="#FFFFFF" d="M656.955,279.479v21.566h3.731v-21.566H656.955z"/>
163
- <path fill="#FFFFFF" d="M701.783,279.479v3.007h6.656v18.56h3.713v-18.56h6.738v-3.007H701.783z"/>
164
- <path fill="#FFFFFF" d="M772.374,279.479l-4.942,10.21l-4.963-10.21h-4.176l7.241,13.618v7.948h3.772v-7.948l7.224-13.618H772.374
165
- z"/>
166
- </g>
167
- </g>
168
- </svg>
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px"
5
+ y="0px"
6
+ width="200px" height="76px" viewBox="155 120 650 240" enable-background="new 155 120 650 240" xml:space="preserve">
7
+ <g>
8
+ <g>
9
+ <g>
10
+ <g>
11
+ <g>
12
+ <polygon fill="#FFFFFF" points="490.944,228.154 490.944,241.871 464.354,241.871 457.962,235.479 457.962,201.596
13
+ 464.354,195.205 473.802,195.205 473.802,228.154 "/>
14
+ </g>
15
+ <g>
16
+ <polygon fill="#FFFFFF" points="530.71,228.064 530.71,241.871 504.12,241.871 497.725,235.479 497.725,201.596
17
+ 504.12,195.205 513.563,195.205 513.563,228.064 "/>
18
+ </g>
19
+ <g>
20
+ <polygon fill="#FFFFFF" points="592.916,201.59 582.713,241.871 567.111,241.871 562.673,227.875 558.355,241.871
21
+ 542.736,241.871 532.541,201.586 538.919,195.205 547.427,195.205 551.119,213.185 557.269,195.205 568.548,195.205
22
+ 574.451,213.137 578.328,195.205 586.531,195.205 "/>
23
+ </g>
24
+ <g>
25
+ <path fill="#FFFFFF" d="M635.226,201.282c-4.015-4.318-9.502-6.497-16.362-6.497c-6.837,0-12.367,2.199-16.341,6.537
26
+ c-3.955,4.277-5.951,10.067-5.951,17.25c0,7.122,1.996,12.893,5.932,17.188c3.993,4.358,9.501,6.577,16.36,6.577
27
+ c6.86,0,12.348-2.178,16.362-6.496c3.975-4.237,5.972-10.047,5.972-17.27C641.197,211.348,639.2,205.539,635.226,201.282z
28
+ M624.716,223.01c-0.383,1.27-0.929,2.38-1.594,3.288c-0.545,0.726-1.151,1.23-1.857,1.553
29
+ c-0.785,0.364-1.553,0.544-2.359,0.544c-0.809,0-1.574-0.161-2.341-0.504c-0.706-0.303-1.332-0.807-1.895-1.574
30
+ c-0.646-0.826-1.172-1.936-1.575-3.248c-0.404-1.372-0.627-3.188-0.627-5.406c0-2.138,0.223-3.066,0.666-4.56
31
+ c0.424-1.372,0.928-2.481,1.536-3.247c0.662-0.788,1.309-1.333,1.913-1.594c0.666-0.284,1.454-0.445,2.322-0.445
32
+ c0.807,0,1.552,0.162,2.321,0.484c0.685,0.303,1.309,0.827,1.896,1.555c0.625,0.826,1.149,1.936,1.554,3.288
33
+ c0.423,1.433,0.625,2.36,0.625,4.499C625.301,219.902,625.099,221.718,624.716,223.01z"/>
34
+ </g>
35
+ <g>
36
+ <path fill="#FFFFFF" d="M678.5,222.364c1.495-1.09,2.765-2.36,3.835-3.813c1.754-2.441,2.643-5.569,2.643-9.281
37
+ c0-2.724-0.565-5.064-1.694-6.939c-1.09-1.816-2.563-3.309-4.4-4.499c-1.733-1.09-3.651-1.817-5.708-2.16
38
+ c-1.836-0.302-3.995-0.463-6.435-0.463h-12.914l-6.395,6.395v33.874l6.395,6.395h9.401v-13.638l11.058,13.638h14.627v-6.355
39
+ L678.5,222.364z M669.142,212.499c-0.162,0.362-0.426,0.685-0.81,0.968l-0.04,0.04c-0.402,0.323-0.907,0.545-1.552,0.646
40
+ c-1.01,0.181-1.756,0.283-3.29,0.283h-0.242v-6.718h0.849c1.289,0,1.836,0.04,2.684,0.121c0.604,0.06,1.149,0.181,1.572,0.363
41
+ c0.605,0.263,0.746,0.524,0.786,0.605c0.224,0.404,0.325,0.969,0.325,1.655C669.424,211.671,669.24,212.256,669.142,212.499z"
42
+ />
43
+ </g>
44
+ <g>
45
+ <polygon fill="#FFFFFF" points="735.213,235.544 735.213,241.871 720.386,241.871 711.356,228.327 711.356,241.871
46
+ 701.911,241.871 695.518,235.479 695.518,201.596 701.911,195.205 711.356,195.205 711.356,207.706 720.36,195.205
47
+ 728.111,195.205 734.451,201.544 722.461,217.146 "/>
48
+ </g>
49
+ <g>
50
+ <path fill="#FFFFFF" d="M779.546,226.588c0,4.89-1.947,8.88-5.793,11.859c-3.682,2.843-8.646,4.288-14.743,4.288
51
+ c-3.411,0-6.47-0.338-9.093-1.008c-2.557-0.648-4.977-1.48-7.185-2.45l-0.416-0.179v-10.587h7.973
52
+ c0.674,0.338,1.361,0.64,2.059,0.905c2.315,0.869,4.572,1.315,6.718,1.315c0.515,0,1.226-0.059,2.133-0.178
53
+ c0.963-0.129,1.503-0.313,1.784-0.446l0.053-0.026c0.457-0.194,0.831-0.465,1.139-0.813c0.056-0.067,0.234-0.268,0.234-0.888
54
+ c0-0.415-0.121-0.663-0.452-0.928c-0.595-0.477-1.344-0.833-2.202-1.058c-1.411-0.37-2.932-0.734-4.531-1.064
55
+ c-1.728-0.359-3.365-0.807-4.865-1.323c-3.696-1.304-6.413-3.132-8.086-5.432c-1.696-2.324-2.549-5.217-2.549-8.607
56
+ c0-4.667,1.992-8.489,5.916-11.361c3.718-2.722,8.381-4.102,13.849-4.102c2.659,0,5.341,0.277,7.973,0.813
57
+ c2.63,0.539,5.037,1.287,7.138,2.223l0.331,0.181l-0.018,10.035h-8.612c-0.025-0.009-0.049-0.022-0.079-0.034
58
+ c-1.998-0.824-4.086-1.242-6.186-1.242c-0.805,0-1.521,0.057-2.135,0.164c-0.56,0.101-1.168,0.305-1.814,0.606
59
+ c-0.378,0.17-0.694,0.424-0.971,0.765c-0.178,0.223-0.252,0.42-0.252,0.672c0,0.516,0.151,0.753,0.381,0.941
60
+ c0.179,0.145,0.973,0.681,3.59,1.286c1.42,0.326,2.783,0.644,4.108,0.946c1.395,0.317,2.896,0.764,4.47,1.319
61
+ c3.312,1.199,5.845,2.87,7.525,4.966C778.665,220.323,779.546,223.164,779.546,226.588z"/>
62
+ </g>
63
+ <path fill="#FFFFFF" d="M449.788,201.655v21.8c0,5.833-1.757,10.444-5.225,13.688c-3.412,3.198-8.388,4.818-14.78,4.818
64
+ c-6.201,0-11.117-1.584-14.595-4.708c-3.569-3.207-5.38-7.837-5.38-13.771v-21.828l6.395-6.387h9.447v27.053
65
+ c0,2.771,0.567,4.091,1.049,4.711c0.19,0.257,0.789,1.027,3.085,1.027c2.278,0,2.913-0.768,3.128-1.018
66
+ c0.383-0.475,1.038-1.708,1.038-4.721v-27.053h9.445L449.788,201.655z"/>
67
+ <polygon fill="#FFFFFF" points="384.683,208.295 384.683,214.884 398.705,214.884 398.705,228.642 384.683,228.642
68
+ 384.683,242.628 375.005,242.628 368.419,236.037 368.419,201.122 375.005,194.54 395.905,194.54 402.496,201.122
69
+ 402.496,208.295 "/>
70
+ </g>
71
+ </g>
72
+ <g>
73
+ <polygon fill="#FFFFFF" points="263.001,232.068 269.6,238.664 269.6,245.867 251.764,245.867 251.764,252.465 265.805,252.465
74
+ 265.805,266.243 251.764,266.243 251.764,280.266 242.061,280.266 235.465,273.668 235.465,238.664 242.061,232.068 "/>
75
+ <path fill="#FFFFFF" d="M310.474,163.353c-0.767-0.464-1.532-0.929-2.321-1.393c-3.913-2.239-8.008-4.337-12.206-6.273
76
+ c-1.048-0.484-2.098-0.949-3.126-1.413c-1.089-0.464-2.159-0.928-3.207-1.371c-0.243-0.122-0.505-0.223-0.767-0.323l-0.808-0.343
77
+ c-0.545-0.201-1.069-0.423-1.593-0.646c-0.525-0.2-1.048-0.402-1.553-0.624c-0.546-0.202-1.089-0.404-1.615-0.606
78
+ c-2.057-0.807-4.175-1.553-6.173-2.279c-2.118-0.707-4.096-1.392-5.952-2.018c-0.887-0.302-1.895-0.604-2.825-0.908
79
+ c-0.929-0.281-1.815-0.544-2.662-0.826c-0.423-0.122-0.847-0.264-1.251-0.384c-0.201-0.061-0.403-0.121-0.604-0.182
80
+ c-0.223-0.06-0.424-0.122-0.646-0.182c-0.828-0.242-1.614-0.464-2.36-0.686c-0.766-0.223-1.474-0.423-2.118-0.605
81
+ c-0.727-0.182-1.374-0.363-1.998-0.545c-0.604-0.162-1.17-0.302-1.694-0.443c-0.263-0.062-0.504-0.143-0.747-0.202
82
+ c-0.242-0.062-0.485-0.123-0.705-0.162c-1.817-0.464-2.744-0.686-2.744-0.686h-0.282c0,0-0.928,0.222-2.725,0.686
83
+ c-0.242,0.039-0.484,0.1-0.725,0.162c-0.242,0.059-0.485,0.14-0.747,0.202c-0.525,0.141-1.089,0.281-1.696,0.443
84
+ c-0.625,0.182-1.271,0.363-1.976,0.545c-0.667,0.182-1.371,0.383-2.118,0.605c-0.747,0.222-1.554,0.443-2.381,0.686
85
+ c-0.202,0.06-0.424,0.122-0.645,0.182c-0.204,0.061-0.404,0.121-0.605,0.182c-0.404,0.12-0.827,0.262-1.251,0.384
86
+ c-0.847,0.281-1.735,0.544-2.664,0.826c-0.928,0.304-1.937,0.606-2.826,0.908c-1.833,0.626-3.831,1.311-5.93,2.018
87
+ c-1.998,0.726-4.116,1.472-6.194,2.279c-0.524,0.202-1.069,0.405-1.593,0.606c-0.525,0.222-1.029,0.424-1.575,0.624
88
+ c-0.524,0.223-1.048,0.445-1.592,0.646c-0.264,0.122-0.526,0.223-0.808,0.343c-0.262,0.101-0.524,0.202-0.767,0.323
89
+ c-1.05,0.443-2.118,0.907-3.208,1.371c-1.03,0.464-2.079,0.929-3.148,1.413c-4.156,1.937-8.272,4.035-12.186,6.273
90
+ c-1.008,0.585-1.998,1.191-2.985,1.796l-22.718,51.143c0.565,6.839,1.454,13.899,2.705,21.063
91
+ c1.271,7.242,2.904,14.588,4.963,21.951c2.038,7.342,4.458,14.706,7.282,21.95c0.343,0.908,0.707,1.795,1.07,2.703
92
+ c0.362,0.888,0.727,1.797,1.09,2.683c0.767,1.815,1.513,3.592,2.32,5.367c1.572,3.55,3.247,7.041,4.982,10.491
93
+ c3.489,6.898,7.284,13.555,11.258,19.891c0.686,1.07,1.352,2.117,2.036,3.168l45.455,25.582l45.576-25.663
94
+ c0.685-1.029,1.332-2.057,1.998-3.087c3.973-6.336,7.766-12.992,11.257-19.891c1.734-3.45,3.408-6.941,4.983-10.491
95
+ c0.806-1.775,1.553-3.552,2.319-5.367c0.384-0.886,0.727-1.795,1.088-2.683c0.365-0.908,0.728-1.795,1.09-2.703
96
+ c2.806-7.244,5.247-14.608,7.285-21.95c2.037-7.362,3.672-14.708,4.943-21.951c1.19-6.859,2.078-13.617,2.642-20.174
97
+ L310.474,163.353z M223.198,192.828c0-15.112,12.307-27.417,27.417-27.417c15.132,0,27.418,12.306,27.418,27.417v11.923
98
+ l-11.843-2.482v-9.44c0-8.595-6.98-15.576-15.575-15.576c-8.574,0-15.554,6.981-15.554,15.576v9.44l-11.863,2.482V192.828z
99
+ M290.722,259.563c-0.707,3.414-1.594,6.822-2.603,10.172c-0.504,1.693-1.028,3.348-1.594,5.002
100
+ c-0.545,1.655-1.07,3.268-1.655,4.883c-2.259,6.397-4.578,12.366-6.515,17.47c-0.485,1.292-0.95,2.521-1.393,3.674
101
+ c-0.485,1.168-1.332,2.278-2.4,3.327c-1.111,1.027-2.401,1.997-3.976,2.905c-0.382,0.222-0.747,0.443-1.109,0.667
102
+ c-0.424,0.203-0.848,0.423-1.251,0.624c-0.767,0.426-1.674,0.808-2.522,1.191c-0.786,0.363-1.775,0.725-2.603,1.048
103
+ c-0.848,0.343-1.856,0.645-2.662,0.929c-0.869,0.303-1.615,0.564-2.401,0.808c-0.848,0.241-1.633,0.463-2.32,0.666
104
+ c-1.291,0.402-2.724,0.706-3.531,0.926c-0.848,0.204-1.291,0.305-1.291,0.305h-0.565c0,0-0.424-0.101-1.271-0.305
105
+ c-0.806-0.22-2.238-0.523-3.531-0.926c-0.705-0.203-1.471-0.425-2.319-0.666c-0.807-0.243-1.534-0.505-2.401-0.808
106
+ c-0.827-0.284-1.836-0.586-2.683-0.929c-0.806-0.323-1.795-0.685-2.583-1.048c-0.848-0.384-1.753-0.766-2.522-1.191
107
+ c-0.423-0.201-0.825-0.421-1.25-0.624c-0.364-0.224-0.747-0.445-1.131-0.667c-1.574-0.908-2.864-1.878-3.954-2.905
108
+ c-1.089-1.049-1.937-2.159-2.399-3.327c-0.445-1.152-0.908-2.382-1.393-3.674c-1.937-5.104-4.257-11.072-6.517-17.47
109
+ c-0.583-1.615-1.129-3.228-1.673-4.883c-0.546-1.654-1.089-3.309-1.593-5.002c-0.99-3.35-1.897-6.758-2.583-10.172
110
+ c-1.412-6.836-1.978-13.656-1.716-20.052c0.242-6.395,1.231-12.367,2.341-17.491c0.565-2.562,1.17-4.901,1.735-6.98
111
+ c0.605-2.078,4.701-3.894,10.127-5.386c0.707-0.183,1.393-0.364,2.058-0.545c0.304-0.081,0.705-0.182,1.129-0.263
112
+ c0.403-0.08,0.808-0.162,1.191-0.243c1.573-0.342,3.026-0.645,4.398-0.948l0.524-0.101l0.626-0.101
113
+ c0.402-0.081,0.806-0.142,1.21-0.223c0.786-0.122,1.553-0.241,2.28-0.384c0.727-0.121,1.432-0.242,2.079-0.343
114
+ c0.323-0.06,0.686-0.122,1.089-0.161c0.363-0.06,0.725-0.101,1.09-0.162c1.432-0.201,2.684-0.362,3.751-0.524
115
+ c1.293-0.162,2.361-0.283,3.229-0.384c1.756-0.202,2.663-0.323,2.663-0.323h0.565c0,0,0.908,0.121,2.664,0.323
116
+ c0.867,0.101,1.957,0.222,3.227,0.384c1.089,0.162,2.341,0.323,3.773,0.524c0.342,0.061,0.706,0.102,1.089,0.162
117
+ c0.384,0.04,0.767,0.102,1.07,0.161c0.666,0.101,1.351,0.222,2.077,0.343c0.727,0.143,1.493,0.262,2.301,0.384
118
+ c0.382,0.081,0.786,0.142,1.209,0.223l0.626,0.101l0.504,0.101c1.371,0.303,2.845,0.606,4.398,0.948
119
+ c0.403,0.081,0.807,0.163,1.189,0.243c0.424,0.081,0.827,0.182,1.131,0.263c0.686,0.181,1.372,0.362,2.076,0.545
120
+ c5.428,1.492,9.503,3.308,10.129,5.386c0.565,2.079,1.17,4.418,1.714,6.98c1.131,5.125,2.118,11.096,2.34,17.491
121
+ C292.68,245.907,292.136,252.728,290.722,259.563z"/>
122
+ <g>
123
+ <g>
124
+ <polygon fill="#2E3744" points="251.764,245.867 251.764,252.465 265.805,252.465 265.805,266.243 251.764,266.243
125
+ 251.764,280.266 242.061,280.266 235.465,273.668 235.465,238.664 242.061,232.068 263.001,232.068 269.6,238.664
126
+ 269.6,245.867 "/>
127
+ <polygon fill="#FFFFFF" points="251.764,245.867 251.764,252.465 265.805,252.465 265.805,266.243 251.764,266.243
128
+ 251.764,280.266 242.061,280.266 235.465,273.668 235.465,238.664 242.061,232.068 263.001,232.068 269.6,238.664
129
+ 269.6,245.867 "/>
130
+ </g>
131
+ </g>
132
+ </g>
133
+ </g>
134
+ <g>
135
+ <path fill="#FFFFFF" d="M384.918,292.552c-0.464-0.806-1.21-1.555-2.239-2.18c-1.008-0.645-2.36-1.211-4.034-1.713
136
+ c-1.675-0.485-2.887-1.01-3.611-1.535c-0.748-0.525-1.109-1.19-1.109-1.977c0-0.947,0.342-1.675,1.028-2.198
137
+ c0.666-0.526,1.613-0.787,2.845-0.787c1.311,0,2.319,0.323,3.026,0.968c0.706,0.625,1.048,1.513,1.048,2.642h3.733
138
+ c0-1.249-0.323-2.38-0.989-3.408c-0.686-1.009-1.594-1.797-2.784-2.359c-1.171-0.545-2.502-0.828-4.015-0.828
139
+ c-2.26,0-4.097,0.563-5.509,1.693c-1.411,1.131-2.118,2.544-2.118,4.3c0,1.977,0.969,3.589,2.945,4.82
140
+ c1.009,0.646,2.401,1.232,4.135,1.757c1.736,0.524,2.948,1.028,3.612,1.553c0.665,0.505,0.988,1.229,0.988,2.178
141
+ c0,0.868-0.323,1.572-0.967,2.101c-0.665,0.522-1.636,0.805-2.945,0.805c-1.514,0-2.664-0.344-3.491-1.01
142
+ c-0.806-0.685-1.21-1.634-1.21-2.845h-3.753c0,1.353,0.363,2.521,1.09,3.552c0.727,1.01,1.755,1.815,3.068,2.381
143
+ c1.31,0.585,2.742,0.868,4.297,0.868c2.359,0,4.235-0.524,5.607-1.596c1.373-1.048,2.059-2.479,2.059-4.274
144
+ C385.625,294.346,385.382,293.379,384.918,292.552z"/>
145
+ <path fill="#FFFFFF"
146
+ d="M431.098,298.038v-6.635h8.856v-2.949h-8.856v-5.969h10.25v-3.007h-14.002v21.566h14.102v-3.007H431.098z"
147
+ />
148
+ <path fill="#FFFFFF" d="M494.245,297.313c-0.728,0.667-1.835,1.009-3.308,1.009c-1.617,0-2.825-0.627-3.673-1.855
149
+ c-0.828-1.211-1.251-3.006-1.251-5.327v-1.915c0.02-2.303,0.464-4.056,1.352-5.246c0.866-1.191,2.118-1.777,3.753-1.777
150
+ c1.39,0,2.46,0.344,3.188,1.03c0.724,0.686,1.169,1.796,1.352,3.348h3.732c-0.245-2.359-1.091-4.176-2.542-5.465
151
+ c-1.434-1.293-3.35-1.938-5.73-1.938c-1.774,0-3.329,0.424-4.682,1.252c-1.353,0.846-2.379,2.036-3.106,3.592
152
+ c-0.705,1.552-1.069,3.348-1.069,5.387v1.997c0.021,1.994,0.385,3.73,1.112,5.244c0.704,1.494,1.711,2.645,3.025,3.47
153
+ c1.31,0.806,2.823,1.211,4.539,1.211c2.461,0,4.416-0.646,5.911-1.919c1.472-1.288,2.319-3.084,2.542-5.387h-3.732
154
+ C495.455,295.558,494.992,296.668,494.245,297.313z"/>
155
+ <path fill="#FFFFFF" d="M553.217,279.479v14.304c0,3.045-1.453,4.559-4.34,4.559c-1.41,0-2.479-0.381-3.226-1.131
156
+ c-0.729-0.764-1.089-1.875-1.089-3.309v-14.423h-3.735v14.383c0,2.34,0.728,4.177,2.181,5.489c1.45,1.332,3.409,1.978,5.869,1.978
157
+ c2.443,0,4.398-0.665,5.872-1.998c1.474-1.332,2.197-3.146,2.197-5.447v-14.404H553.217z"/>
158
+ <path fill="#FFFFFF" d="M610.792,291.866c1.252-0.526,2.222-1.271,2.908-2.241c0.704-0.989,1.049-2.178,1.049-3.632
159
+ c0-2.117-0.665-3.732-2.018-4.841c-1.354-1.129-3.289-1.674-5.771-1.674h-7.584v21.566h3.75v-8.291h4.178l4.316,8.291h4.016
160
+ v-0.201L610.792,291.866z M606.98,289.728h-3.854v-7.242h3.954c1.294,0.02,2.28,0.363,2.946,0.987
161
+ c0.646,0.625,0.99,1.535,0.99,2.684c0,1.109-0.364,1.976-1.071,2.602C609.221,289.406,608.231,289.728,606.98,289.728z"/>
162
+ <path fill="#FFFFFF" d="M656.955,279.479v21.566h3.731v-21.566H656.955z"/>
163
+ <path fill="#FFFFFF" d="M701.783,279.479v3.007h6.656v18.56h3.713v-18.56h6.738v-3.007H701.783z"/>
164
+ <path fill="#FFFFFF" d="M772.374,279.479l-4.942,10.21l-4.963-10.21h-4.176l7.241,13.618v7.948h3.772v-7.948l7.224-13.618H772.374
165
+ z"/>
166
+ </g>
167
+ </g>
168
+ </svg>
admin/templates/metabox_offers_1.php DELETED
@@ -1,24 +0,0 @@
1
- <?php
2
- ?>
3
- <div class="offer-container">
4
- <div class="logo">
5
- <img src="<?php echo plugin_dir_url( __FILE__ ) . '../css/images/logocrop200.svg'; ?>">
6
- </div>
7
- <div class="heading">
8
- <h2>Love this free plugin?</h2>
9
- </div>
10
- <div class="text">
11
- <p>Get total WordPress security.</p>
12
- <p>Try our new all-in-one premium package.</p>
13
- <p class="price">From $6.67/month</p>
14
- </div>
15
- <div class="cta">
16
- <div class="action">
17
- <a target="_blank" href="https://fullworks.net/offers/stop-user-enumeration/1/#pricing">FREE TRIAL</a>
18
- </div>
19
- <div class="cta-text">
20
- <p>30-day free trail.<br>No credit card required.</p>
21
- </div>
22
- </div>
23
-
24
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
admin/templates/metabox_offers_2.php DELETED
@@ -1,23 +0,0 @@
1
- <?php
2
- ?>
3
- <div class="offer-container">
4
- <div class="logo">
5
- <img src="<?php echo plugin_dir_url( __FILE__ ) . '../css/images/logocrop200.svg'; ?>">
6
- </div>
7
- <div class="heading">
8
- <h2>Love this plugin? Want more security?</h2>
9
- </div>
10
- <div class="text">
11
- <p>Upgrade to our premium WordPress security package.</p>
12
- <p class="price">From $6.67/month</p>
13
- </div>
14
- <div class="cta">
15
- <div class="action">
16
- <a target="_blank" href="https://fullworks.net/offers/stop-user-enumeration/2/#pricing">FREE TRIAL</a>
17
- </div>
18
- <div class="cta-text">
19
- <p>30-day free trail.<br>No credit card required.</p>
20
- </div>
21
- </div>
22
-
23
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
admin/templates/metabox_offers_3.php DELETED
@@ -1,23 +0,0 @@
1
- <?php
2
- ?>
3
- <div class="offer-container">
4
- <div class="logo">
5
- <img src="<?php echo plugin_dir_url( __FILE__ ) . '../css/images/logocrop200.svg'; ?>">
6
- </div>
7
- <div class="heading">
8
- <h2>Worried about WordPress security?</h2>
9
- </div>
10
- <div class="text">
11
- <p>Upgrade to our premium all-in-one package today.</p>
12
- <p class="price">From $6.67/month</p>
13
- </div>
14
- <div class="cta">
15
- <div class="action">
16
- <a target="_blank" href="https://fullworks.net/offers/stop-user-enumeration/3/#pricing">FREE TRIAL</a>
17
- </div>
18
- <div class="cta-text">
19
- <p>30-day free trail.<br>No credit card required.</p>
20
- </div>
21
- </div>
22
-
23
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
bootstrap.php CHANGED
@@ -5,11 +5,14 @@ namespace Stop_User_Enumeration;
5
  // @TODO options for xforwarded
6
 
7
  // If this file is called directly, abort.
 
 
 
8
  if ( ! defined( 'WPINC' ) ) {
9
  die;
10
  }
11
  define( 'STOP_USER_ENUMERATION_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
12
- define( 'STOP_USER_ENUMERATION_PLUGIN_VERSION', '1.3.30' );
13
 
14
 
15
  // Include the autoloader so we can dynamically include the classes.
@@ -20,7 +23,7 @@ function run_stop_user_enumeration() {
20
  /**
21
  * Load freemius SDK
22
  */
23
- $freemius = new \Stop_User_Enumeration\Includes\Freemius_Config();
24
  $freemiusSDK = $freemius->init();
25
  // Signal that SDK was initiated.
26
  do_action( 'sue_fs_loaded' );
@@ -33,7 +36,7 @@ function run_stop_user_enumeration() {
33
  * admin-specific hooks, and public-facing site hooks.
34
  */
35
 
36
- $plugin = new \Stop_User_Enumeration\Includes\Core( $freemiusSDK );
37
  $plugin->run();
38
 
39
  }
5
  // @TODO options for xforwarded
6
 
7
  // If this file is called directly, abort.
8
+ use Stop_User_Enumeration\Includes\Core;
9
+ use Stop_User_Enumeration\Includes\Freemius_Config;
10
+
11
  if ( ! defined( 'WPINC' ) ) {
12
  die;
13
  }
14
  define( 'STOP_USER_ENUMERATION_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
15
+ define( 'STOP_USER_ENUMERATION_PLUGIN_VERSION', '1.3.31' );
16
 
17
 
18
  // Include the autoloader so we can dynamically include the classes.
23
  /**
24
  * Load freemius SDK
25
  */
26
+ $freemius = new Freemius_Config();
27
  $freemiusSDK = $freemius->init();
28
  // Signal that SDK was initiated.
29
  do_action( 'sue_fs_loaded' );
36
  * admin-specific hooks, and public-facing site hooks.
37
  */
38
 
39
+ $plugin = new Core( $freemiusSDK );
40
  $plugin->run();
41
 
42
  }
fail2ban/filter.d/wordpress-userenum.conf CHANGED
@@ -1,26 +1,26 @@
1
- [INCLUDES]
2
-
3
- # Read common prefixes. If any customizations available -- read them from
4
- # common.local
5
- before = common.conf
6
-
7
-
8
- [Definition]
9
-
10
- _daemon = wordpress
11
-
12
- # Option: failregex
13
- # Notes.: regex to match the password failures messages in the logfile. The
14
- # host must be matched by a group named "host". The tag "<HOST>" can
15
- # be used for standard IP/hostname matching and is only an alias for
16
- # (?:::f{4,6}:)?(?P<host>[\w\-.^_]+)
17
- # Values: TEXT
18
- #
19
- failregex = ^%(__prefix_line)sAttempted user enumeration from <HOST>$
20
-
21
- # Option: ignoreregex
22
- # Notes.: regex to ignore. If this regex matches, the line is ignored.
23
- # Values: TEXT
24
- #
25
- ignoreregex =
26
-
1
+ [INCLUDES]
2
+
3
+ # Read common prefixes. If any customizations available -- read them from
4
+ # common.local
5
+ before = common.conf
6
+
7
+
8
+ [Definition]
9
+
10
+ _daemon = wordpress
11
+
12
+ # Option: failregex
13
+ # Notes.: regex to match the password failures messages in the logfile. The
14
+ # host must be matched by a group named "host". The tag "<HOST>" can
15
+ # be used for standard IP/hostname matching and is only an alias for
16
+ # (?:::f{4,6}:)?(?P<host>[\w\-.^_]+)
17
+ # Values: TEXT
18
+ #
19
+ failregex = ^%(__prefix_line)sAttempted user enumeration from <HOST>$
20
+
21
+ # Option: ignoreregex
22
+ # Notes.: regex to ignore. If this regex matches, the line is ignored.
23
+ # Values: TEXT
24
+ #
25
+ ignoreregex =
26
+
frontend/class-frontend.php CHANGED
@@ -28,7 +28,6 @@ class FrontEnd {
28
  */
29
  private $version;
30
 
31
- private $option_key = 'stop-user-enumeration';
32
 
33
  /**
34
  * Initialize the class and set its properties.
@@ -65,20 +64,6 @@ class FrontEnd {
65
  }
66
  }
67
 
68
- public function only_allow_logged_in_rest_access_to_users( $access ) {
69
- if ( 'on' === Core::sue_get_option( 'stop_rest_user', 'off' ) ) {
70
- if ( ( preg_match( '/users/', $_SERVER['REQUEST_URI'] ) !== 0 ) || ( isset( $_REQUEST['rest_route'] ) && ( preg_match( '/users/', $_REQUEST['rest_route'] ) !== 0 ) ) ) {
71
- if ( ! is_user_logged_in() ) {
72
- $this->sue_log();
73
-
74
- return new WP_Error( 'rest_cannot_access', esc_html__( 'Only authenticated users can access the User endpoint REST API.', 'stop-user-enumeration' ), array( 'status' => rest_authorization_required_code() ) );
75
- }
76
- }
77
- }
78
-
79
- return $access;
80
- }
81
-
82
  private function ContainsNumbers( $String ) {
83
  return preg_match( '/\\d/', $String ) > 0;
84
  }
@@ -87,7 +72,7 @@ class FrontEnd {
87
  $ip = $this->get_ip();
88
  if ( false !== $ip && 'on' === Core::sue_get_option( 'log_auth', 'off' ) ) {
89
  openlog( 'wordpress(' . sanitize_text_field( $_SERVER['HTTP_HOST'] ) . ')', LOG_NDELAY | LOG_PID, LOG_AUTH );
90
- syslog( LOG_INFO, "Attempted user enumeration from " . $ip );
91
  closelog();
92
  }
93
  }
@@ -114,6 +99,20 @@ class FrontEnd {
114
  return filter_var( $ipaddress, FILTER_VALIDATE_IP );
115
  }
116
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
117
  public function remove_author_sitemap( $provider, $name ) {
118
  if ( 'users' === $name ) {
119
  return false;
@@ -122,4 +121,10 @@ class FrontEnd {
122
  return $provider;
123
  }
124
 
 
 
 
 
 
 
125
  }
28
  */
29
  private $version;
30
 
 
31
 
32
  /**
33
  * Initialize the class and set its properties.
64
  }
65
  }
66
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
67
  private function ContainsNumbers( $String ) {
68
  return preg_match( '/\\d/', $String ) > 0;
69
  }
72
  $ip = $this->get_ip();
73
  if ( false !== $ip && 'on' === Core::sue_get_option( 'log_auth', 'off' ) ) {
74
  openlog( 'wordpress(' . sanitize_text_field( $_SERVER['HTTP_HOST'] ) . ')', LOG_NDELAY | LOG_PID, LOG_AUTH );
75
+ syslog( LOG_INFO, esc_html( "Attempted user enumeration from " . $ip ) );
76
  closelog();
77
  }
78
  }
99
  return filter_var( $ipaddress, FILTER_VALIDATE_IP );
100
  }
101
 
102
+ public function only_allow_logged_in_rest_access_to_users( $access ) {
103
+ if ( 'on' === Core::sue_get_option( 'stop_rest_user', 'off' ) ) {
104
+ if ( ( preg_match( '/users/', $_SERVER['REQUEST_URI'] ) !== 0 ) || ( isset( $_REQUEST['rest_route'] ) && ( preg_match( '/users/', $_REQUEST['rest_route'] ) !== 0 ) ) ) {
105
+ if ( ! is_user_logged_in() ) {
106
+ $this->sue_log();
107
+
108
+ return new WP_Error( 'rest_cannot_access', esc_html__( 'Only authenticated users can access the User endpoint REST API.', 'stop-user-enumeration' ), array( 'status' => rest_authorization_required_code() ) );
109
+ }
110
+ }
111
+ }
112
+
113
+ return $access;
114
+ }
115
+
116
  public function remove_author_sitemap( $provider, $name ) {
117
  if ( 'users' === $name ) {
118
  return false;
121
  return $provider;
122
  }
123
 
124
+ public function remove_author_url_from_oembed( $data ) {
125
+ unset( $data['author_url'] );
126
+
127
+ return $data;
128
+ }
129
+
130
  }
gnugeneralpubliclicence.txt CHANGED
@@ -1,87 +1,87 @@
1
- GNU GENERAL PUBLIC LICENSE
2
-
3
- Version 2, June 1991
4
-
5
- Copyright (C) 1989, 1991 Free Software Foundation, Inc.
6
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
7
-
8
- Everyone is permitted to copy and distribute verbatim copies
9
- of this license document, but changing it is not allowed.
10
- Preamble
11
-
12
- The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Lesser General Public License instead.) You can apply it to your programs, too.
13
-
14
- When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things.
15
-
16
- To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it.
17
-
18
- For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights.
19
-
20
- We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software.
21
-
22
- Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations.
23
-
24
- Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all.
25
-
26
- The precise terms and conditions for copying, distribution and modification follow.
27
-
28
- TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
29
-
30
- 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you".
31
-
32
- Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does.
33
-
34
- 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program.
35
-
36
- You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee.
37
-
38
- 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions:
39
-
40
- a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change.
41
- b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License.
42
- c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.)
43
- These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it.
44
-
45
- Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program.
46
-
47
- In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License.
48
-
49
- 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following:
50
-
51
- a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,
52
- b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,
53
- c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.)
54
- The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable.
55
-
56
- If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code.
57
-
58
- 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance.
59
-
60
- 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it.
61
-
62
- 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License.
63
-
64
- 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program.
65
-
66
- If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances.
67
-
68
- It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice.
69
-
70
- This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License.
71
-
72
- 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License.
73
-
74
- 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.
75
-
76
- Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation.
77
-
78
- 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally.
79
-
80
- NO WARRANTY
81
-
82
- 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
83
-
84
- 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
85
-
86
- END OF TERMS AND CONDITIONS
87
-
1
+ GNU GENERAL PUBLIC LICENSE
2
+
3
+ Version 2, June 1991
4
+
5
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
6
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
7
+
8
+ Everyone is permitted to copy and distribute verbatim copies
9
+ of this license document, but changing it is not allowed.
10
+ Preamble
11
+
12
+ The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Lesser General Public License instead.) You can apply it to your programs, too.
13
+
14
+ When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things.
15
+
16
+ To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it.
17
+
18
+ For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights.
19
+
20
+ We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software.
21
+
22
+ Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations.
23
+
24
+ Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all.
25
+
26
+ The precise terms and conditions for copying, distribution and modification follow.
27
+
28
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
29
+
30
+ 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you".
31
+
32
+ Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does.
33
+
34
+ 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program.
35
+
36
+ You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee.
37
+
38
+ 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions:
39
+
40
+ a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change.
41
+ b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License.
42
+ c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.)
43
+ These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it.
44
+
45
+ Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program.
46
+
47
+ In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License.
48
+
49
+ 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following:
50
+
51
+ a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,
52
+ b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,
53
+ c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.)
54
+ The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable.
55
+
56
+ If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code.
57
+
58
+ 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance.
59
+
60
+ 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it.
61
+
62
+ 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License.
63
+
64
+ 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program.
65
+
66
+ If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances.
67
+
68
+ It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice.
69
+
70
+ This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License.
71
+
72
+ 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License.
73
+
74
+ 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.
75
+
76
+ Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation.
77
+
78
+ 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally.
79
+
80
+ NO WARRANTY
81
+
82
+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
83
+
84
+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
85
+
86
+ END OF TERMS AND CONDITIONS
87
+
includes/class-core.php CHANGED
@@ -180,6 +180,9 @@ class Core {
180
  if ( 'on' === $this->sue_get_option( 'stop_sitemap', 'off' ) ) {
181
  $this->loader->add_filter( 'wp_sitemaps_add_provider', $plugin_public, 'remove_author_sitemap', 10, 2 );
182
  }
 
 
 
183
 
184
 
185
  }
180
  if ( 'on' === $this->sue_get_option( 'stop_sitemap', 'off' ) ) {
181
  $this->loader->add_filter( 'wp_sitemaps_add_provider', $plugin_public, 'remove_author_sitemap', 10, 2 );
182
  }
183
+ if ( 'on' === $this->sue_get_option( 'stop_oembed', 'off' ) ) {
184
+ $this->loader->add_filter( 'oembed_response_data', $plugin_public, 'remove_author_url_from_oembed', 10, 1 );
185
+ }
186
 
187
 
188
  }
languages/stop-user-enumeration.pot CHANGED
@@ -25,81 +25,103 @@ msgstr ""
25
  msgid "Settings reset to defaults."
26
  msgstr ""
27
 
28
- #: src/admin/class-admin-settings.php:34
29
  msgid "Stop User Enumeration"
30
  msgstr ""
31
 
32
- #: src/admin/class-admin-settings.php:110
33
  msgid "Information"
34
  msgstr ""
35
 
36
- #: src/admin/class-admin-settings.php:118
37
  msgid "Options"
38
  msgstr ""
39
 
40
- #: src/admin/class-admin-settings.php:148
41
  msgid "About this Plugin"
42
  msgstr ""
43
 
44
- #: src/admin/class-admin-settings.php:150
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
45
  msgid ""
46
- "<p>Stop User Enumeration detects attempts by malicious scanners to identify your users</p>\n"
47
- " <p>If a bot or user is caught scanning for user names they are denied access and their IP is\n"
48
- " logged</p>\n"
49
- " <p>When you are viewing an admin page, the plugin does nothing, this is designed this way as it is\n"
50
- " assumed admin user have authority, bear this in mind when testing.</p><br>\n"
51
- " <p>This plugin is best used in conjunction with a blocking tool to exclude the IP for longer. If you\n"
52
- " are on a VPS or dedicated server where you have root access you can install and configure <a\n"
53
- " href=\"https://www.fail2ban.org\" target=\"_blank\">fail2ban</a></p>"
54
  msgstr ""
55
 
56
- #: src/admin/class-admin-settings.php:161
57
  msgid "Support"
58
  msgstr ""
59
 
60
- #: src/admin/class-admin-settings.php:163
61
  msgid ""
62
  "<a class=\"button-secondary\"\n"
63
  " href=\"https://wordpress.org/support/plugin/stop-user-enumeration/\" target=\"_blank\">WordPress.org support forum</a>"
64
  msgstr ""
65
 
66
- #: src/admin/class-admin-settings.php:210
67
  msgid "Stop REST API User calls"
68
  msgstr ""
69
 
70
- #: src/admin/class-admin-settings.php:217
71
  msgid "WordPress allows anyone to find users by API call, by checking this box the calls will be restricted to logged in users only. Only untick this box if you need to allow unfettered API access to users"
72
  msgstr ""
73
 
74
- #: src/admin/class-admin-settings.php:222
 
 
 
 
 
 
 
 
75
  msgid "Disable WP Core Author sitemaps"
76
  msgstr ""
77
 
78
- #: src/admin/class-admin-settings.php:229
79
  msgid "WordPress provides sitemaps for built-in content types like pages and author archives out of the box. The Author sitemap exposes the user id."
80
  msgstr ""
81
 
82
- #: src/admin/class-admin-settings.php:234
83
  msgid "log attempts to AUTH LOG"
84
  msgstr ""
85
 
86
- #: src/admin/class-admin-settings.php:241
87
  msgid "Leave this ticked if you are using %1$sFail2Ban%2$s on your VPS to block attempts at enumeration.%3$s If you are not running Fail2Ban or on a shared host this does not need to be ticked, however it normally will not cause a problem being ticked."
88
  msgstr ""
89
 
90
- #: src/admin/class-admin-settings.php:248
91
  msgid "Remove numbers from comment authors"
92
  msgstr ""
93
 
94
- #: src/admin/class-admin-settings.php:255
95
  msgid "This plugin uses JavaScript to remove any numbers from a comment author name, this is because numbers trigger enumeration checking. You can untick this if you do not use comments on your site or you use a different comment method than standard"
96
  msgstr ""
97
 
98
- #: src/frontend/class-frontend.php:63
99
  msgid "forbidden - number in author name not allowed = "
100
  msgstr ""
101
 
102
- #: src/frontend/class-frontend.php:74
103
  msgid "Only authenticated users can access the User endpoint REST API."
104
  msgstr ""
105
 
25
  msgid "Settings reset to defaults."
26
  msgstr ""
27
 
28
+ #: src/admin/class-admin-settings.php:40
29
  msgid "Stop User Enumeration"
30
  msgstr ""
31
 
32
+ #: src/admin/class-admin-settings.php:116
33
  msgid "Information"
34
  msgstr ""
35
 
36
+ #: src/admin/class-admin-settings.php:124
37
  msgid "Options"
38
  msgstr ""
39
 
40
+ #: src/admin/class-admin-settings.php:138
41
  msgid "About this Plugin"
42
  msgstr ""
43
 
44
+ #: src/admin/class-admin-settings.php:140
45
+ msgid "Stop User Enumeration detects attempts by malicious scanners to identify your users"
46
+ msgstr ""
47
+
48
+ #: src/admin/class-admin-settings.php:141
49
+ msgid ""
50
+ "If a bot or user is caught scanning for user names they are denied access and their IP is\n"
51
+ " logged"
52
+ msgstr ""
53
+
54
+ #: src/admin/class-admin-settings.php:144
55
+ msgid ""
56
+ "When you are viewing an admin page, the plugin does nothing, this is designed this way as it is\n"
57
+ " assumed admin user have authority, bear this in mind when testing."
58
+ msgstr ""
59
+
60
+ #: src/admin/class-admin-settings.php:146
61
  msgid ""
62
+ "This plugin is best used in conjunction with a blocking tool to exclude the IP for longer. If you\n"
63
+ " are on a VPS or dedicated server where you have root access you can install and configure"
64
+ msgstr ""
65
+
66
+ #: src/admin/class-admin-settings.php:149
67
+ msgid "Also note: It is very common for users to leave their Display Name and Nickname the same as their Username, in which case the Username is leaked by so many things. Best to check at least your admins don't do this"
 
 
68
  msgstr ""
69
 
70
+ #: src/admin/class-admin-settings.php:154
71
  msgid "Support"
72
  msgstr ""
73
 
74
+ #: src/admin/class-admin-settings.php:156
75
  msgid ""
76
  "<a class=\"button-secondary\"\n"
77
  " href=\"https://wordpress.org/support/plugin/stop-user-enumeration/\" target=\"_blank\">WordPress.org support forum</a>"
78
  msgstr ""
79
 
80
+ #: src/admin/class-admin-settings.php:209
81
  msgid "Stop REST API User calls"
82
  msgstr ""
83
 
84
+ #: src/admin/class-admin-settings.php:216
85
  msgid "WordPress allows anyone to find users by API call, by checking this box the calls will be restricted to logged in users only. Only untick this box if you need to allow unfettered API access to users"
86
  msgstr ""
87
 
88
+ #: src/admin/class-admin-settings.php:221
89
+ msgid "Stop oEmbed calls revealing user ids"
90
+ msgstr ""
91
+
92
+ #: src/admin/class-admin-settings.php:228
93
+ msgid "WordPress reveals the user login ID through oEmbed calls by including the Author Archive link which contains the user id. When in many cases just the Author Name is enough. Note: remember it is not good idea to have login user id equal to your display name"
94
+ msgstr ""
95
+
96
+ #: src/admin/class-admin-settings.php:233
97
  msgid "Disable WP Core Author sitemaps"
98
  msgstr ""
99
 
100
+ #: src/admin/class-admin-settings.php:240
101
  msgid "WordPress provides sitemaps for built-in content types like pages and author archives out of the box. The Author sitemap exposes the user id."
102
  msgstr ""
103
 
104
+ #: src/admin/class-admin-settings.php:245
105
  msgid "log attempts to AUTH LOG"
106
  msgstr ""
107
 
108
+ #: src/admin/class-admin-settings.php:252
109
  msgid "Leave this ticked if you are using %1$sFail2Ban%2$s on your VPS to block attempts at enumeration.%3$s If you are not running Fail2Ban or on a shared host this does not need to be ticked, however it normally will not cause a problem being ticked."
110
  msgstr ""
111
 
112
+ #: src/admin/class-admin-settings.php:259
113
  msgid "Remove numbers from comment authors"
114
  msgstr ""
115
 
116
+ #: src/admin/class-admin-settings.php:266
117
  msgid "This plugin uses JavaScript to remove any numbers from a comment author name, this is because numbers trigger enumeration checking. You can untick this if you do not use comments on your site or you use a different comment method than standard"
118
  msgstr ""
119
 
120
+ #: src/frontend/class-frontend.php:62
121
  msgid "forbidden - number in author name not allowed = "
122
  msgstr ""
123
 
124
+ #: src/frontend/class-frontend.php:108
125
  msgid "Only authenticated users can access the User endpoint REST API."
126
  msgstr ""
127
 
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: fullworks,alanfuller
3
  Tags: User Enumeration, Security, WPSCAN, fail2ban,
4
  Requires at least: 4.6
5
  Requires PHP: 5.6
6
- Tested up to: 5.7
7
- Stable tag: 1.3.30
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -20,6 +20,8 @@ If you are on a VPS or dedicated server, as the attack IP is logged, you can use
20
 
21
  If you don't have access to install fail2ban ( e.g. on a Shared Host ) you can still use this plugin.
22
 
 
 
23
  Since WordPress 4.5 user data can also be obtained by API calls without logging in, this is a WordPress feature, but if you don't need it to get user data, this
24
  plugin will restrict and log that too.
25
 
@@ -41,7 +43,7 @@ Either using the dashboard 'Add Plugin' feature to find, install and activate th
41
 
42
  = It doesn't seem to work! ==
43
  Are you logged in? This plugin won't do anything for logged in users, it only works when you are logged out. This is the way it is designed. A common mistake is to install the plugin and test it, while still logged in as admin.
44
- = My user name still seems to be leaked! ==
45
  Themes and xml feeds will include your user 'Display Name'. If you do not specify any name details or nick name, the 'Display Name' will default to your user name. Make sure your Display Name is always set NOT to your user name or it will be leaked in multiple places.
46
  = Are there any settings? =
47
  Yes, but the default ones are fine for most cases
3
  Tags: User Enumeration, Security, WPSCAN, fail2ban,
4
  Requires at least: 4.6
5
  Requires PHP: 5.6
6
+ Tested up to: 5.8
7
+ Stable tag: 1.3.31
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
20
 
21
  If you don't have access to install fail2ban ( e.g. on a Shared Host ) you can still use this plugin.
22
 
23
+ The plugin can stop the user id being leaked by the oEmbed API call.
24
+
25
  Since WordPress 4.5 user data can also be obtained by API calls without logging in, this is a WordPress feature, but if you don't need it to get user data, this
26
  plugin will restrict and log that too.
27
 
43
 
44
  = It doesn't seem to work! ==
45
  Are you logged in? This plugin won't do anything for logged in users, it only works when you are logged out. This is the way it is designed. A common mistake is to install the plugin and test it, while still logged in as admin.
46
+ = It my user name still seems to be leaked! ==
47
  Themes and xml feeds will include your user 'Display Name'. If you do not specify any name details or nick name, the 'Display Name' will default to your user name. Make sure your Display Name is always set NOT to your user name or it will be leaked in multiple places.
48
  = Are there any settings? =
49
  Yes, but the default ones are fine for most cases
stop-user-enumeration.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Stop User Enumeration
4
  Plugin URI: https://fullworks.net/products/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.30
7
  Author: Fullworks
8
  Text Domain: stop-user-enumeration
9
  Domain Path: /languages
3
  Plugin Name: Stop User Enumeration
4
  Plugin URI: https://fullworks.net/products/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.31
7
  Author: Fullworks
8
  Text Domain: stop-user-enumeration
9
  Domain Path: /languages