Acunetix WP Security - Version 4.0.1

Version Description

  • Fixed the LiveTraffic bug
Download this release

Release Info

Developer Acunetix
Plugin Icon wp plugin Acunetix WP Security
Version 4.0.1
Comparing to
See all releases

Code changes from version 4.0 to 4.0.1

index.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Acunetix WP Security
4
  Plugin URI: http://www.acunetix.com/websitesecurity/wordpress-security-plugin/
5
  Description: The Acunetix WP Security plugin is the ultimate must-have tool when it comes to WordPress security. The plugin is free and monitors your website for security weaknesses that hackers might exploit and tells you how to easily fix them.
6
- Version: 4.0.0
7
  Author: Acunetix
8
  Author URI: http://www.acunetix.com/
9
  License: GPLv2 or later
3
  Plugin Name: Acunetix WP Security
4
  Plugin URI: http://www.acunetix.com/websitesecurity/wordpress-security-plugin/
5
  Description: The Acunetix WP Security plugin is the ultimate must-have tool when it comes to WordPress security. The plugin is free and monitors your website for security weaknesses that hackers might exploit and tells you how to easily fix them.
6
+ Version: 4.0.1
7
  Author: Acunetix
8
  Author URI: http://www.acunetix.com/
9
  License: GPLv2 or later
readme.txt CHANGED
@@ -28,10 +28,6 @@ Acunetix WP Security checks your WordPress website/blog for security vulnerabili
28
  * WordPress version 3.0 and higher
29
  * PHP5 (tested with PHP Interpreter >= 5.2.9)
30
 
31
- For more information on the Acunetix WP Security plug-in and other WordPress security news, visit the
32
- <a href="http://www.acunetix.com/blog/" target="_blank">Acunetix Blog</a> and join
33
- our <a href="http://www.facebook.com/Acunetix" target="_blank">Facebook</a> page. Post any questions or feedback
34
- on the <a href="http://wordpress.org/support/plugin/wp-security-scan" target="_blank">Acunetix WP Security plug-in forum</a>.
35
 
36
  = Key security features: =
37
 
@@ -76,21 +72,6 @@ our <a href="http://www.facebook.com/Acunetix" target="_blank">Facebook</a> page
76
  on the <a href="http://wordpress.org/support/plugin/wp-security-scan" target="_blank">Acunetix WP Security plug-in forum</a>.
77
 
78
 
79
- == WordPress Security ==
80
-
81
- Security Scanner:
82
-
83
- 1. Scans Wordpress installation for file/directory permissions vulnerabilites
84
- 2. Recommends corrective actions
85
- 3. Scans for general security vulnerabilities
86
-
87
-
88
- For more information on the Acunetix WP Security plug-in and other WordPress security news, visit the
89
- <a href="http://www.acunetix.com/blog/" target="_blank">Acunetix Blog</a> and join
90
- our <a href="http://www.facebook.com/Acunetix" target="_blank">Facebook</a> page. Post any questions or feedback
91
- on the <a href="http://wordpress.org/support/plugin/wp-security-scan" target="_blank">Acunetix WP Security plug-in forum</a>.
92
-
93
-
94
  == Frequently Asked Questions ==
95
 
96
  = Can I deactivate Acunetix WP Security once I've run it once? =
@@ -133,6 +114,15 @@ on the <a href="http://wordpress.org/support/plugin/wp-security-scan" target="_b
133
  4. The new Dashboard page
134
 
135
 
 
 
 
 
 
 
 
 
 
136
  == Other Notes ==
137
  = License =
138
  Good news, this plugin is free for everyone! Since it's released under the GPL, you can use it free of charge on your personal or commercial blog.
@@ -145,6 +135,10 @@ on the <a href="http://wordpress.org/support/plugin/wp-security-scan" target="_b
145
 
146
  == Changelog ==
147
 
 
 
 
 
148
  = 4.0.0 =
149
  * Complete core update
150
  * Added live traffic functionality
28
  * WordPress version 3.0 and higher
29
  * PHP5 (tested with PHP Interpreter >= 5.2.9)
30
 
 
 
 
 
31
 
32
  = Key security features: =
33
 
72
  on the <a href="http://wordpress.org/support/plugin/wp-security-scan" target="_blank">Acunetix WP Security plug-in forum</a>.
73
 
74
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
75
  == Frequently Asked Questions ==
76
 
77
  = Can I deactivate Acunetix WP Security once I've run it once? =
114
  4. The new Dashboard page
115
 
116
 
117
+ == WordPress Security ==
118
+
119
+ Security Scanner:
120
+
121
+ 1. Scans Wordpress installation for file/directory permissions vulnerabilites
122
+ 2. Recommends corrective actions
123
+ 3. Scans for general security vulnerabilities
124
+
125
+
126
  == Other Notes ==
127
  = License =
128
  Good news, this plugin is free for everyone! Since it's released under the GPL, you can use it free of charge on your personal or commercial blog.
135
 
136
  == Changelog ==
137
 
138
+ = 4.0.1 =
139
+ * Fixed the LiveTraffic bug
140
+
141
+
142
  = 4.0.0 =
143
  * Complete core update
144
  * Added live traffic functionality
