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

Version Description

  • Update Terms of Service for GDPR compliancy
Download this release

Release Info

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

Code changes from version 1.8.15 to 1.8.16

inc/tpl/register-site.html.tpl CHANGED
@@ -1,8 +1,8 @@
1
 
2
- <p>An API key is required to activate some additional tools available in this plugin. The keys are free and you can virtually generate an unlimited number of them as long as the domain name and email address are unique. The key is used to authenticate the HTTP requests sent by the plugin to a public API service managed by Sucuri Inc. Do not generate the key if you disagree with this.</p>
3
 
4
  <div class="sucuriscan-inline-alert-info">
5
- <p>If you experience issues generating the API key you can request one sending the domain name and email address that you want to use to <a href="mailto:info@sucuri.net">info@sucuri.net</a>. Note generating a key for a website that is not facing the Internet is not possible because the API service needs to validate that the domain name exists, however, if you want to test the plugin in a development environment please contact us so we can generate the key manually.</p>
6
  </div>
7
 
8
  <form action="%%SUCURI.URL.Settings%%" method="post">
@@ -28,6 +28,22 @@
28
  <span class="sucuriscan-tooltip" content="Check the box if your website is behind a known firewall service, this guarantees that the IP address of your visitors will be detected correctly for the security logs. You can change this later from the settings.">Enable DNS Lookups On Startup</span>
29
  </fieldset>
30
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
31
  <div class="sucuriscan-clearfix">
32
  <div class="sucuriscan-pull-left">
33
  <button type="submit" class="button button-primary">Submit</button>
1
 
2
+ <p>An API key is required to activate some additional tools available in this plugin. The keys are free and you can virtually generate an unlimited number of them as long as the domain name and email address are unique. The key is used to authenticate the HTTP requests sent by the plugin to an API service managed by Sucuri Inc.</p>
3
 
4
  <div class="sucuriscan-inline-alert-info">
5
+ <p>If you experience issues generating the API key you can request one by sending the domain name and email address that you want to use to <a href="mailto:info@sucuri.net">info@sucuri.net</a>. Note that generating a key for a website that is not facing the Internet is not possible because the API service needs to validate that the domain name exists.</p>
6
  </div>
7
 
8
  <form action="%%SUCURI.URL.Settings%%" method="post">
28
  <span class="sucuriscan-tooltip" content="Check the box if your website is behind a known firewall service, this guarantees that the IP address of your visitors will be detected correctly for the security logs. You can change this later from the settings.">Enable DNS Lookups On Startup</span>
29
  </fieldset>
30
 
31
+ <p>
32
+ <label>
33
+ <input type="hidden" name="sucuriscan_consent_tos" value="0" />
34
+ <input type="checkbox" name="sucuriscan_consent_tos" value="1" />
35
+ <span>I agree to the <a target="_blank" href="https://sucuri.net/terms">Terms of Service</a>.</span>
36
+ </label>
37
+ </p>
38
+
39
+ <p>
40
+ <label>
41
+ <input type="hidden" name="sucuriscan_consent_storage" value="0" />
42
+ <input type="checkbox" name="sucuriscan_consent_storage" value="1" />
43
+ <span>I agree to have my email address and audit logs stored. This written consent can be requested to be revoked at any time by sending an email to <a href="mailto:gdpr@sucuri.net">gdpr@sucuri.net</a>.</span>
44
+ </label>
45
+ </p>
46
+
47
  <div class="sucuriscan-clearfix">
48
  <div class="sucuriscan-pull-left">
49
  <button type="submit" class="button button-primary">Submit</button>
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate Link: https://sucuri.net/
4
  Tags: malware, security, firewall, scan, spam, virus, sucuri, protection, blacklist, detection, hardening, file integrity
5
  Requires at least: 3.6
6
  Tested up to: 4.9.4
7
- Stable tag: 1.8.15
8
 
9
  The Sucuri WordPress Security plugin is a security toolset for security integrity monitoring, malware detection and security hardening.
10
 
@@ -12,7 +12,7 @@ The Sucuri WordPress Security plugin is a security toolset for security integrit
12
 
13
  Sucuri Inc. is a globally recognized authority in all matters related to website security, with specialization in WordPress Security.
14
 
15
- The Sucuri Security WordPress plugin is free to all WordPress users. It is a security suite meant to complement your existing security posture. It offers its users a set of security features for their website, each designed to have a positive affect on their security posture:
16
 
17
  * Security Activity Auditing
18
  * File Integrity Monitoring
@@ -25,7 +25,7 @@ The Sucuri Security WordPress plugin is free to all WordPress users. It is a sec
25
 
26
  == Installation ==
27
 
