share
9 years ago
.htaccess
11 years ago
anti_malware.php
5 years ago
class-coupon.php
7 months ago
class-email-sodium.php
1 month ago
class-firewall-log.php
1 month ago
class-helpers.php
9 months ago
class-import-export.php
5 months ago
class-ip.php
5 months ago
class-nfw-database.php
7 months ago
class-nfw-session.php
1 month ago
class-php-session.php
1 year ago
class-plugin-upgrade.php
1 month ago
class_mail.php
1 month ago
event_updates.php
11 months ago
firewall.php
5 months ago
fw_centlog.php
1 month ago
fw_fileguard.php
5 months ago
fw_livelog.php
1 year ago
help.php
1 month ago
helpers.php
1 month ago
i18n-extra.php
1 month ago
i18n.php
1 year ago
index.html
13 years ago
init_update.php
2 years ago
install.php
1 year ago
install_default.php
7 months ago
loader.php
7 months ago
mail_template_firewall.php
1 year ago
mail_template_plugin.php
2 months ago
scheduled_tasks.php
3 years ago
settings_dashboard.php
2 months ago
settings_dashboard_about.php
1 month ago
settings_dashboard_statistics.php
2 months ago
settings_event_notifications.php
2 months ago
settings_events.php
2 months ago
settings_firewall_options.php
2 months ago
settings_firewall_policies.php
1 month ago
settings_login_protection.php
2 months ago
settings_logs.php
2 months ago
settings_logs_firewall_log.php
1 month ago
settings_logs_live_log.php
2 months ago
settings_monitoring.php
1 month ago
settings_monitoring_file_check.php
2 months ago
settings_monitoring_file_guard.php
2 months ago
settings_network.php
2 months ago
settings_security_rules.php
2 months ago
settings_security_rules_editor.php
2 months ago
settings_security_rules_update.php
1 month ago
sign.pub
7 years ago
thickbox.php
4 years ago
widget.php
3 years ago
wpplus.php
5 months ago
settings_monitoring.php
68 lines
| 1 | <?php |
| 2 | /* |
| 3 | +---------------------------------------------------------------------+ |
| 4 | | NinjaFirewall (WP Edition) | |
| 5 | | | |
| 6 | | (c) NinTechNet - https://nintechnet.com/ | |
| 7 | +---------------------------------------------------------------------+ |
| 8 | | This program is free software: you can redistribute it and/or | |
| 9 | | modify it under the terms of the GNU General Public License as | |
| 10 | | published by the Free Software Foundation, either version 3 of | |
| 11 | | the License, or (at your option) any later version. | |
| 12 | | | |
| 13 | | This program is distributed in the hope that it will be useful, | |
| 14 | | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 15 | | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 16 | | GNU General Public License for more details. | |
| 17 | +---------------------------------------------------------------------+ |
| 18 | */ |
| 19 | |
| 20 | if (! defined( 'NFW_ENGINE_VERSION' ) ) { die( 'Forbidden' ); } |
| 21 | |
| 22 | // File Check scheduled scan? |
| 23 | if (defined('NFSCANDO') ) { |
| 24 | include __DIR__ .'/settings_monitoring_file_check.php'; |
| 25 | return; |
| 26 | } |
| 27 | |
| 28 | // Tab and div display |
| 29 | if ( empty( $_REQUEST['tab'] ) ) { $_REQUEST['tab'] = 'filecheck'; } |
| 30 | |
| 31 | if ( $_REQUEST['tab'] == 'filecheck' ) { |
| 32 | $fileguard_tab = ''; $fileguard_div = ' style="display:none"'; |
| 33 | $filecheck_tab = ' nav-tab-active'; $filecheck_div = ''; |
| 34 | |
| 35 | } else { |
| 36 | $_REQUEST['tab'] = 'fileguard'; |
| 37 | $fileguard_tab = ' nav-tab-active'; $fileguard_div = ''; |
| 38 | $filecheck_tab = ''; $filecheck_div = ' style="display:none"'; |
| 39 | } |
| 40 | |
| 41 | ?> |
| 42 | <div class="wrap"> |
| 43 | <h1><img style="vertical-align:top;width:33px;height:33px;" src="<?php echo plugins_url( '/ninjafirewall/images/ninjafirewall_32.png' ) ?>"> <?php _e('Monitoring', 'ninjafirewall') ?></h1> |
| 44 | <br /> |
| 45 | <h2 class="nav-tab-wrapper wp-clearfix" style="cursor:pointer"> |
| 46 | <a id="tab-filecheck" class="nav-tab<?php echo $filecheck_tab ?>" onClick="nfwjs_switch_tabs('filecheck', 'fileguard:filecheck')"><?php _e( 'File Check', 'ninjafirewall' ) ?></a> |
| 47 | <a id="tab-fileguard" class="nav-tab<?php echo $fileguard_tab ?>" onClick="nfwjs_switch_tabs('fileguard', 'fileguard:filecheck')"><?php _e( 'File Guard', 'ninjafirewall' ) ?></a> |
| 48 | <a class="nav-tab"><span class="ninjafirewall-tip" data-tip="<?php esc_attr_e('In the Premium version of NinjaFirewall, you can also monitor the response body, i.e., the output of the HTML page, and search it for some specific keywords, which can be useful to identify errors, hacked content and data leakage issues on your website.', 'ninjafirewall' ) ?>"></span></a> |
| 49 | <?php nfw_contextual_help() ?> |
| 50 | </h2> |
| 51 | <br /> |
| 52 | |
| 53 | <!-- File Guard --> |
| 54 | <div id="fileguard-options"<?php echo $fileguard_div ?>> |
| 55 | <?php include __DIR__ .'/settings_monitoring_file_guard.php'; ?> |
| 56 | </div> |
| 57 | |
| 58 | <!-- File Check --> |
| 59 | <div id="filecheck-options"<?php echo $filecheck_div ?>> |
| 60 | <?php include __DIR__ .'/settings_monitoring_file_check.php'; ?> |
| 61 | </div> |
| 62 | |
| 63 | </div> |
| 64 | <?php |
| 65 | |
| 66 | // --------------------------------------------------------------------- |
| 67 | // EOF |
| 68 |