res/inc/WsdLiveTraffic.php CHANGED
@@ -137,15 +137,15 @@ class WsdLiveTraffic
137
  {
138
  global $wpdb;
139
  if(empty($maxEntries)){
140
- return $wpdb->get_results("SELECT entryId,entryTime,entryIp,entryReferrer,entryUA,entryRequestedUrl FROM ".SwpaPlugin::getTableName(SWPA_PLUGIN_LIVE_TRAFFIC_TABLE_NAME)." ORDER BY entryId DESC");
141
  }
142
- else { return $wpdb->get_results("SELECT entryId,entryTime,entryIp,entryReferrer,entryUA,entryRequestedUrl FROM ".SwpaPlugin::getTableName(SWPA_PLUGIN_LIVE_TRAFFIC_TABLE_NAME)." ORDER BY entryId DESC LIMIT 0, ".$maxEntries);}
143
  }
144
 
145
  final public static function getLastID()
146
  {
147
  global $wpdb;
148
- return $wpdb->get_var("SELECT entryId FROM ".SwpaPlugin::getTableName(SWPA_PLUGIN_LIVE_TRAFFIC_TABLE_NAME)." ORDER BY entryId DESC");
149
  }
150
 
151
  final public static function ajaxGetTrafficData($maxEntries = 0)
137
  {
138
  global $wpdb;
139
  if(empty($maxEntries)){
140
+ return $wpdb->get_results("SELECT entryId,entryTime,entryIp,entryReferrer,entryUA,entryRequestedUrl FROM ".WsdPlugin::getTableName(WSS_PLUGIN_LIVE_TRAFFIC_TABLE_NAME)." ORDER BY entryId DESC");
141
  }
142
+ else { return $wpdb->get_results("SELECT entryId,entryTime,entryIp,entryReferrer,entryUA,entryRequestedUrl FROM ".WsdPlugin::getTableName(WSS_PLUGIN_LIVE_TRAFFIC_TABLE_NAME)." ORDER BY entryId DESC LIMIT 0, ".$maxEntries);}
143
  }
144
 
145
  final public static function getLastID()
146
  {
147
  global $wpdb;
148
+ return $wpdb->get_var("SELECT entryId FROM ".WsdPlugin::getTableName(WSS_PLUGIN_LIVE_TRAFFIC_TABLE_NAME)." ORDER BY entryId DESC");
149
  }
150
 
151
  final public static function ajaxGetTrafficData($maxEntries = 0)
res/inc/WsdUtil.php CHANGED
@@ -574,7 +574,7 @@ class WsdUtil
574
  {
575
  $rssWidgetData = get_option('WSD-RSS-WGT-DISPLAY');
576
  if(($rssWidgetData == 'yes')){
577
- wp_add_dashboard_widget('acx_plugin_dashboard_widget', __('WebsiteDefender news and updates'), array(get_class(),'displayDashboardWidget'));
578
  }
579
  }
580
  /**
574
  {
575
  $rssWidgetData = get_option('WSD-RSS-WGT-DISPLAY');
576
  if(($rssWidgetData == 'yes')){
577
+ wp_add_dashboard_widget('acx_plugin_dashboard_widget', __('Acunetix news and updates'), array(get_class(),'displayDashboardWidget'));
578
  }
579
  }
580
  /**
res/pages/tpl/box-database-change-prefix.php CHANGED
@@ -161,8 +161,7 @@ if ( ! $showPage )
161
  if (empty($acx_dbRights['rightsEnough']))
162
  {
163
  $wsd_Message .= '<span class="acx-icon-alert-critical">'. __('The User which is used to access your Wordpress Database, hasn\'t enough rights (is missing the <code>ALTER</code> right) to alter the Table structure.
164
- Please visit the <a href="http://www.websitedefender.com/category/faq/" target=_blank">WebsiteDefender WP Security Scan WordPress plugin documentation</a> website for more information.
165
- If the user <code>has ALTER</code> rights and the tool is still not working, please <a href="http://www.websitedefender.com/support/" target="_blank">contact us</a> for assistance!').'</span>';
166
  }
167
 
168
  if (strlen($new_prefix) < strlen($_POST['newPrefixInput'])){
161
  if (empty($acx_dbRights['rightsEnough']))
162
  {
163
  $wsd_Message .= '<span class="acx-icon-alert-critical">'. __('The User which is used to access your Wordpress Database, hasn\'t enough rights (is missing the <code>ALTER</code> right) to alter the Table structure.
164
+ If the user <code>has ALTER</code> rights and the tool is still not working, please <a href="http://wordpress.org/support/plugin/wp-security-scan" target="_blank">contact us</a> for assistance!').'</span>';
 
165
  }
166
 
167
  if (strlen($new_prefix) < strlen($_POST['newPrefixInput'])){
wss-settings.php CHANGED
@@ -34,7 +34,7 @@ define('WSS_PLUGIN_TEXT_DOMAIN', 'WSDWP_SECURITY');
34
  define('WSS_PLUGIN_SETTINGS_OPTION_NAME', 'wsdplugin_settings');
35
 
36
  /**
37
- * Set the path to the WebsiteDefender.com feed
38
  */
39
  define('WSS_PLUGIN_BLOG_FEED','http://www.acunetix.com/blog/');
40
 
34
  define('WSS_PLUGIN_SETTINGS_OPTION_NAME', 'wsdplugin_settings');
35
 
36
  /**
37
+ * Set the path to the acunetix.com feed
38
  */
39
  define('WSS_PLUGIN_BLOG_FEED','http://www.acunetix.com/blog/');
40