Sucuri Security – Auditing, Malware Scanner and Security Hardening - Version 1.7.5

Version Description

  • Added better handling of API responses of remote scanner.
Download this release

Release Info

Developer akresic
Plugin Icon 128x128 Sucuri Security – Auditing, Malware Scanner and Security Hardening
Version 1.7.5
Comparing to
See all releases

Code changes from version 1.7.4 to 1.7.5

inc/tpl/settings-emailsubject.snippet.tpl ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
1
+
2
+ <li>
3
+ <label>
4
+ <input type="radio" name="sucuriscan_email_subject" value="%%SUCURI.EmailSubject.Value%%" %%SUCURI.EmailSubject.Checked%% />
5
+ <span>%%SUCURI.EmailSubject.Name%%</span>
6
+ </label>
7
+ </li>
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: dd@sucuri.net
3
  Donate Link: http://sucuri.net/
4
  Tags: malware, security, firewall, scan, spam, virus, sucuri, protection,WordPress Security, Login Security,Security Auditing,File Integrity,htaccess,phishing,backdoors,SQL Injection, RFI, LFI, XSS, CSRF, website firewall, Website Security, Performance Optimization, Zero Day, Software Vulnerability, Exploits, Hacks, Attackers, Bad Actors, Reverse Proxy, Two Factor Security, Two Factor Authentication, Security Logs, HeatBleed Vulnerability, Website Protection, Bash Vulnerability, RevSlider Vulnerability, MailPoet Vulnerability, Malware Prevention, Website Firewall, Website AntiVirus, Security Response, Security Detection, Security Prevention
5
  Requires at least:3.2
6
- Stable tag:1.7.4
7
  Tested up to: 4.0.1
8
 
9
  The Sucuri WordPress Security plugin is a security toolset for security integrity monitoring, malware detection and security hardening.
@@ -352,6 +352,9 @@ service from the WordPress dashboard.
352
 
353
  == Changelog ==
354
 
 
 
 
355
  = 1.7.4 =
356
  * Added option for keeping failed logins until the user removes them.
357
  * Bugfixes for user reported issues.
3
  Donate Link: http://sucuri.net/
4
  Tags: malware, security, firewall, scan, spam, virus, sucuri, protection,WordPress Security, Login Security,Security Auditing,File Integrity,htaccess,phishing,backdoors,SQL Injection, RFI, LFI, XSS, CSRF, website firewall, Website Security, Performance Optimization, Zero Day, Software Vulnerability, Exploits, Hacks, Attackers, Bad Actors, Reverse Proxy, Two Factor Security, Two Factor Authentication, Security Logs, HeatBleed Vulnerability, Website Protection, Bash Vulnerability, RevSlider Vulnerability, MailPoet Vulnerability, Malware Prevention, Website Firewall, Website AntiVirus, Security Response, Security Detection, Security Prevention
5
  Requires at least:3.2
6
+ Stable tag:1.7.5
7
  Tested up to: 4.0.1
8
 
9
  The Sucuri WordPress Security plugin is a security toolset for security integrity monitoring, malware detection and security hardening.
352
 
353
  == Changelog ==
354
 
355
+ = 1.7.5 =
356
+ * Added better handling of API responses of remote scanner.
357
+
358
  = 1.7.4 =
359
  * Added option for keeping failed logins until the user removes them.
360
  * Bugfixes for user reported issues.
sucuri.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Sucuri Security - Auditing, Malware Scanner and Hardening
4
  Plugin URI: http://wordpress.sucuri.net/
5
  Description: The <a href="http://sucuri.net/" target="_blank">Sucuri</a> plugin provides the website owner the best Activity Auditing, SiteCheck Remote Malware Scanning, Effective Security Hardening and Post-Hack features. SiteCheck will check for malware, spam, blacklisting and other security issues like .htaccess redirects, hidden eval code, etc. The best thing about it is it's completely free.
6
  Author: Sucuri, INC
7
- Version: 1.7.4
8
  Author URI: http://sucuri.net
9
  */
10
 
@@ -66,7 +66,7 @@ define('SUCURISCAN', 'sucuriscan');
66
  /**
67
  * Current version of the plugin's code.
68
  */
69
- define('SUCURISCAN_VERSION', '1.7.4');
70
 
71
  /**
72
  * The name of the Sucuri plugin main file.
@@ -3919,7 +3919,13 @@ class SucuriScanAPI extends SucuriScanOption {
3919
  if( $response['body']->status == 1 ){
3920
  return TRUE;
3921
  } else {
3922
- SucuriScanInterface::error( ucwords($response['body']->action) . ': ' . $response['body']->messages[0] );
 
 
 
 
 
 
3923
  }
3924
  } else {
3925
  SucuriScanInterface::error( 'Could not determine the status of an API call.' );
4
  Plugin URI: http://wordpress.sucuri.net/
5
  Description: The <a href="http://sucuri.net/" target="_blank">Sucuri</a> plugin provides the website owner the best Activity Auditing, SiteCheck Remote Malware Scanning, Effective Security Hardening and Post-Hack features. SiteCheck will check for malware, spam, blacklisting and other security issues like .htaccess redirects, hidden eval code, etc. The best thing about it is it's completely free.
6
  Author: Sucuri, INC
7
+ Version: 1.7.5
8
  Author URI: http://sucuri.net
9
  */
10
 
66
  /**
67
  * Current version of the plugin's code.
68
  */
69
+ define('SUCURISCAN_VERSION', '1.7.5');
70
 
71
  /**
72
  * The name of the Sucuri plugin main file.
3919
  if( $response['body']->status == 1 ){
3920
  return TRUE;
3921
  } else {
3922
+ $action_message = 'Unknown error, there is no more information.';
3923
+
3924
+ if ( isset($response['body']->messages[0]) ) {
3925
+ $action_message = $response['body']->messages[0];
3926
+ }
3927
+
3928
+ SucuriScanInterface::error( ucwords($response['body']->action) . ': ' . $action_message );
3929
  }
3930
  } else {
3931
  SucuriScanInterface::error( 'Could not determine the status of an API call.' );