Permalink
Browse files

add plugin sucuri-scanner

  • Loading branch information...
diegoaceneves committed Nov 29, 2016
1 parent 25f3f6a commit d3531f5a77d8e0e69b20a6104400193218fd7fe4
Showing with 21,073 additions and 0 deletions.
  1. +8 −0 wp-content/plugins/sucuri-scanner/.htaccess
  2. +340 −0 wp-content/plugins/sucuri-scanner/LICENSE
  3. +1 −0 wp-content/plugins/sucuri-scanner/inc/css/index.html
  4. +1 −0 wp-content/plugins/sucuri-scanner/inc/css/sucuri-scanner.min.css
  5. BIN wp-content/plugins/sucuri-scanner/inc/images/antivirus-logo-x42.png
  6. BIN wp-content/plugins/sucuri-scanner/inc/images/blank.png
  7. BIN wp-content/plugins/sucuri-scanner/inc/images/cloudproxy-logo-x42.png
  8. BIN wp-content/plugins/sucuri-scanner/inc/images/flags.sprite.png
  9. +1 −0 wp-content/plugins/sucuri-scanner/inc/images/index.html
  10. BIN wp-content/plugins/sucuri-scanner/inc/images/logo.png
  11. BIN wp-content/plugins/sucuri-scanner/inc/images/main-logo.png
  12. BIN wp-content/plugins/sucuri-scanner/inc/images/menu-icon.png
  13. BIN wp-content/plugins/sucuri-scanner/inc/images/sucuri-website.png
  14. +1 −0 wp-content/plugins/sucuri-scanner/inc/index.html
  15. +5 −0 wp-content/plugins/sucuri-scanner/inc/js/c3.min.js
  16. +5 −0 wp-content/plugins/sucuri-scanner/inc/js/d3.min.js
  17. +1 −0 wp-content/plugins/sucuri-scanner/inc/js/index.html
  18. +1 −0 wp-content/plugins/sucuri-scanner/inc/js/sucuri-scanner.min.js
  19. +43 −0 wp-content/plugins/sucuri-scanner/inc/tpl/base.html.tpl
  20. +67 −0 wp-content/plugins/sucuri-scanner/inc/tpl/bsidebar.html.tpl
  21. +54 −0 wp-content/plugins/sucuri-scanner/inc/tpl/corefiles-notification.html.tpl
  22. +39 −0 wp-content/plugins/sucuri-scanner/inc/tpl/corefiles-page.html.tpl
  23. +88 −0 wp-content/plugins/sucuri-scanner/inc/tpl/corefiles.html.tpl
  24. +14 −0 wp-content/plugins/sucuri-scanner/inc/tpl/corefiles.snippet.tpl
  25. +73 −0 wp-content/plugins/sucuri-scanner/inc/tpl/firewall-auditlogs.html.tpl
  26. +43 −0 wp-content/plugins/sucuri-scanner/inc/tpl/firewall-auditlogs.snippet.tpl
  27. +59 −0 wp-content/plugins/sucuri-scanner/inc/tpl/firewall-clearcache.html.tpl
  28. +65 −0 wp-content/plugins/sucuri-scanner/inc/tpl/firewall-settings.html.tpl
  29. +5 −0 wp-content/plugins/sucuri-scanner/inc/tpl/firewall-settings.snippet.tpl
  30. +28 −0 wp-content/plugins/sucuri-scanner/inc/tpl/firewall.html.tpl
  31. +35 −0 wp-content/plugins/sucuri-scanner/inc/tpl/hardening-panel.html.tpl
  32. +96 −0 wp-content/plugins/sucuri-scanner/inc/tpl/hardening-whitelist.html.tpl
  33. +9 −0 wp-content/plugins/sucuri-scanner/inc/tpl/hardening-whitelist.snippet.tpl
  34. +37 −0 wp-content/plugins/sucuri-scanner/inc/tpl/hardening.html.tpl
  35. +19 −0 wp-content/plugins/sucuri-scanner/inc/tpl/hardening.snippet.tpl
  36. +1 −0 wp-content/plugins/sucuri-scanner/inc/tpl/index.html
  37. +62 −0 wp-content/plugins/sucuri-scanner/inc/tpl/infosys-cronjobs.html.tpl
  38. +10 −0 wp-content/plugins/sucuri-scanner/inc/tpl/infosys-cronjobs.snippet.tpl
  39. +24 −0 wp-content/plugins/sucuri-scanner/inc/tpl/infosys-errorlogs-flimit.html.tpl
  40. +61 −0 wp-content/plugins/sucuri-scanner/inc/tpl/infosys-errorlogs-freader.html.tpl
  41. +23 −0 wp-content/plugins/sucuri-scanner/inc/tpl/infosys-errorlogs-status.html.tpl
  42. +8 −0 wp-content/plugins/sucuri-scanner/inc/tpl/infosys-errorlogs.html.tpl
  43. +8 −0 wp-content/plugins/sucuri-scanner/inc/tpl/infosys-errorlogs.snippet.tpl
  44. +41 −0 wp-content/plugins/sucuri-scanner/inc/tpl/infosys-htaccess.html.tpl
  45. +6 −0 wp-content/plugins/sucuri-scanner/inc/tpl/infosys-serverinfo.html.tpl
  46. +5 −0 wp-content/plugins/sucuri-scanner/inc/tpl/infosys-serverinfo.snippet.tpl
  47. +13 −0 wp-content/plugins/sucuri-scanner/inc/tpl/infosys-wpconfig.html.tpl
  48. +5 −0 wp-content/plugins/sucuri-scanner/inc/tpl/infosys-wpconfig.snippet.tpl
  49. +42 −0 wp-content/plugins/sucuri-scanner/inc/tpl/infosys.html.tpl
  50. +102 −0 wp-content/plugins/sucuri-scanner/inc/tpl/integrity-auditlogs.html.tpl
  51. +15 −0 wp-content/plugins/sucuri-scanner/inc/tpl/integrity-auditlogs.snippet.tpl
  52. +109 −0 wp-content/plugins/sucuri-scanner/inc/tpl/integrity-auditreport.html.tpl
  53. +88 −0 wp-content/plugins/sucuri-scanner/inc/tpl/integrity-modifiedfiles.html.tpl
  54. +6 −0 wp-content/plugins/sucuri-scanner/inc/tpl/integrity-modifiedfiles.snippet.tpl
  55. +10 −0 wp-content/plugins/sucuri-scanner/inc/tpl/integrity-wpoutdate.html.tpl
  56. +10 −0 wp-content/plugins/sucuri-scanner/inc/tpl/integrity.html.tpl
  57. +5 −0 wp-content/plugins/sucuri-scanner/inc/tpl/lastlogins-admins-lastlogin.snippet.tpl
  58. +15 −0 wp-content/plugins/sucuri-scanner/inc/tpl/lastlogins-admins.html.tpl
  59. +25 −0 wp-content/plugins/sucuri-scanner/inc/tpl/lastlogins-admins.snippet.tpl
  60. +42 −0 wp-content/plugins/sucuri-scanner/inc/tpl/lastlogins-all.html.tpl
  61. +9 −0 wp-content/plugins/sucuri-scanner/inc/tpl/lastlogins-all.snippet.tpl
  62. +65 −0 wp-content/plugins/sucuri-scanner/inc/tpl/lastlogins-blockedusers.html.tpl
  63. +10 −0 wp-content/plugins/sucuri-scanner/inc/tpl/lastlogins-blockedusers.snippet.tpl
  64. +93 −0 wp-content/plugins/sucuri-scanner/inc/tpl/lastlogins-failedlogins.html.tpl
  65. +11 −0 wp-content/plugins/sucuri-scanner/inc/tpl/lastlogins-failedlogins.snippet.tpl
  66. +20 −0 wp-content/plugins/sucuri-scanner/inc/tpl/lastlogins-loggedin.html.tpl
  67. +11 −0 wp-content/plugins/sucuri-scanner/inc/tpl/lastlogins-loggedin.snippet.tpl
  68. +42 −0 wp-content/plugins/sucuri-scanner/inc/tpl/lastlogins.html.tpl
  69. +5 −0 wp-content/plugins/sucuri-scanner/inc/tpl/malwarescan-appdetail.snippet.tpl
  70. +8 −0 wp-content/plugins/sucuri-scanner/inc/tpl/malwarescan-outdated.snippet.tpl
  71. +11 −0 wp-content/plugins/sucuri-scanner/inc/tpl/malwarescan-recommendation.snippet.tpl
  72. +14 −0 wp-content/plugins/sucuri-scanner/inc/tpl/malwarescan-resblacklist.html.tpl
  73. +12 −0 wp-content/plugins/sucuri-scanner/inc/tpl/malwarescan-resblacklist.snippet.tpl
  74. +114 −0 wp-content/plugins/sucuri-scanner/inc/tpl/malwarescan-resmalware.html.tpl
  75. +25 −0 wp-content/plugins/sucuri-scanner/inc/tpl/malwarescan-resmalware.snippet.tpl
  76. +49 −0 wp-content/plugins/sucuri-scanner/inc/tpl/malwarescan-results.html.tpl
  77. +45 −0 wp-content/plugins/sucuri-scanner/inc/tpl/malwarescan-reswebdetails.html.tpl
  78. +10 −0 wp-content/plugins/sucuri-scanner/inc/tpl/malwarescan-resweblinks.html.tpl
  79. +6 −0 wp-content/plugins/sucuri-scanner/inc/tpl/malwarescan-sysnotice.snippet.tpl
  80. +6 −0 wp-content/plugins/sucuri-scanner/inc/tpl/malwarescan-weblinkitems.snippet.tpl
  81. +9 −0 wp-content/plugins/sucuri-scanner/inc/tpl/malwarescan-weblinktitle.snippet.tpl
  82. +37 −0 wp-content/plugins/sucuri-scanner/inc/tpl/malwarescan.html.tpl
  83. +19 −0 wp-content/plugins/sucuri-scanner/inc/tpl/modalwindow.html.tpl
  84. +5 −0 wp-content/plugins/sucuri-scanner/inc/tpl/notification-admin.html.tpl
  85. +31 −0 wp-content/plugins/sucuri-scanner/inc/tpl/notification-pretty.html.tpl
  86. +11 −0 wp-content/plugins/sucuri-scanner/inc/tpl/notification-resetpwd.html.tpl
  87. +12 −0 wp-content/plugins/sucuri-scanner/inc/tpl/notification-simple.html.tpl
  88. +63 −0 wp-content/plugins/sucuri-scanner/inc/tpl/posthack-resetpassword.html.tpl
  89. +10 −0 wp-content/plugins/sucuri-scanner/inc/tpl/posthack-resetpassword.snippet.tpl
  90. +74 −0 wp-content/plugins/sucuri-scanner/inc/tpl/posthack-resetplugins.html.tpl
  91. +12 −0 wp-content/plugins/sucuri-scanner/inc/tpl/posthack-resetplugins.snippet.tpl
  92. +36 −0 wp-content/plugins/sucuri-scanner/inc/tpl/posthack-updates-notification.html.tpl
  93. +46 −0 wp-content/plugins/sucuri-scanner/inc/tpl/posthack-updates.html.tpl
  94. +12 −0 wp-content/plugins/sucuri-scanner/inc/tpl/posthack-updates.snippet.tpl
  95. +53 −0 wp-content/plugins/sucuri-scanner/inc/tpl/posthack-updatesecretkeys.html.tpl
  96. +6 −0 wp-content/plugins/sucuri-scanner/inc/tpl/posthack-updatesecretkeys.snippet.tpl
  97. +35 −0 wp-content/plugins/sucuri-scanner/inc/tpl/posthack.html.tpl
  98. +35 −0 wp-content/plugins/sucuri-scanner/inc/tpl/settings-alert-bruteforce.html.tpl
  99. +46 −0 wp-content/plugins/sucuri-scanner/inc/tpl/settings-alert-events.html.tpl
  100. +10 −0 wp-content/plugins/sucuri-scanner/inc/tpl/settings-alert-events.snippet.tpl
  101. +35 −0 wp-content/plugins/sucuri-scanner/inc/tpl/settings-alert-perhour.html.tpl
  102. +58 −0 wp-content/plugins/sucuri-scanner/inc/tpl/settings-alert-recipients.html.tpl
  103. +9 −0 wp-content/plugins/sucuri-scanner/inc/tpl/settings-alert-recipients.snippet.tpl
  104. +34 −0 wp-content/plugins/sucuri-scanner/inc/tpl/settings-alert-subject.html.tpl
  105. +8 −0 wp-content/plugins/sucuri-scanner/inc/tpl/settings-alert-subject.snippet.tpl
  106. +12 −0 wp-content/plugins/sucuri-scanner/inc/tpl/settings-alert.html.tpl
  107. +29 −0 wp-content/plugins/sucuri-scanner/inc/tpl/settings-apirecovery.html.tpl
  108. +25 −0 wp-content/plugins/sucuri-scanner/inc/tpl/settings-apiregistered.html.tpl
  109. +25 −0 wp-content/plugins/sucuri-scanner/inc/tpl/settings-apiservice-handler.html.tpl
  110. +105 −0 wp-content/plugins/sucuri-scanner/inc/tpl/settings-apiservice-protocol.html.tpl
  111. +8 −0 wp-content/plugins/sucuri-scanner/inc/tpl/settings-apiservice-protocol.snippet.tpl
  112. +23 −0 wp-content/plugins/sucuri-scanner/inc/tpl/settings-apiservice-proxy.html.tpl
  113. +38 −0 wp-content/plugins/sucuri-scanner/inc/tpl/settings-apiservice-ssl.html.tpl
  114. +44 −0 wp-content/plugins/sucuri-scanner/inc/tpl/settings-apiservice-status.html.tpl
  115. +40 −0 wp-content/plugins/sucuri-scanner/inc/tpl/settings-apiservice-timeout.html.tpl
  116. +14 −0 wp-content/plugins/sucuri-scanner/inc/tpl/settings-apiservice.html.tpl
  117. +42 −0 wp-content/plugins/sucuri-scanner/inc/tpl/settings-corefiles-cache.html.tpl
  118. +6 −0 wp-content/plugins/sucuri-scanner/inc/tpl/settings-corefiles-cache.snippet.tpl
  119. +40 −0 wp-content/plugins/sucuri-scanner/inc/tpl/settings-corefiles-language.html.tpl
  120. +42 −0 wp-content/plugins/sucuri-scanner/inc/tpl/settings-corefiles-status.html.tpl
  121. +11 −0 wp-content/plugins/sucuri-scanner/inc/tpl/settings-datastorage-files.snippet.tpl
  122. +69 −0 wp-content/plugins/sucuri-scanner/inc/tpl/settings-general-apikey.html.tpl
  123. +40 −0 wp-content/plugins/sucuri-scanner/inc/tpl/settings-general-auditlogstats.html.tpl
  124. +38 −0 wp-content/plugins/sucuri-scanner/inc/tpl/settings-general-commentmonitor.html.tpl
  125. +68 −0 wp-content/plugins/sucuri-scanner/inc/tpl/settings-general-datastorage.html.tpl
  126. +21 −0 wp-content/plugins/sucuri-scanner/inc/tpl/settings-general-datetime.html.tpl
  127. +73 −0 wp-content/plugins/sucuri-scanner/inc/tpl/settings-general-ipdiscoverer.html.tpl
  128. +39 −0 wp-content/plugins/sucuri-scanner/inc/tpl/settings-general-pwdcollector.html.tpl
  129. +38 −0 wp-content/plugins/sucuri-scanner/inc/tpl/settings-general-resetoptions.html.tpl
  130. +47 −0 wp-content/plugins/sucuri-scanner/inc/tpl/settings-general-reverseproxy.html.tpl
  131. +45 −0 wp-content/plugins/sucuri-scanner/inc/tpl/settings-general-xhrmonitor.html.tpl
  132. +22 −0 wp-content/plugins/sucuri-scanner/inc/tpl/settings-general.html.tpl
  133. +84 −0 wp-content/plugins/sucuri-scanner/inc/tpl/settings-heartbeat.html.tpl
  134. +49 −0 wp-content/plugins/sucuri-scanner/inc/tpl/settings-ignorerules.html.tpl
  135. +15 −0 wp-content/plugins/sucuri-scanner/inc/tpl/settings-ignorerules.snippet.tpl
  136. +20 −0 wp-content/plugins/sucuri-scanner/inc/tpl/settings-ignorescan-files.html.tpl
  137. +59 −0 wp-content/plugins/sucuri-scanner/inc/tpl/settings-ignorescan-folders.html.tpl
  138. +25 −0 wp-content/plugins/sucuri-scanner/inc/tpl/settings-ignorescan-status.html.tpl
  139. +8 −0 wp-content/plugins/sucuri-scanner/inc/tpl/settings-ignorescan.html.tpl
  140. +8 −0 wp-content/plugins/sucuri-scanner/inc/tpl/settings-ignorescan.snippet.tpl
  141. +145 −0 wp-content/plugins/sucuri-scanner/inc/tpl/settings-scanner.html.tpl
  142. +56 −0 wp-content/plugins/sucuri-scanner/inc/tpl/settings-selfhosting-monitor.html.tpl
  143. +4 −0 wp-content/plugins/sucuri-scanner/inc/tpl/settings-selfhosting.html.tpl
  144. +23 −0 wp-content/plugins/sucuri-scanner/inc/tpl/settings-sitecheck-cache.html.tpl
  145. +56 −0 wp-content/plugins/sucuri-scanner/inc/tpl/settings-sitecheck-status.html.tpl
  146. +43 −0 wp-content/plugins/sucuri-scanner/inc/tpl/settings-sitecheck-timeout.html.tpl
  147. +58 −0 wp-content/plugins/sucuri-scanner/inc/tpl/settings-trustip.html.tpl
  148. +9 −0 wp-content/plugins/sucuri-scanner/inc/tpl/settings-trustip.snippet.tpl
  149. +70 −0 wp-content/plugins/sucuri-scanner/inc/tpl/settings.html.tpl
  150. +70 −0 wp-content/plugins/sucuri-scanner/inc/tpl/setup-form.html.tpl
  151. +20 −0 wp-content/plugins/sucuri-scanner/inc/tpl/setup-notice.html.tpl
  152. +1 −0 wp-content/plugins/sucuri-scanner/index.html
  153. +647 −0 wp-content/plugins/sucuri-scanner/readme.txt
  154. +15,331 −0 wp-content/plugins/sucuri-scanner/sucuri.php
  155. +122 −0 wp-content/plugins/sucuri-scanner/uninstall.php