28
- The installation of the Sucuri Security WordPress Security plugin is very simple and straight forward. A detailed breakdown of the process is available [here](https://sucuri.net/wordpress-security-plugin-installation) (including images), however, below we outline the bare minimum steps.
29
 
30
  To install Sucuri Security and complement your Security posture:
31
 
@@ -33,18 +33,18 @@ To install Sucuri Security and complement your Security posture:
33
  2. In the sidebar, choose "Plugins" and then "Add New",
34
  3. Type "sucuri" or "sucuri-scanner" in the search box,
35
  4. Install the option with the "By Sucuri Inc." at the foot,
36
- 5. Once activated, you will find a new icon in the sidebar with the Sucuri logo, go to the plugin's dashboard and click the button that says "Generate API Key" to activate the event monitoring, this will generate an unique key to authenticate your website against the remote Sucuri WordPress API service,
37
- 6. Feel free to visit the plugin' settings page to configure other options including the security alerts, hardening options, file system scanner paths, API service communication, among other things.
38
 
39
- Visit the [Support Forum](https://wordpress.org/support/plugin/sucuri-scanner) to ask questions, suggest new features, or report bugs. And recommend the plugin to your friends and colleagues if you think it can help other people.
40
 
41
  == Frequently Asked Questions ==
42
 
43
- More information can be found on the the Sucuri Security WordPress Security plugin via our free [Knowledge Base](https://kb.sucuri.net/plugins/WordPress+Plugin).
44
 
45
  = What is the security activity auditing? =
46
 
47
- This is perhaps the most underutilized security function. It’s the act of monitoring all security related events within your WordPress install. The challenge is, what makes up a security event. In the eyes of Sucuri, any change that occurs within the application could be categorized as a security event, as such we try to record it.
48
 
49
  This is important because it gives you, the website owner, the ability to keep a good eye on the various changes occurring within your environment. Who is logging in? What changes are being made?
50
 
@@ -64,7 +64,7 @@ This feature is powered by our scanning engine, found on our free security scann
64
 
65
  = What is the blacklist monitoring? =
66
 
67
- Another very interesting feature of the Security Malware Scanner is that it incorporates various blacklist engines. Security blacklist engines include the following:
68
 
69
  * Sucuri Labs
70
  * Google Safe Browsing
@@ -77,9 +77,9 @@ Another very interesting feature of the Security Malware Scanner is that it inco
77
  * SpamHaus
78
  * Bitdefender
79
 
80
- These are some of the largest blacklisting entities, each having the ability to directly impact your brands online reputation. By synchronize with their environments we’re able to tell you, upon scan, whether any of them are negatively flagging your website with a security related issue. If they do, then via our website security product, we’re able to help you get off the their security blacklist.
81
 
82
- = What is the effective security hardening =
83
 
84
  It’s easy to get lost in the world of security hardening. At Sucuri we clean hundreds of websites a day, many with the various security hardening configurations you find in various WordPress Security presentations. In this section, we add those that we feel to be most effective, and that complement the entire Sucuri suite of products.
85
 
@@ -93,7 +93,7 @@ Having all these security features would be useless unless you were notified of
93
 
94
  = What is the website firewall (premium) =
95
 
96
- This is by far the coolest security feature Sucuri has to offer everyday website owners. It’s an enterprise grade Website Firewall designed to give you the best security protection any website can hope for. It protects your website from a variety of website attacks and security events to include:
97
 
98
  * Denial of Service (DOS / DDOS) Attacks
99
  * Exploitation of Software Vulnerabilities
@@ -106,13 +106,13 @@ This is coupled with a number of features like:
106
  * Advanced Access Control Features
107
  * Failover and Redundancy
108
 
109
- This is **not included as a free** option to the plugin, but is integrated so that if purchased you are able to activate. If you prefer to leverage the Sucuri Firewall product by itself, you have the option to operate the [Website Firewall WordPress Security](https://wordpress.org/plugins/sucuri-cloudproxy-waf/) plugin in standalone mode.
110
 
111
- The Sucuri Security WordPress Security plugin is built by the team that is known for their proactive approach to security. It is built using intelligence gathered from thousands upon thousands of remediation cases, millions of unique domain scans and 10’s of millions of website security attack blocks.
112
 
113
  = What does this plugin do that other security plugins don't do? =
114
 
115
- A few other security plugins provide activity monitoring features, but few do them well. The activity monitoring in this plugin is second to none, tying the activity into the Sucuri Security Operations Center (SOC) ensuring it's safe keeping.
116
 
117
  This security plugin also takes a different approach to security plugins, stripping it of what we categorize as unnecessary features for a basic website end-user. We've narrowed the key features we felt were most pertinent to any website owner and integrated them into this plugin.
118
 
@@ -120,9 +120,9 @@ This security plugin also takes a different approach to security plugins, stripp
120
 
121
  No, this is a free plugin that we offer at no charge. It does not mean you get a free account.
122
 
123
- = If I have the premium plugin, do I need the Free plugin? =
124
 
125
- The premium plugin was deprecated back in 2014. All the major features were merged into the free plugin. If you are still using the (old) premium plugin please consider to delete it and install the (new) free plugin from the WordPress plugin market. Notice that you will need to generate a new API key as the new API service does not supports the old one.
126
 
127
  = Do I still need Sucuri’s products if I have this plugin? =
128
 
@@ -134,7 +134,7 @@ The best place is to engage us via the [Support Forum](https://wordpress.org/sup
134
 
135
  = Does your plugin conflict with WordFence? =
136
 
137
- The plugin does not, but there might be issues with our scanners. If you get an “Unable to Properly Scan Your Site” It’s likely because the WordFence plugin is blocking our scanner as an invalid crawler. You would have to white list our IP address on the WordFence dashboard.
138
 
139
  = What are the Remote Malware Scanner limitations? =
140
 
@@ -158,7 +158,7 @@ We improve the performance of the code with every release. However, due to diffe
158
 
159
  = Do the logs get stored to my database? =
160
 
161
- No, it does not.
162
 
163
  = Are there any issues installing your plugin with any hosts? =
164
 
@@ -186,6 +186,9 @@ This version adds support for the latest version of WordPress. Introduces new fe
186
 
187
  == Changelog ==
188
 
 
 
 
189
  = 1.8.15 =
190
  * Make default plugin options filterable
191
  * Fix missing button to manually activate the advanced features
@@ -300,7 +303,7 @@ This version adds support for the latest version of WordPress. Introduces new fe
300
  * Add full support for internationalization with es_ES locale
301
 
302
  = 1.8.4 =
303
- * Modify the entire interface to offer a fresh desigh
304
  * Add support for internationalization via gettext
305
  * Modify the structure of the project for maintainability
306
  * Remove minified files to facilitate future contributions
4
  Tags: malware, security, firewall, scan, spam, virus, sucuri, protection, blacklist, detection, hardening, file integrity
5
  Requires at least: 3.6
6
  Tested up to: 4.9.4
7
+ Stable tag: 1.8.16
8
 
9
  The Sucuri WordPress Security plugin is a security toolset for security integrity monitoring, malware detection and security hardening.
10
 
12
 
13
  Sucuri Inc. is a globally recognized authority in all matters related to website security, with specialization in WordPress Security.
14
 
15
+ The Sucuri Security WordPress plugin is free to all WordPress users. It is a security suite meant to complement your existing security posture. It offers its users a set of security features for their website, each designed to have a positive effect on their security posture:
16
 
17
  * Security Activity Auditing
18
  * File Integrity Monitoring
25
 
26
  == Installation ==
27
 
28
+ The installation of the Sucuri WordPress Security plugin is very simple and straight forward. A detailed breakdown of the process is available [here](https://sucuri.net/wordpress-security-plugin-installation) (including images), however, below we outline the bare minimum steps.
29
 
30
  To install Sucuri Security and complement your Security posture:
31
 
33
  2. In the sidebar, choose "Plugins" and then "Add New",
34
  3. Type "sucuri" or "sucuri-scanner" in the search box,
35
  4. Install the option with the "By Sucuri Inc." at the foot,
36
+ 5. Once activated, you will find a new icon in the sidebar with the Sucuri logo. Go to the plugin's dashboard and click the button that says "Generate API Key" to activate the event monitoring, this will generate a unique key to authenticate your website against the remote Sucuri WordPress API service,
37
+ 6. Feel free to visit the plugin' settings page to configure other options including the security alerts, hardening options, file system scanner paths and API service communication.
38
 
39
+ Visit the [Support Forum](https://wordpress.org/support/plugin/sucuri-scanner) to ask questions, suggest new features, or report bugs. And recommend the plugin to your friends and colleagues if you think it can help them.
40
 
41
  == Frequently Asked Questions ==
42
 
43
+ More information on the Sucuri Security WordPress plugin can be found in our [Knowledge Base](https://kb.sucuri.net/plugins/WordPress+Plugin).
44
 
45
  = What is the security activity auditing? =
46
 
47
+ This is perhaps the most underutilized security function. It’s the act of monitoring all security related events within your WordPress install. The challenge is, what makes up a security event. In the eyes of Sucuri, any change that occurs within the application could be categorized as a security event, and as such we try to record it.
48
 
49
  This is important because it gives you, the website owner, the ability to keep a good eye on the various changes occurring within your environment. Who is logging in? What changes are being made?
50
 
64
 
65
  = What is the blacklist monitoring? =
66
 
67
+ Another very interesting feature of the Security Malware Scanner is that it checks various blacklist engines, including the following:
68
 
69
  * Sucuri Labs
70
  * Google Safe Browsing
77
  * SpamHaus
78
  * Bitdefender
79
 
80
+ These are some of the largest blacklisting entities, each having the ability to directly impact your brand's online reputation. By synchronizing with their environments we’re able to tell you, upon scan, whether any of them are negatively flagging your website with a security related issue. If they do, then via our website security product, we’re able to help you get off of the security blacklist.
81
 
82
+ = What is effective security hardening =
83
 
84
  It’s easy to get lost in the world of security hardening. At Sucuri we clean hundreds of websites a day, many with the various security hardening configurations you find in various WordPress Security presentations. In this section, we add those that we feel to be most effective, and that complement the entire Sucuri suite of products.
85
 
93
 
94
  = What is the website firewall (premium) =
95
 
96
+ This is by far the coolest security feature Sucuri has to offer everyday website owners. It’s an enterprise grade Website Firewall designed to give you the best security protection any website can hope for. It protects your website from a variety of website attacks, including:
97
 
98
  * Denial of Service (DOS / DDOS) Attacks
99
  * Exploitation of Software Vulnerabilities
106
  * Advanced Access Control Features
107
  * Failover and Redundancy
108
 
109
+ This is **not included as a free** option of the plugin, but is integrated so that if purchased you are able to activate. If you prefer to leverage the Sucuri Firewall product by itself, you have the option to operate the [Website Firewall WordPress Security](https://wordpress.org/plugins/sucuri-cloudproxy-waf/) plugin in standalone mode.
110
 
111
+ The Sucuri WordPress Security plugin is built by the team that is known for their proactive approach to security. It is built using intelligence gathered from thousands upon thousands of remediation cases, millions of unique domain scans and 10’s of millions of website security attack blocks.
112
 
113
  = What does this plugin do that other security plugins don't do? =
114
 
115
+ A few other security plugins provide activity monitoring features, but few do them well. The activity monitoring in this plugin is second to none, tying the activity into the Sucuri Security Operations Center (SOC) ensuring its safe keeping.
116
 
117
  This security plugin also takes a different approach to security plugins, stripping it of what we categorize as unnecessary features for a basic website end-user. We've narrowed the key features we felt were most pertinent to any website owner and integrated them into this plugin.
118
 
120
 
121
  No, this is a free plugin that we offer at no charge. It does not mean you get a free account.
122
 
123
+ = If I have the premium plugin, do I need the free plugin? =
124
 
125
+ The premium plugin was deprecated back in 2014. All the major features were merged into the free plugin. If you are still using the (old) premium plugin please consider deleting it and installing the (new) free plugin from the WordPress plugin market. Notice that you will need to generate a new API key as the new API service does not supports the old one.
126
 
127
  = Do I still need Sucuri’s products if I have this plugin? =
128
 
134
 
135
  = Does your plugin conflict with WordFence? =
136
 
137
+ The plugin does not, but there might be issues with our scanners. If you get an “Unable to Properly Scan Your Site” error, it’s likely because the WordFence plugin is blocking our scanner as an invalid crawler. You would have to white list our IP address on the WordFence dashboard.
138
 
139
  = What are the Remote Malware Scanner limitations? =
140
 
158
 
159
  = Do the logs get stored to my database? =
160
 
161
+ No, they do not.
162
 
163
  = Are there any issues installing your plugin with any hosts? =
164
 
186
 
187
  == Changelog ==
188
 
189
+ = 1.8.16 =
190
+ * Update Terms of Service for GDPR compliancy
191
+
192
  = 1.8.15 =
193
  * Make default plugin options filterable
194
  * Fix missing button to manually activate the advanced features
303
  * Add full support for internationalization with es_ES locale
304
 
305
  = 1.8.4 =
306
+ * Modify the entire interface to offer a fresh design
307
  * Add support for internationalization via gettext
308
  * Modify the structure of the project for maintainability
309
  * Remove minified files to facilitate future contributions
src/api.lib.php CHANGED
@@ -9,7 +9,7 @@
9
  * @package Sucuri
10
  * @subpackage SucuriScanner
11
  * @author Daniel Cid <dcid@sucuri.net>
12
- * @copyright 2010-2017 Sucuri Inc.
13
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
14
  * @link https://wordpress.org/plugins/sucuri-scanner
15
  */
@@ -43,7 +43,7 @@ if (!defined('SUCURISCAN_INIT') || SUCURISCAN_INIT !== true) {
43
  * @package Sucuri
44
  * @subpackage SucuriScanner
45
  * @author Daniel Cid <dcid@sucuri.net>
46
- * @copyright 2010-2017 Sucuri Inc.
47
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
48
  * @link https://wordpress.org/plugins/sucuri-scanner
49
  */
9
  * @package Sucuri
10
  * @subpackage SucuriScanner
11
  * @author Daniel Cid <dcid@sucuri.net>
12
+ * @copyright 2010-2018 Sucuri Inc.
13
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
14
  * @link https://wordpress.org/plugins/sucuri-scanner
15
  */
43
  * @package Sucuri
44
  * @subpackage SucuriScanner
45
  * @author Daniel Cid <dcid@sucuri.net>
46
+ * @copyright 2010-2018 Sucuri Inc.
47
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
48
  * @link https://wordpress.org/plugins/sucuri-scanner
49
  */
src/auditlogs.lib.php CHANGED
@@ -9,7 +9,7 @@
9
  * @package Sucuri
10
  * @subpackage SucuriScanner
11
  * @author Daniel Cid <dcid@sucuri.net>
12
- * @copyright 2010-2017 Sucuri Inc.
13
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
14
  * @link https://wordpress.org/plugins/sucuri-scanner
15
  */
@@ -29,7 +29,7 @@ if (!defined('SUCURISCAN_INIT') || SUCURISCAN_INIT !== true) {
29
  * @package Sucuri
30
  * @subpackage SucuriScanner
31
  * @author Daniel Cid <dcid@sucuri.net>
32
- * @copyright 2010-2017 Sucuri Inc.
33
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
34
  * @link https://wordpress.org/plugins/sucuri-scanner
35
  */
9
  * @package Sucuri
10
  * @subpackage SucuriScanner
11
  * @author Daniel Cid <dcid@sucuri.net>
12
+ * @copyright 2010-2018 Sucuri Inc.
13
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
14
  * @link https://wordpress.org/plugins/sucuri-scanner
15
  */
29
  * @package Sucuri
30
  * @subpackage SucuriScanner
31
  * @author Daniel Cid <dcid@sucuri.net>
32
+ * @copyright 2010-2018 Sucuri Inc.
33
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
34
  * @link https://wordpress.org/plugins/sucuri-scanner
35
  */
src/base.lib.php CHANGED
@@ -9,7 +9,7 @@
9
  * @package Sucuri
10
  * @subpackage SucuriScanner
11
  * @author Daniel Cid <dcid@sucuri.net>
12
- * @copyright 2010-2017 Sucuri Inc.
13
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
14
  * @link https://wordpress.org/plugins/sucuri-scanner
15
  */
@@ -33,7 +33,7 @@ if (!defined('SUCURISCAN_INIT') || SUCURISCAN_INIT !== true) {
33
  * @package Sucuri
34
  * @subpackage SucuriScanner
35
  * @author Daniel Cid <dcid@sucuri.net>
36
- * @copyright 2010-2017 Sucuri Inc.
37
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
38
  * @link https://wordpress.org/plugins/sucuri-scanner
39
  */
9
  * @package Sucuri
10
  * @subpackage SucuriScanner
11
  * @author Daniel Cid <dcid@sucuri.net>
12
+ * @copyright 2010-2018 Sucuri Inc.
13
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
14
  * @link https://wordpress.org/plugins/sucuri-scanner
15
  */
33
  * @package Sucuri
34
  * @subpackage SucuriScanner
35
  * @author Daniel Cid <dcid@sucuri.net>
36
+ * @copyright 2010-2018 Sucuri Inc.
37
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
38
  * @link https://wordpress.org/plugins/sucuri-scanner
39
  */
src/cache.lib.php CHANGED
@@ -9,7 +9,7 @@
9
  * @package Sucuri
10
  * @subpackage SucuriScanner
11
  * @author Daniel Cid <dcid@sucuri.net>
12
- * @copyright 2010-2017 Sucuri Inc.
13
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
14
  * @link https://wordpress.org/plugins/sucuri-scanner
15
  */
@@ -39,7 +39,7 @@ if (!defined('SUCURISCAN_INIT') || SUCURISCAN_INIT !== true) {
39
  * @package Sucuri
40
  * @subpackage SucuriScanner
41
  * @author Daniel Cid <dcid@sucuri.net>
42
- * @copyright 2010-2017 Sucuri Inc.
43
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
44
  * @link https://wordpress.org/plugins/sucuri-scanner
45
  */
9
  * @package Sucuri
10
  * @subpackage SucuriScanner
11
  * @author Daniel Cid <dcid@sucuri.net>
12
+ * @copyright 2010-2018 Sucuri Inc.
13
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
14
  * @link https://wordpress.org/plugins/sucuri-scanner
15
  */
39
  * @package Sucuri
40
  * @subpackage SucuriScanner
41
  * @author Daniel Cid <dcid@sucuri.net>
42
+ * @copyright 2010-2018 Sucuri Inc.
43
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
44
  * @link https://wordpress.org/plugins/sucuri-scanner
45
  */
src/cli.lib.php CHANGED
@@ -9,7 +9,7 @@
9
  * @package Sucuri
10
  * @subpackage SucuriScanCLI
11
  * @author Daniel Cid <dcid@sucuri.net>
12
- * @copyright 2010-2017 Sucuri Inc.
13
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
14
  * @link https://wordpress.org/plugins/sucuri-scanner
15
  */
@@ -29,7 +29,7 @@ if (!defined('SUCURISCAN_INIT') || SUCURISCAN_INIT !== true) {
29
  * @package Sucuri
30
  * @subpackage SucuriScanner
31
  * @author Daniel Cid <dcid@sucuri.net>
32
- * @copyright 2010-2017 Sucuri Inc.
33
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
34
  * @link https://wordpress.org/plugins/sucuri-scanner
35
  */
9
  * @package Sucuri
10
  * @subpackage SucuriScanCLI
11
  * @author Daniel Cid <dcid@sucuri.net>
12
+ * @copyright 2010-2018 Sucuri Inc.
13
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
14
  * @link https://wordpress.org/plugins/sucuri-scanner
15
  */
29
  * @package Sucuri
30
  * @subpackage SucuriScanner
31
  * @author Daniel Cid <dcid@sucuri.net>
32
+ * @copyright 2010-2018 Sucuri Inc.
33
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
34
  * @link https://wordpress.org/plugins/sucuri-scanner
35
  */
src/command.lib.php CHANGED
@@ -9,7 +9,7 @@
9
  * @package Sucuri
10
  * @subpackage SucuriScanner
11
  * @author Daniel Cid <dcid@sucuri.net>
12
- * @copyright 2010-2017 Sucuri Inc.
13
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
14
  * @link https://wordpress.org/plugins/sucuri-scanner
15
  */
@@ -34,7 +34,7 @@ if (!defined('SUCURISCAN_INIT') || SUCURISCAN_INIT !== true) {
34
  * @package Sucuri
35
  * @subpackage SucuriScanner
36
  * @author Daniel Cid <dcid@sucuri.net>
37
- * @copyright 2010-2017 Sucuri Inc.
38
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
39
  * @link https://wordpress.org/plugins/sucuri-scanner
40
  */
9
  * @package Sucuri
10
  * @subpackage SucuriScanner
11
  * @author Daniel Cid <dcid@sucuri.net>
12
+ * @copyright 2010-2018 Sucuri Inc.
13
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
14
  * @link https://wordpress.org/plugins/sucuri-scanner
15
  */
34
  * @package Sucuri
35
  * @subpackage SucuriScanner
36
  * @author Daniel Cid <dcid@sucuri.net>
37
+ * @copyright 2010-2018 Sucuri Inc.
38
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
39
  * @link https://wordpress.org/plugins/sucuri-scanner
40
  */
src/event.lib.php CHANGED
@@ -9,7 +9,7 @@
9
  * @package Sucuri
10
  * @subpackage SucuriScanner
11
  * @author Daniel Cid <dcid@sucuri.net>
12
- * @copyright 2010-2017 Sucuri Inc.
13
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
14
  * @link https://wordpress.org/plugins/sucuri-scanner
15
  */
@@ -39,7 +39,7 @@ if (!defined('SUCURISCAN_INIT') || SUCURISCAN_INIT !== true) {
39
  * @package Sucuri
40
  * @subpackage SucuriScanner
41
  * @author Daniel Cid <dcid@sucuri.net>
42
- * @copyright 2010-2017 Sucuri Inc.
43
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
44
  * @link https://wordpress.org/plugins/sucuri-scanner
45
  */
9
  * @package Sucuri
10
  * @subpackage SucuriScanner
11
  * @author Daniel Cid <dcid@sucuri.net>
12
+ * @copyright 2010-2018 Sucuri Inc.
13
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
14
  * @link https://wordpress.org/plugins/sucuri-scanner
15
  */
39
  * @package Sucuri
40
  * @subpackage SucuriScanner
41
  * @author Daniel Cid <dcid@sucuri.net>
42
+ * @copyright 2010-2018 Sucuri Inc.
43
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
44
  * @link https://wordpress.org/plugins/sucuri-scanner
45
  */
src/fileinfo.lib.php CHANGED
@@ -9,7 +9,7 @@
9
  * @package Sucuri
10
  * @subpackage SucuriScanner
11
  * @author Daniel Cid <dcid@sucuri.net>
12
- * @copyright 2010-2017 Sucuri Inc.
13
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
14
  * @link https://wordpress.org/plugins/sucuri-scanner
15
  */
@@ -34,7 +34,7 @@ if (!defined('SUCURISCAN_INIT') || SUCURISCAN_INIT !== true) {
34
  * @package Sucuri
35
  * @subpackage SucuriScanner
36
  * @author Daniel Cid <dcid@sucuri.net>
37
- * @copyright 2010-2017 Sucuri Inc.
38
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
39
  * @link https://wordpress.org/plugins/sucuri-scanner
40
  */
9
  * @package Sucuri
10
  * @subpackage SucuriScanner
11
  * @author Daniel Cid <dcid@sucuri.net>
12
+ * @copyright 2010-2018 Sucuri Inc.
13
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
14
  * @link https://wordpress.org/plugins/sucuri-scanner
15
  */
34
  * @package Sucuri
35
  * @subpackage SucuriScanner
36
  * @author Daniel Cid <dcid@sucuri.net>
37
+ * @copyright 2010-2018 Sucuri Inc.
38
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
39
  * @link https://wordpress.org/plugins/sucuri-scanner
40
  */
src/firewall.lib.php CHANGED
@@ -9,7 +9,7 @@
9
  * @package Sucuri
10
  * @subpackage SucuriScanner
11
  * @author Daniel Cid <dcid@sucuri.net>
12
- * @copyright 2010-2017 Sucuri Inc.
13
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
14
  * @link https://wordpress.org/plugins/sucuri-scanner
15
  */
@@ -29,7 +29,7 @@ if (!defined('SUCURISCAN_INIT') || SUCURISCAN_INIT !== true) {
29
  * @package Sucuri
30
  * @subpackage SucuriScanner
31
  * @author Daniel Cid <dcid@sucuri.net>
32
- * @copyright 2010-2017 Sucuri Inc.
33
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
34
  * @link https://wordpress.org/plugins/sucuri-scanner
35
  */
9
  * @package Sucuri
10
  * @subpackage SucuriScanner
11
  * @author Daniel Cid <dcid@sucuri.net>
12
+ * @copyright 2010-2018 Sucuri Inc.
13
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
14
  * @link https://wordpress.org/plugins/sucuri-scanner
15
  */
29
  * @package Sucuri
30
  * @subpackage SucuriScanner
31
  * @author Daniel Cid <dcid@sucuri.net>
32
+ * @copyright 2010-2018 Sucuri Inc.
33
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
34
  * @link https://wordpress.org/plugins/sucuri-scanner
35
  */
src/fsscanner.lib.php CHANGED
@@ -9,7 +9,7 @@
9
  * @package Sucuri
10
  * @subpackage SucuriScanner
11
  * @author Daniel Cid <dcid@sucuri.net>
12
- * @copyright 2010-2017 Sucuri Inc.
13
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
14
  * @link https://wordpress.org/plugins/sucuri-scanner
15
  */
@@ -35,7 +35,7 @@ if (!defined('SUCURISCAN_INIT') || SUCURISCAN_INIT !== true) {
35
  * @package Sucuri
36
  * @subpackage SucuriScanner
37
  * @author Daniel Cid <dcid@sucuri.net>
38
- * @copyright 2010-2017 Sucuri Inc.
39
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
40
  * @link https://wordpress.org/plugins/sucuri-scanner
41
  */
9
  * @package Sucuri
10
  * @subpackage SucuriScanner
11
  * @author Daniel Cid <dcid@sucuri.net>
12
+ * @copyright 2010-2018 Sucuri Inc.
13
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
14
  * @link https://wordpress.org/plugins/sucuri-scanner
15
  */
35
  * @package Sucuri
36
  * @subpackage SucuriScanner
37
  * @author Daniel Cid <dcid@sucuri.net>
38
+ * @copyright 2010-2018 Sucuri Inc.
39
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
40
  * @link https://wordpress.org/plugins/sucuri-scanner
41
  */
src/globals.php CHANGED
@@ -9,7 +9,7 @@
9
  * @package Sucuri
10
  * @subpackage SucuriScanner
11
  * @author Daniel Cid <dcid@sucuri.net>
12
- * @copyright 2010-2017 Sucuri Inc.
13
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
14
  * @link https://wordpress.org/plugins/sucuri-scanner
15
  */
9
  * @package Sucuri
10
  * @subpackage SucuriScanner
11
  * @author Daniel Cid <dcid@sucuri.net>
12
+ * @copyright 2010-2018 Sucuri Inc.
13
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
14
  * @link https://wordpress.org/plugins/sucuri-scanner
15
  */
src/hardening.lib.php CHANGED
@@ -9,7 +9,7 @@
9
  * @package Sucuri
10
  * @subpackage SucuriScanner
11
  * @author Daniel Cid <dcid@sucuri.net>
12
- * @copyright 2010-2017 Sucuri Inc.
13
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
14
  * @link https://wordpress.org/plugins/sucuri-scanner
15
  */
@@ -44,7 +44,7 @@ if (!defined('SUCURISCAN_INIT') || SUCURISCAN_INIT !== true) {
44
  * @package Sucuri
45
  * @subpackage SucuriScanner
46
  * @author Daniel Cid <dcid@sucuri.net>
47
- * @copyright 2010-2017 Sucuri Inc.
48
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
49
  * @link https://wordpress.org/plugins/sucuri-scanner
50
  */
9
  * @package Sucuri
10
  * @subpackage SucuriScanner
11
  * @author Daniel Cid <dcid@sucuri.net>
12
+ * @copyright 2010-2018 Sucuri Inc.
13
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
14
  * @link https://wordpress.org/plugins/sucuri-scanner
15
  */
44
  * @package Sucuri
45
  * @subpackage SucuriScanner
46
  * @author Daniel Cid <dcid@sucuri.net>
47
+ * @copyright 2010-2018 Sucuri Inc.
48
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
49
  * @link https://wordpress.org/plugins/sucuri-scanner
50
  */
src/hook.lib.php CHANGED
@@ -9,7 +9,7 @@
9
  * @package Sucuri
10
  * @subpackage SucuriScanner
11
  * @author Daniel Cid <dcid@sucuri.net>
12
- * @copyright 2010-2017 Sucuri Inc.
13
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
14
  * @link https://wordpress.org/plugins/sucuri-scanner
15
  */
@@ -41,7 +41,7 @@ if (!defined('SUCURISCAN_INIT') || SUCURISCAN_INIT !== true) {
41
  * @package Sucuri
42
  * @subpackage SucuriScanner
43
  * @author Daniel Cid <dcid@sucuri.net>
44
- * @copyright 2010-2017 Sucuri Inc.
45
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
46
  * @link https://wordpress.org/plugins/sucuri-scanner
47
  */
@@ -696,7 +696,7 @@ class SucuriScanHook extends SucuriScanEvent
696
  * that must be reported, so after the first execution the operation
697
  * falls into an infinite loop.
698
  *
699
- * @date 30 June, 2017
700
  * @see https://wordpress.org/plugins/postman-smtp/
701
  * @see https://wordpress.org/support/topic/unable-to-access-wordpress-dashboard-after-update-to-1-8-7/
702
  */
9
  * @package Sucuri
10
  * @subpackage SucuriScanner
11
  * @author Daniel Cid <dcid@sucuri.net>
12
+ * @copyright 2010-2018 Sucuri Inc.
13
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
14
  * @link https://wordpress.org/plugins/sucuri-scanner
15
  */
41
  * @package Sucuri
42
  * @subpackage SucuriScanner
43
  * @author Daniel Cid <dcid@sucuri.net>
44
+ * @copyright 2010-2018 Sucuri Inc.
45
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
46
  * @link https://wordpress.org/plugins/sucuri-scanner
47
  */
696
  * that must be reported, so after the first execution the operation
697
  * falls into an infinite loop.
698
  *
699
+ * @date 30 June, 2018
700
  * @see https://wordpress.org/plugins/postman-smtp/
701
  * @see https://wordpress.org/support/topic/unable-to-access-wordpress-dashboard-after-update-to-1-8-7/
702
  */
src/installer-skin.lib.php CHANGED
@@ -9,7 +9,7 @@
9
  * @package Sucuri
10
  * @subpackage SucuriScanner
11
  * @author Daniel Cid <dcid@sucuri.net>
12
- * @copyright 2010-2017 Sucuri Inc.
13
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
14
  * @link https://wordpress.org/plugins/sucuri-scanner
15
  */
@@ -42,7 +42,7 @@ if (class_exists('SucuriScanInterface') && class_exists('SucuriScanRequest')) {
42
  * @package Sucuri
43
  * @subpackage SucuriScanner
44
  * @author Daniel Cid <dcid@sucuri.net>
45
- * @copyright 2010-2017 Sucuri Inc.
46
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
47
  * @link https://wordpress.org/plugins/sucuri-scanner
48
  */
9
  * @package Sucuri
10
  * @subpackage SucuriScanner
11
  * @author Daniel Cid <dcid@sucuri.net>
12
+ * @copyright 2010-2018 Sucuri Inc.
13
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
14
  * @link https://wordpress.org/plugins/sucuri-scanner
15
  */
42
  * @package Sucuri
43
  * @subpackage SucuriScanner
44
  * @author Daniel Cid <dcid@sucuri.net>
45
+ * @copyright 2010-2018 Sucuri Inc.
46
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
47
  * @link https://wordpress.org/plugins/sucuri-scanner
48
  */
src/integrity.lib.php CHANGED
@@ -9,7 +9,7 @@
9
  * @package Sucuri
10
  * @subpackage SucuriScanner
11
  * @author Daniel Cid <dcid@sucuri.net>
12
- * @copyright 2010-2017 Sucuri Inc.
13
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
14
  * @link https://wordpress.org/plugins/sucuri-scanner
15
  */
@@ -34,7 +34,7 @@ if (!defined('SUCURISCAN_INIT') || SUCURISCAN_INIT !== true) {
34
  * @package Sucuri
35
  * @subpackage SucuriScanner
36
  * @author Daniel Cid <dcid@sucuri.net>
37
- * @copyright 2010-2017 Sucuri Inc.
38
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
39
  * @link https://wordpress.org/plugins/sucuri-scanner
40
  */
9
  * @package Sucuri
10
  * @subpackage SucuriScanner
11
  * @author Daniel Cid <dcid@sucuri.net>
12
+ * @copyright 2010-2018 Sucuri Inc.
13
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
14
  * @link https://wordpress.org/plugins/sucuri-scanner
15
  */
34
  * @package Sucuri
35
  * @subpackage SucuriScanner
36
  * @author Daniel Cid <dcid@sucuri.net>
37
+ * @copyright 2010-2018 Sucuri Inc.
38
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
39
  * @link https://wordpress.org/plugins/sucuri-scanner
40
  */
src/interface.lib.php CHANGED
@@ -9,7 +9,7 @@
9
  * @package Sucuri
10
  * @subpackage SucuriScanner
11
  * @author Daniel Cid <dcid@sucuri.net>
12
- * @copyright 2010-2017 Sucuri Inc.
13
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
14
  * @link https://wordpress.org/plugins/sucuri-scanner
15
  */
@@ -34,7 +34,7 @@ if (!defined('SUCURISCAN_INIT') || SUCURISCAN_INIT !== true) {
34
  * @package Sucuri
35
  * @subpackage SucuriScanner
36
  * @author Daniel Cid <dcid@sucuri.net>
37
- * @copyright 2010-2017 Sucuri Inc.
38
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
39
  * @link https://wordpress.org/plugins/sucuri-scanner
40
  */
@@ -248,7 +248,7 @@ class SucuriScanInterface
248
  * security related newsletter where they can learn about better security
249
  * practices and get alerts from public vulnerabilities disclosures.
250
  *
251
- * @date Featured added at - May 01, 2017
252
  */
253
  self::info('Do you want to get vulnerability disclosures? Subscribe to our newsletter <a href="http://sucuri.hs-sites.com/subscribe-to-security" target="_blank" rel="noopener">here</a>');
254
  }
9
  * @package Sucuri
10
  * @subpackage SucuriScanner
11
  * @author Daniel Cid <dcid@sucuri.net>
12
+ * @copyright 2010-2018 Sucuri Inc.
13
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
14
  * @link https://wordpress.org/plugins/sucuri-scanner
15
  */
34
  * @package Sucuri
35
  * @subpackage SucuriScanner
36
  * @author Daniel Cid <dcid@sucuri.net>
37
+ * @copyright 2010-2018 Sucuri Inc.
38
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
39
  * @link https://wordpress.org/plugins/sucuri-scanner
40
  */
248
  * security related newsletter where they can learn about better security
249
  * practices and get alerts from public vulnerabilities disclosures.
250
  *
251
+ * @date Featured added at - May 01, 2018
252
  */
253
  self::info('Do you want to get vulnerability disclosures? Subscribe to our newsletter <a href="http://sucuri.hs-sites.com/subscribe-to-security" target="_blank" rel="noopener">here</a>');
254
  }
src/lastlogins-failed.php CHANGED
@@ -9,7 +9,7 @@
9
  * @package Sucuri
10
  * @subpackage SucuriScanner
11
  * @author Daniel Cid <dcid@sucuri.net>
12
- * @copyright 2010-2017 Sucuri Inc.
13
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
14
  * @link https://wordpress.org/plugins/sucuri-scanner
15
  */
9
  * @package Sucuri
10
  * @subpackage SucuriScanner
11
  * @author Daniel Cid <dcid@sucuri.net>
12
+ * @copyright 2010-2018 Sucuri Inc.
13
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
14
  * @link https://wordpress.org/plugins/sucuri-scanner
15
  */
src/lastlogins-loggedin.php CHANGED
@@ -9,7 +9,7 @@
9
  * @package Sucuri
10
  * @subpackage SucuriScanner
11
  * @author Daniel Cid <dcid@sucuri.net>
12
- * @copyright 2010-2017 Sucuri Inc.
13
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
14
  * @link https://wordpress.org/plugins/sucuri-scanner
15
  */
9
  * @package Sucuri
10
  * @subpackage SucuriScanner
11
  * @author Daniel Cid <dcid@sucuri.net>
12
+ * @copyright 2010-2018 Sucuri Inc.
13
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
14
  * @link https://wordpress.org/plugins/sucuri-scanner
15
  */
src/lastlogins.php CHANGED
@@ -9,7 +9,7 @@
9
  * @package Sucuri
10
  * @subpackage SucuriScanner
11
  * @author Daniel Cid <dcid@sucuri.net>
12
- * @copyright 2010-2017 Sucuri Inc.
13
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
14
  * @link https://wordpress.org/plugins/sucuri-scanner
15
  */
@@ -29,7 +29,7 @@ if (!defined('SUCURISCAN_INIT') || SUCURISCAN_INIT !== true) {
29
  * @package Sucuri
30
  * @subpackage SucuriScanner
31
  * @author Daniel Cid <dcid@sucuri.net>
32
- * @copyright 2010-2017 Sucuri Inc.
33
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
34
  * @link https://wordpress.org/plugins/sucuri-scanner
35
  */
9
  * @package Sucuri
10
  * @subpackage SucuriScanner
11
  * @author Daniel Cid <dcid@sucuri.net>
12
+ * @copyright 2010-2018 Sucuri Inc.
13
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
14
  * @link https://wordpress.org/plugins/sucuri-scanner
15
  */
29
  * @package Sucuri
30
  * @subpackage SucuriScanner
31
  * @author Daniel Cid <dcid@sucuri.net>
32
+ * @copyright 2010-2018 Sucuri Inc.
33
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
34
  * @link https://wordpress.org/plugins/sucuri-scanner
35
  */
src/mail.lib.php CHANGED
@@ -9,7 +9,7 @@
9
  * @package Sucuri
10
  * @subpackage SucuriScanner
11
  * @author Daniel Cid <dcid@sucuri.net>
12
- * @copyright 2010-2017 Sucuri Inc.
13
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
14
  * @link https://wordpress.org/plugins/sucuri-scanner
15
  */
@@ -34,7 +34,7 @@ if (!defined('SUCURISCAN_INIT') || SUCURISCAN_INIT !== true) {
34
  * @package Sucuri
35
  * @subpackage SucuriScanner
36
  * @author Daniel Cid <dcid@sucuri.net>
37
- * @copyright 2010-2017 Sucuri Inc.
38
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
39
  * @link https://wordpress.org/plugins/sucuri-scanner
40
  */
9
  * @package Sucuri
10
  * @subpackage SucuriScanner
11
  * @author Daniel Cid <dcid@sucuri.net>
12
+ * @copyright 2010-2018 Sucuri Inc.
13
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
14
  * @link https://wordpress.org/plugins/sucuri-scanner
15
  */
34
  * @package Sucuri
35
  * @subpackage SucuriScanner
36
  * @author Daniel Cid <dcid@sucuri.net>
37
+ * @copyright 2010-2018 Sucuri Inc.
38
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
39
  * @link https://wordpress.org/plugins/sucuri-scanner
40
  */
src/option.lib.php CHANGED
@@ -9,7 +9,7 @@
9
  * @package Sucuri
10
  * @subpackage SucuriScanner
11
  * @author Daniel Cid <dcid@sucuri.net>
12
- * @copyright 2010-2017 Sucuri Inc.
13
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
14
  * @link https://wordpress.org/plugins/sucuri-scanner
15
  */
@@ -46,7 +46,7 @@ if (!defined('SUCURISCAN_INIT') || SUCURISCAN_INIT !== true) {
46
  * @package Sucuri
47
  * @subpackage SucuriScanner
48
  * @author Daniel Cid <dcid@sucuri.net>
49
- * @copyright 2010-2017 Sucuri Inc.
50
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
51
  * @link https://wordpress.org/plugins/sucuri-scanner
52
  * @see https://codex.wordpress.org/Option_Reference
9
  * @package Sucuri
10
  * @subpackage SucuriScanner
11
  * @author Daniel Cid <dcid@sucuri.net>
12
+ * @copyright 2010-2018 Sucuri Inc.
13
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
14
  * @link https://wordpress.org/plugins/sucuri-scanner
15
  */
46
  * @package Sucuri
47
  * @subpackage SucuriScanner
48
  * @author Daniel Cid <dcid@sucuri.net>
49
+ * @copyright 2010-2018 Sucuri Inc.
50
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
51
  * @link https://wordpress.org/plugins/sucuri-scanner
52
  * @see https://codex.wordpress.org/Option_Reference
src/pagehandler.php CHANGED
@@ -9,7 +9,7 @@
9
  * @package Sucuri
10
  * @subpackage SucuriScanner
11
  * @author Daniel Cid <dcid@sucuri.net>
12
- * @copyright 2010-2017 Sucuri Inc.
13
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
14
  * @link https://wordpress.org/plugins/sucuri-scanner
15
  */
9
  * @package Sucuri
10
  * @subpackage SucuriScanner
11
  * @author Daniel Cid <dcid@sucuri.net>
12
+ * @copyright 2010-2018 Sucuri Inc.
13
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
14
  * @link https://wordpress.org/plugins/sucuri-scanner
15
  */
src/request.lib.php CHANGED
@@ -9,7 +9,7 @@
9
  * @package Sucuri
10
  * @subpackage SucuriScanner
11
  * @author Daniel Cid <dcid@sucuri.net>
12
- * @copyright 2010-2017 Sucuri Inc.
13
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
14
  * @link https://wordpress.org/plugins/sucuri-scanner
15
  */
@@ -34,7 +34,7 @@ if (!defined('SUCURISCAN_INIT') || SUCURISCAN_INIT !== true) {
34
  * @package Sucuri
35
  * @subpackage SucuriScanner
36
  * @author Daniel Cid <dcid@sucuri.net>
37
- * @copyright 2010-2017 Sucuri Inc.
38
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
39
  * @link https://wordpress.org/plugins/sucuri-scanner
40
  */
9
  * @package Sucuri
10
  * @subpackage SucuriScanner
11
  * @author Daniel Cid <dcid@sucuri.net>
12
+ * @copyright 2010-2018 Sucuri Inc.
13
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
14
  * @link https://wordpress.org/plugins/sucuri-scanner
15
  */
34
  * @package Sucuri
35
  * @subpackage SucuriScanner
36
  * @author Daniel Cid <dcid@sucuri.net>
37
+ * @copyright 2010-2018 Sucuri Inc.
38
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
39
  * @link https://wordpress.org/plugins/sucuri-scanner
40
  */
src/settings-alerts.php CHANGED
@@ -9,7 +9,7 @@
9
  * @package Sucuri
10
  * @subpackage SucuriScanner
11
  * @author Daniel Cid <dcid@sucuri.net>
12
- * @copyright 2010-2017 Sucuri Inc.
13
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
14
  * @link https://wordpress.org/plugins/sucuri-scanner
15
  */
@@ -433,7 +433,7 @@ function sucuriscan_settings_alerts_events($nonce)
433
  * in the posts and the other plugin creates temporary post objects to track
434
  * the emails.
435
  *
436
- * @date 30 June, 2017
437
  * @see https://wordpress.org/plugins/postman-smtp/
438
  * @see https://wordpress.org/support/topic/unable-to-access-wordpress-dashboard-after-update-to-1-8-7/
439
  */
9
  * @package Sucuri
10
  * @subpackage SucuriScanner
11
  * @author Daniel Cid <dcid@sucuri.net>
12
+ * @copyright 2010-2018 Sucuri Inc.
13
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
14
  * @link https://wordpress.org/plugins/sucuri-scanner
15
  */
433
  * in the posts and the other plugin creates temporary post objects to track
434
  * the emails.
435
  *
436
+ * @date 30 June, 2018
437
  * @see https://wordpress.org/plugins/postman-smtp/
438
  * @see https://wordpress.org/support/topic/unable-to-access-wordpress-dashboard-after-update-to-1-8-7/
439
  */
src/settings-apiservice.php CHANGED
@@ -9,7 +9,7 @@
9
  * @package Sucuri
10
  * @subpackage SucuriScanner
11
  * @author Daniel Cid <dcid@sucuri.net>
12
- * @copyright 2010-2017 Sucuri Inc.
13
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
14
  * @link https://wordpress.org/plugins/sucuri-scanner
15
  */
9
  * @package Sucuri
10
  * @subpackage SucuriScanner
11
  * @author Daniel Cid <dcid@sucuri.net>
12
+ * @copyright 2010-2018 Sucuri Inc.
13
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
14
  * @link https://wordpress.org/plugins/sucuri-scanner
15
  */
src/settings-general.php CHANGED
@@ -9,7 +9,7 @@
9
  * @package Sucuri
10
  * @subpackage SucuriScanner
11
  * @author Daniel Cid <dcid@sucuri.net>
12
- * @copyright 2010-2017 Sucuri Inc.
13
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
14
  * @link https://wordpress.org/plugins/sucuri-scanner
15
  */
@@ -95,14 +95,20 @@ function sucuriscan_settings_general_apikey($nonce)
95
  $user_obj = SucuriScan::getUserByID($user_id);
96
 
97
  if ($user_obj && user_can($user_obj, 'administrator')) {
98
- // Send request to generate new API key or display form to set manually.
99
- if (SucuriScanAPI::registerSite($user_obj->user_email)) {
100
- $api_registered_modal = SucuriScanTemplate::getModal(
101
- 'settings-apiregistered',
102
- array('Title' => 'Site registered successfully')
103
- );
104
  } else {
105
- $display_manual_key_form = true;
 
 
 
 
 
 
 
 
106
  }
107
  }
108
  }
9
  * @package Sucuri
10
  * @subpackage SucuriScanner
11
  * @author Daniel Cid <dcid@sucuri.net>
12
+ * @copyright 2010-2018 Sucuri Inc.
13
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
14
  * @link https://wordpress.org/plugins/sucuri-scanner
15
  */
95
  $user_obj = SucuriScan::getUserByID($user_id);
96
 
97
  if ($user_obj && user_can($user_obj, 'administrator')) {
98
+ // Check consent
99
+ if (SucuriScanRequest::post(':consent_tos') != 1 || SucuriScanRequest::post(':consent_storage') != 1) {
100
+ SucuriScanInterface::error('You must accept the Terms of Service in order to request an API key.');
101
+ unset($_POST['sucuriscan_dns_lookups']);
 
 
102
  } else {
103
+ // Send request to generate new API key or display form to set manually.
104
+ if (SucuriScanAPI::registerSite($user_obj->user_email)) {
105
+ $api_registered_modal = SucuriScanTemplate::getModal(
106
+ 'settings-apiregistered',
107
+ array('Title' => 'Site registered successfully')
108
+ );
109
+ } else {
110
+ $display_manual_key_form = true;
111
+ }
112
  }
113
  }
114
  }
src/settings-hardening.php CHANGED
@@ -9,7 +9,7 @@
9
  * @package Sucuri
10
  * @subpackage SucuriScanner
11
  * @author Daniel Cid <dcid@sucuri.net>
12
- * @copyright 2010-2017 Sucuri Inc.
13
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
14
  * @link https://wordpress.org/plugins/sucuri-scanner
15
  */
@@ -29,7 +29,7 @@ if (!defined('SUCURISCAN_INIT') || SUCURISCAN_INIT !== true) {
29
  * @package Sucuri
30
  * @subpackage SucuriScanner
31
  * @author Daniel Cid <dcid@sucuri.net>
32
- * @copyright 2010-2017 Sucuri Inc.
33
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
34
  * @link https://wordpress.org/plugins/sucuri-scanner
35
  */
9
  * @package Sucuri
10
  * @subpackage SucuriScanner
11
  * @author Daniel Cid <dcid@sucuri.net>
12
+ * @copyright 2010-2018 Sucuri Inc.
13
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
14
  * @link https://wordpress.org/plugins/sucuri-scanner
15
  */
29
  * @package Sucuri
30
  * @subpackage SucuriScanner
31
  * @author Daniel Cid <dcid@sucuri.net>
32
+ * @copyright 2010-2018 Sucuri Inc.
33
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
34
  * @link https://wordpress.org/plugins/sucuri-scanner
35
  */
src/settings-integrity.php CHANGED
@@ -9,7 +9,7 @@
9
  * @package Sucuri
10
  * @subpackage SucuriScanner
11
  * @author Daniel Cid <dcid@sucuri.net>
12
- * @copyright 2010-2017 Sucuri Inc.
13
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
14
  * @link https://wordpress.org/plugins/sucuri-scanner
15
  */
@@ -35,7 +35,7 @@ if (!defined('SUCURISCAN_INIT') || SUCURISCAN_INIT !== true) {
35
  * @package Sucuri
36
  * @subpackage SucuriScanner
37
  * @author Daniel Cid <dcid@sucuri.net>
38
- * @copyright 2010-2017 Sucuri Inc.
39
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
40
  * @link https://wordpress.org/plugins/sucuri-scanner
41
  */
@@ -101,7 +101,7 @@ class SucuriScanSettingsIntegrity extends SucuriScanSettings
101
  $deletedFiles = array();
102
  $files = SucuriScanRequest::post(':corefile_path', '_array');
103
 
104
- foreach ($files as $path) {
105
  if ($cache->delete(md5($path))) {
106
  $deletedFiles[] = $path;
107
  }
9
  * @package Sucuri
10
  * @subpackage SucuriScanner
11
  * @author Daniel Cid <dcid@sucuri.net>
12
+ * @copyright 2010-2018 Sucuri Inc.
13
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
14
  * @link https://wordpress.org/plugins/sucuri-scanner
15
  */
35
  * @package Sucuri
36
  * @subpackage SucuriScanner
37
  * @author Daniel Cid <dcid@sucuri.net>
38
+ * @copyright 2010-2018 Sucuri Inc.
39
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
40
  * @link https://wordpress.org/plugins/sucuri-scanner
41
  */
101
  $deletedFiles = array();
102
  $files = SucuriScanRequest::post(':corefile_path', '_array');
103
 
104
+ foreach ((array) $files as $path) {
105
  if ($cache->delete(md5($path))) {
106
  $deletedFiles[] = $path;
107
  }
src/settings-posthack.php CHANGED
@@ -9,7 +9,7 @@
9
  * @package Sucuri
10
  * @subpackage SucuriScanner
11
  * @author Daniel Cid <dcid@sucuri.net>
12
- * @copyright 2010-2017 Sucuri Inc.
13
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
14
  * @link https://wordpress.org/plugins/sucuri-scanner
15
  */
@@ -33,7 +33,7 @@ if (!defined('SUCURISCAN_INIT') || SUCURISCAN_INIT !== true) {
33
  * @package Sucuri
34
  * @subpackage SucuriScanner
35
  * @author Daniel Cid <dcid@sucuri.net>
36
- * @copyright 2010-2017 Sucuri Inc.
37
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
38
  * @link https://wordpress.org/plugins/sucuri-scanner
39
  */
9
  * @package Sucuri
10
  * @subpackage SucuriScanner
11
  * @author Daniel Cid <dcid@sucuri.net>
12
+ * @copyright 2010-2018 Sucuri Inc.
13
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
14
  * @link https://wordpress.org/plugins/sucuri-scanner
15
  */
33
  * @package Sucuri
34
  * @subpackage SucuriScanner
35
  * @author Daniel Cid <dcid@sucuri.net>
36
+ * @copyright 2010-2018 Sucuri Inc.
37
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
38
  * @link https://wordpress.org/plugins/sucuri-scanner
39
  */
src/settings-scanner.php CHANGED
@@ -9,7 +9,7 @@
9
  * @package Sucuri
10
  * @subpackage SucuriScanner
11
  * @author Daniel Cid <dcid@sucuri.net>
12
- * @copyright 2010-2017 Sucuri Inc.
13
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
14
  * @link https://wordpress.org/plugins/sucuri-scanner
15
  */
@@ -29,7 +29,7 @@ if (!defined('SUCURISCAN_INIT') || SUCURISCAN_INIT !== true) {
29
  * @package Sucuri
30
  * @subpackage SucuriScanner
31
  * @author Daniel Cid <dcid@sucuri.net>
32
- * @copyright 2010-2017 Sucuri Inc.
33
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
34
  * @link https://wordpress.org/plugins/sucuri-scanner
35
  */
9
  * @package Sucuri
10
  * @subpackage SucuriScanner
11
  * @author Daniel Cid <dcid@sucuri.net>
12
+ * @copyright 2010-2018 Sucuri Inc.
13
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
14
  * @link https://wordpress.org/plugins/sucuri-scanner
15
  */
29
  * @package Sucuri
30
  * @subpackage SucuriScanner
31
  * @author Daniel Cid <dcid@sucuri.net>
32
+ * @copyright 2010-2018 Sucuri Inc.
33
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
34
  * @link https://wordpress.org/plugins/sucuri-scanner
35
  */
src/settings-webinfo.php CHANGED
@@ -9,7 +9,7 @@
9
  * @package Sucuri
10
  * @subpackage SucuriScanner
11
  * @author Daniel Cid <dcid@sucuri.net>
12
- * @copyright 2010-2017 Sucuri Inc.
13
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
14
  * @link https://wordpress.org/plugins/sucuri-scanner
15
  */
9
  * @package Sucuri
10
  * @subpackage SucuriScanner
11
  * @author Daniel Cid <dcid@sucuri.net>
12
+ * @copyright 2010-2018 Sucuri Inc.
13
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
14
  * @link https://wordpress.org/plugins/sucuri-scanner
15
  */
src/settings.php CHANGED
@@ -9,7 +9,7 @@
9
  * @package Sucuri
10
  * @subpackage SucuriScanner
11
  * @author Daniel Cid <dcid@sucuri.net>
12
- * @copyright 2010-2017 Sucuri Inc.
13
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
14
  * @link https://wordpress.org/plugins/sucuri-scanner
15
  */
@@ -29,7 +29,7 @@ if (!defined('SUCURISCAN_INIT') || SUCURISCAN_INIT !== true) {
29
  * @package Sucuri
30
  * @subpackage SucuriScanner
31
  * @author Daniel Cid <dcid@sucuri.net>
32
- * @copyright 2010-2017 Sucuri Inc.
33
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
34
  * @link https://wordpress.org/plugins/sucuri-scanner
35
  */
9
  * @package Sucuri
10
  * @subpackage SucuriScanner
11
  * @author Daniel Cid <dcid@sucuri.net>
12
+ * @copyright 2010-2018 Sucuri Inc.
13
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
14
  * @link https://wordpress.org/plugins/sucuri-scanner
15
  */
29
  * @package Sucuri
30
  * @subpackage SucuriScanner
31
  * @author Daniel Cid <dcid@sucuri.net>
32
+ * @copyright 2010-2018 Sucuri Inc.
33
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
34
  * @link https://wordpress.org/plugins/sucuri-scanner
35
  */
src/sitecheck.lib.php CHANGED
@@ -9,7 +9,7 @@
9
  * @package Sucuri
10
  * @subpackage SucuriScanner
11
  * @author Daniel Cid <dcid@sucuri.net>
12
- * @copyright 2010-2017 Sucuri Inc.
13
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
14
  * @link https://wordpress.org/plugins/sucuri-scanner
15
  */
@@ -38,7 +38,7 @@ if (!defined('SUCURISCAN_INIT') || SUCURISCAN_INIT !== true) {
38
  * @package Sucuri
39
  * @subpackage SucuriScanner
40
  * @author Daniel Cid <dcid@sucuri.net>
41
- * @copyright 2010-2017 Sucuri Inc.
42
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
43
  * @link https://wordpress.org/plugins/sucuri-scanner
44
  * @see https://sitecheck.sucuri.net/
9
  * @package Sucuri
10
  * @subpackage SucuriScanner
11
  * @author Daniel Cid <dcid@sucuri.net>
12
+ * @copyright 2010-2018 Sucuri Inc.
13
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
14
  * @link https://wordpress.org/plugins/sucuri-scanner
15
  */
38
  * @package Sucuri
39
  * @subpackage SucuriScanner
40
  * @author Daniel Cid <dcid@sucuri.net>
41
+ * @copyright 2010-2018 Sucuri Inc.
42
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
43
  * @link https://wordpress.org/plugins/sucuri-scanner
44
  * @see https://sitecheck.sucuri.net/
src/template.lib.php CHANGED
@@ -9,7 +9,7 @@
9
  * @package Sucuri
10
  * @subpackage SucuriScanner
11
  * @author Daniel Cid <dcid@sucuri.net>
12
- * @copyright 2010-2017 Sucuri Inc.
13
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
14
  * @link https://wordpress.org/plugins/sucuri-scanner
15
  */
@@ -39,7 +39,7 @@ if (!defined('SUCURISCAN_INIT') || SUCURISCAN_INIT !== true) {
39
  * @package Sucuri
40
  * @subpackage SucuriScanner
41
  * @author Daniel Cid <dcid@sucuri.net>
42
- * @copyright 2010-2017 Sucuri Inc.
43
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
44
  * @link https://wordpress.org/plugins/sucuri-scanner
45
  */
9
  * @package Sucuri
10
  * @subpackage SucuriScanner
11
  * @author Daniel Cid <dcid@sucuri.net>
12
+ * @copyright 2010-2018 Sucuri Inc.
13
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
14
  * @link https://wordpress.org/plugins/sucuri-scanner
15
  */
39
  * @package Sucuri
40
  * @subpackage SucuriScanner
41
  * @author Daniel Cid <dcid@sucuri.net>
42
+ * @copyright 2010-2018 Sucuri Inc.
43
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
44
  * @link https://wordpress.org/plugins/sucuri-scanner
45
  */
sucuri.php CHANGED
@@ -6,7 +6,7 @@
6
  * Plugin URI: https://wordpress.sucuri.net/
7
  * Author URI: https://sucuri.net/
8
  * Author: Sucuri Inc.
9
- * Version: 1.8.15
10
  *
11
  * PHP version 5
12
  *
@@ -14,7 +14,7 @@
14
  * @package Sucuri
15
  * @subpackage SucuriScanner
16
  * @author Daniel Cid <dcid@sucuri.net>
17
- * @copyright 2010-2017 Sucuri Inc.
18
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
19
  * @link https://wordpress.org/plugins/sucuri-scanner
20
  */
@@ -83,7 +83,7 @@ define('SUCURISCAN', 'sucuriscan');
83
  /**
84
  * Current version of the plugin's code.
85
  */
86
- define('SUCURISCAN_VERSION', '1.8.15');
87
 
88
  /**
89
  * Defines the human readable name of the plugin.
6
  * Plugin URI: https://wordpress.sucuri.net/
7
  * Author URI: https://sucuri.net/
8
  * Author: Sucuri Inc.
9
+ * Version: 1.8.16
10
  *
11
  * PHP version 5
12
  *
14
  * @package Sucuri
15
  * @subpackage SucuriScanner
16
  * @author Daniel Cid <dcid@sucuri.net>
17
+ * @copyright 2010-2018 Sucuri Inc.
18
  * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
19
  * @link https://wordpress.org/plugins/sucuri-scanner
20
  */
83
  /**
84
  * Current version of the plugin's code.
85
  */
86
+ define('SUCURISCAN_VERSION', '1.8.16');
87
 
88
  /**
89
  * Defines the human readable name of the plugin.