@@ -0,0 +1,8 @@
Order Deny,Allow
Deny from all
<FilesMatch "\.(gif|jpe?g|png|css|js)$">
Order Allow,Deny
Allow from all
</FilesMatch>

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -0,0 +1 @@
<!-- Avoid the directory listing. -->

Large diffs are not rendered by default.

Oops, something went wrong.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
<!-- Avoid the directory listing. -->
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
<!-- Avoid the directory listing. -->

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -0,0 +1 @@
<!-- Avoid the directory listing. -->

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -0,0 +1,43 @@
<div class="wrap sucuriscan-wrap">
<h2 id="warnings_hook"></h2>
<div class="sucuriscan-header sucuriscan-clearfix">
<a href="https://sucuri.net/signup" target="_blank" title="Sucuri Security" class="sucuriscan-logo">
<img src="%%SUCURI.SucuriURL%%/inc/images/logo.png" alt="Sucuri Security" />
</a>
<h2>Sucuri Security %%SUCURI.PageTitle%%</h2>
<a class="button button-hero button-primary sucuriscan-review-hero"
href="https://goo.gl/aByqP5" target="_blank">Review Plugin</a>
</div>
<h2 class="nav-tab-wrapper sucuriscan-navbar">
%%%SUCURI.Navbar%%%
</h2>
<div class="sucuriscan-maincontent sucuriscan-clearfix">
<div class="sucuriscan-leftside sucuriscan-%%SUCURI.LayoutType%% sucuriscan-%%SUCURI.PageStyleClass%%">
%%%SUCURI.PageContent%%%
</div>
%%%SUCURI.PageSidebarContent%%%
</div>
<div class="sucuriscan-footer sucuriscan-clearfix">
<a href="https://sucuri.net/signup" target="_blank" title="Sucuri Security" class="sucuriscan-logo">
<img src="%%SUCURI.SucuriURL%%/inc/images/logo.png" alt="Sucuri Security" />
</a>
<div class="sucuriscan-help">
<p>
If you have any questions about these checks or this plugin, contact us at
<a href="mailto:info@sucuri.net">info@sucuri.net</a> or visit
<a href="https://sucuri.net/" target="_blank">sucuri.net</a>
</p>
</div>
</div>
</div>
@@ -0,0 +1,67 @@
<div class="sucuriscan-sidebar sucuriscan-%%SUCURI.AdsVisibility%%">
<div class="sucuriscan-ad sucuriscan-ad-firewall">
<div class="sucuriscan-clearfix">
<div class="sucuriscan-pull-left">
<h3>Do you want to</h3>
<h4>Stop Hackers?</h4>
</div>
<div class="sucuriscan-pull-right">
<img src="%%SUCURI.SucuriURL%%/inc/images/cloudproxy-logo-x42.png" alt="CloudProxy WAF" />
</div>
</div>
<a href="https://sucuri.net/lp/plugin/wp-pn-protect-wordpress" target="_blank" class="sucuriscan-ad-btn">Protect Your Website Today</a>
<div class="sucuriscan-ad-footer">
<ul>
<li>Sucuri Firewall</li>
<li>Protection . Performance . Security</li>
<li class="featured">Cloud-based WAF + DDoS Protection</li>
<li>Virtual Website Patching</li>
<li>Anycast CDN + Website Accelerator</li>
<li>All in one security for your site.</li>
</ul>
</div>
</div>
<div class="sucuriscan-ad sucuriscan-ad-antivirus">
<div class="sucuriscan-clearfix">
<h3>Have you been hacked?</h3>
<h4>Blacklisted by Google?</h4>
</div>
<a href="https://sucuri.net/lp/plugin/wp-pn-clean-wordpress-hack" target="_blank" class="sucuriscan-ad-btn">Get Clean Today</a>
<div class="sucuriscan-ad-footer sucuriscan-clearfix">
<div class="sucuriscan-pull-left">
<ul>
<li>Sucuri Antivirus</li>
<li class="featured">Servicing 250k+ domains</li>
<li class="featured">Cleaning 300+ websites a day</li>
</ul>
</div>
<div class="sucuriscan-pull-right">
<img src="%%SUCURI.SucuriURL%%/inc/images/antivirus-logo-x42.png" alt="Sucuri Antivirus" />
</div>
</div>
<a href="https://sucuri.net/" target="_blank" class="sucuriscan-ad-website">
<img src="%%SUCURI.SucuriURL%%/inc/images/sucuri-website.png" alt="Sucuri Website" />
</a>
</div>
<a href="https://wordpress.org/support/plugin/sucuri-scanner" target="_blank"
class="button button-primary sucuriscan-supportbtn">Visit Support Forum</a>
<div class="sucuriscan-hide-ads">
<button class="button-link sucuriscan-reveal"
data-target="hide-ads-instructions">Hide this column</button>
<div class="sucuriscan-hidden sucuriscan-hide-ads-instructions">
Add this to your wp-config.php file:<br>
<code>define('SUCURISCAN_HIDE_ADS', true);</code>
</div>
</div>
</div>
@@ -0,0 +1,54 @@
<p>
Changes in the integrity of your core files were detected, you may want to check
each file to determine if they were infected with malicious code. The WordPress
core directories <code>/&lt;root&gt;</code>, <code>/wp-admin</code> and <code>
/wp-includes</code> are the only ones being scanned; the content, uploads, and
custom directories are not part of the official archives so you have to check
them manually.
</p>
<table border="1" cellspacing="1" cellpadding="5">
<thead>
<tr>
<th colspan="5">
Core integrity (%%SUCURI.CoreFiles.ListCount%% files)
</th>
</tr>
<tr>
<th>&nbsp;</th>
<th width="80">Status</th>
<th width="100">File Size</th>
<th width="170">Modified At</th>
<th>File Path</th>
</tr>
</thead>
<tbody>
%%%SUCURI.CoreFiles.List%%%
</tbody>
<tfoot>
<tr>
<td colspan="5">
<p>
<b>Note:</b> This is not a malware scanner but an integrity checker, if
you want to check if your site is generating malicious code then use the
<a href="%%SUCURI.URL.Scanner%%">malware scan</a> tool. If you see the
text <em>"must be fixed manually"</em> in any of these files that means
that they do not have write permissions so you can not fix them using
this tool. Access the <a href="%%SUCURI.URL.Home%%">admin area</a> of
your website to fix these files.
</p>
<p>
<b>Note:</b> Disable the <em>"Receive email alerts for core integrity
checks"</em> option from the "Alerts" panel located in the plugin'
settings page to stop receiving these emails, but keep an eye on the
flagged files to keep your website clean.
</p>
</td>
</tr>
</tfoot>
</table>
@@ -0,0 +1,39 @@
<div class="postbox">
<h3>Core Integrity</h3>
<div class="inside">
<p>
Every WordPress release comes with a set of files that are part of the standard
installation process of each version, none of these files should be modified as
they are overwritten on each upgrade, it is not advised that web developers
modify the core files and instead extend the base functionality with themes or
plugins. Only three directories are scanned: admin, includes, and the document
root where the configuration and startup files are located.
</p>
<div class="sucuriscan-inline-alert-info">
<p>
Use a <a href="https://sucuri.net/website-antivirus/" target="_blank"> server
side scanner</a> or a <a href="https://sitecheck.sucuri.net/" target="_blank">
web scanner</a> to find the source of the infection and broken pages respectively.
</p>
</div>
<div id="sucuriscan-corefiles-response">
<em>Loading...</em>
</div>
<script type="text/javascript">
jQuery(function($){
$.post('%%SUCURI.AjaxURL.Home%%', {
action: 'sucuriscan_ajax',
sucuriscan_page_nonce: '%%SUCURI.PageNonce%%',
form_action: 'get_core_files',
}, function(data){
$('#sucuriscan-corefiles-response').html(data);
});
});
</script>
</div>
</div>
@@ -0,0 +1,88 @@
<div class="sucuriscan-inline-alert-updated sucuriscan-%%SUCURI.CoreFiles.GoodVisibility%%">
<p>
Your WordPress core files are clean and were not modified.
</p>
</div>
<div class="sucuriscan-inline-alert-warning sucuriscan-%%SUCURI.CoreFiles.NotFixableVisibility%%">
<p>
Files marked with the text <em>"not fixable"</em> are files without write
permissions, you have to fix them manually.
</p>
</div>
<div class="sucuriscan-inline-alert-error sucuriscan-%%SUCURI.CoreFiles.DisabledVisibility%%">
<p>
The file scanner to check the integrity of the project is disabled.
</p>
</div>
<div class="sucuriscan-inline-alert-error sucuriscan-%%SUCURI.CoreFiles.FailureVisibility%%">
<p>
Error retrieving the <a href="%%SUCURI.CoreFiles.RemoteChecksumsURL%%" target="_blank">
WordPress core hashes</a>. The information used by the plugin to determine the
integrity of the core files is retrieved and controlled by WordPress. Any error
message related with this tool is likely related with a modification in their
API service that is not supported yet. It is also possible that your website is
not able to communicate with this server due to a missing HTTP transport tool.
</p>
</div>
<form action="%%SUCURI.URL.Home%%" method="post">
<input type="hidden" name="sucuriscan_page_nonce" value="%%SUCURI.PageNonce%%" />
<table class="wp-list-table widefat sucuriscan-table sucuriscan-corefiles sucuriscan-%%SUCURI.CoreFiles.BadVisibility%%">
<thead>
<tr>
<th colspan="5">Core Integrity (%%SUCURI.CoreFiles.ListCount%% files)</th>
</tr>
<tr>
<th class="manage-column column-cb check-column">
<label class="screen-reader-text" for="cb-select-all-1">Select All</label>
<input id="cb-select-all-1" type="checkbox">
</th>
<th width="80" class="manage-column">Status</th>
<th width="100" class="manage-column">File Size</th>
<th width="200" class="manage-column">Modified At</th>
<th class="manage-column">File Path</th>
</tr>
</thead>
<tbody>
%%%SUCURI.CoreFiles.List%%%
</tbody>
</table>
<div class="sucuriscan-%%SUCURI.CoreFiles.BadVisibility%%">
<p>
Marking one or more files as fixed will force the plugin to ignore them during
the next scan, very useful when you find false positives. Additionally you can
restore the original content of the core files that appear as modified or deleted,
this will tell the plugin to download a copy of the original files from the official
<a href="https://core.svn.wordpress.org/tags/" target="_blank">WordPress repository</a>.
Deleting a file is an irreversible action, be careful.
</p>
<div class="sucuriscan-recipient-form">
<p>
<label>
<input type="hidden" name="sucuriscan_process_form" value="0" />
<input type="checkbox" name="sucuriscan_process_form" value="1" />
<span>I understand that this operation can not be reverted.</span>
</label>
</p>
<span class="sucuriscan-input-group">
<label>Choose Action:</label>
<select name="sucuriscan_integrity_action">
<option value="fixed">Mark as fixed</option>
<option value="restore">Restore source</option>
<option value="delete">Delete file</option>
</select>
</span>
<button type="submit" class="button button-primary">Proceed</button>
</div>
</div>
</form>
@@ -0,0 +1,14 @@
<tr class="%%SUCURI.CoreFiles.CssClass%%">
<td class="check-column">
<input type="checkbox" name="sucuriscan_corefiles[]"
value="%%SUCURI.CoreFiles.StatusType%%@%%SUCURI.CoreFiles.FilePath%%" />
</td>
<td><span class="sucuriscan-label sucuriscan-label-%%SUCURI.CoreFiles.StatusType%%">%%SUCURI.CoreFiles.StatusType%%</span></td>
<td><em title="%%SUCURI.CoreFiles.FileSizeNumber%% bytes">~%%SUCURI.CoreFiles.FileSizeHuman%%</em></td>
<td>%%SUCURI.CoreFiles.ModifiedAt%%</td>
<td>
<span class="sucuriscan-monospace sucuriscan-wraptext">%%SUCURI.CoreFiles.FilePath%%</span>
<em>%%SUCURI.CoreFiles.IsNotFixable%%</em>
</td>
</tr>
Oops, something went wrong.

0 comments on commit d3531f5

Please sign in to comment.