/home/altere25/infinet.finance/wp-content/plugins/ninjafirewall/lib
NameSizeModeActions
share/-0755rm
.htaccess3780644editdlrm
anti_malware.php26510644editdlrm
custom_firewall.php19440644editdlrm
custom_plugin.php19400644editdlrm
dashboard.php236880644editdlrm
dashboard_about.php27270644editdlrm
dashboard_statistics.php73490644editdlrm
email_sodium.php71630644editdlrm
events.php114230644editdlrm
event_notifications.php194280644editdlrm
event_updates.php93580644editdlrm
firewall.php633850644editdlrm
firewall_options.php172620644editdlrm
firewall_policies.php719870644editdlrm
fw_centlog.php24220644editdlrm
fw_fileguard.php36890644editdlrm
fw_livelog.php56840644editdlrm
help.php485860644editdlrm
i18n-extra.php310210644editdlrm
index.html830644editdlrm
init_update.php75410644editdlrm
install.php123810644editdlrm
install_default.php105260644editdlrm
loader.php5470644editdlrm
login_protection.php231210644editdlrm
logs.php33540644editdlrm
logs_firewall_log.php117970644editdlrm
logs_live_log.php202850644editdlrm
monitoring.php31560644editdlrm
monitoring_file_check.php291850644editdlrm
monitoring_file_guard.php62180644editdlrm
network.php34470644editdlrm
nfw_log.php42250644editdlrm
scheduled_tasks.php55990644editdlrm
security_rules.php28590644editdlrm
security_rules_editor.php73150644editdlrm
security_rules_update.php203090644editdlrm
sign.pub8010644editdlrm
thickbox.php207990644editdlrm
utils.php576700644editdlrm
widget.php48280644editdlrm
wpplus.php175210644editdlrm
Edit: /home/altere25/infinet.finance/wp-content/plugins/ninjafirewall/lib/dashboard.php (23688B)
php_value auto_prepend_file' ); delete_transient( 'nfw_fullwaf' ); } else { $now = time(); // <5 minutes if ( $now < $time ) { $time_left = $time - $now; $message = sprintf( __('Because PHP caches INI files, you may need to wait up to five minutes before the changes are reloaded by the PHP interpreter. Please wait for %d seconds before trying again (you can navigate away from this page and come back in a few minutes).', 'ninjafirewall'), (int) $time_left ); $countdown = 1; } else { delete_transient( 'nfw_fullwaf' ); } } if (! empty( $message ) ) { echo '

'. __('Oops! Full WAF mode is not enabled yet.', 'ninjafirewall' ) .'
'. $message . '

'; if ( isset( $countdown ) ) { echo ''; } } } } // Error log deletion: if (! empty( $_POST['delete-error-log'] ) ){ if ( empty( $_POST['nfwnonce_errorlog'] ) || ! wp_verify_nonce( $_POST['nfwnonce_errorlog'], 'delete_error_log' ) ) { wp_nonce_ays('delete_error_log'); } if ( file_exists( NFW_LOG_DIR .'/nfwlog/error_log.php' ) ) { @unlink( NFW_LOG_DIR .'/nfwlog/error_log.php' ); } } ?>

 

' . esc_html__('Your changes have been saved.', 'ninjafirewall') . '

'; } ?>

'. __('Help') .'' ) ?>


>

19 && NFW_STATUS < 24 ) ) { $msg = __('It seems that you may have another instance of NinjaFirewall running in a parent directory. Make sure to follow these instructions:', 'ninjafirewall'); $msg.= '
  1. '; $msg.= __('Temporarily disable the firewall in the parent folder by renaming its PHP INI or .htaccess file.', 'ninjafirewall'); $msg.= '
  2. '; $msg.= __('Install NinjaFirewall on this site in Full WAF mode.', 'ninjafirewall'); $msg.= '
  3. '; $msg.= __('Restore the PHP INI or .htaccess in the parent folder to re-enable the firewall.', 'ninjafirewall'); $msg.= '
'; } elseif (! empty( $GLOBALS['err_fw'][NF_DISABLED] ) ) { $msg = $GLOBALS['err_fw'][NF_DISABLED]; } else { $msg = __('Unknown error', 'ninjafirewall') .' #'. NF_DISABLED; } ?> check your configuration.', 'ninjafirewall'), '?page=nfsublog#clogs'); } else { if ( $match[1] == '*' ) { $ok_msg = __( "No IP address restriction.", 'ninjafirewall'); } elseif ( filter_var( $match[1], FILTER_VALIDATE_IP ) ) { $ok_msg = sprintf( __("IP address %s is allowed to access NinjaFirewall's log on this server.", 'ninjafirewall'), htmlspecialchars( $match[1]) ); } else { $err_msg = sprintf( __('the whitelisted IP is not valid. Please check your configuration.', 'ninjafirewall'), '?page=nfsublog#clogs'); } } ?> '; // Check if we have a MySQLi link identifier defined in the .htninja if (! empty( $GLOBALS['nfw_mysqli'] ) && ! empty( $GLOBALS['nfw_table_prefix'] ) ) { echo ''; } } ?>
WordPress WAF'); ?>

Full WAF'); ?>

 
WP Edition ~
Firewall Policies menu, otherwise you could get blocked by the firewall while working from your administration dashboard.', 'ninjafirewall'), '?page=nfsubpolicies') ?>
user_login ) ?>:
. $ok_msg"; ?>
'. __('If your site is behind a reverse proxy or a load balancer, ensure that you have setup your HTTP server or PHP to forward the correct visitor IP, otherwise use the NinjaFirewall %s configuration file.', 'ninjafirewall'), htmlentities(NFW_REMOTE_ADDR), '.htninja') ?>
HTTP_CF_CONNECTING_IP', '.htninja') ?>
HTTP_INCAP_CLIENT_IP', '.htninja') ?>
'. htmlspecialchars(NFW_LOG_DIR) .'/nfwlog/') ?>
'. htmlspecialchars(NFW_LOG_DIR) . '/nfwlog/cache/') ?>
PHP INI '. htmlspecialchars( $res ) .'' ) ?>
PHP INI '. htmlspecialchars( $res ) .'' ) ?>
' . __('Optional configuration file', 'ninjafirewall') . ' ' . htmlentities($file) . '
' . __('MySQLi link identifier', 'ninjafirewall') . ' ' . __('A MySQLi link identifier was detected in your .htninja.', 'ninjafirewall') . '
Securing WordPress with NinjaFirewall (WP Edition)
>
>
array( // We only care about the returned HTTP code 'ignore_errors' => true, // Max 2 seconds 'timeout' => 2, 'method' => "GET", 'header' => "Accept-language: en-US,en;q=0.5\r\n" . "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\r\n" . "User-Agent: Mozilla/5.0 (compatible; NinjaFirewall/". NFW_ENGINE_VERSION ."; WordPress/$wp_version)\r\n" ) ); if ( empty( $_SERVER['SERVER_ADDR'] ) ) { return false; } $addr = $_SERVER['SERVER_ADDR']; if (! filter_var( $addr, FILTER_VALIDATE_IP, FILTER_FLAG_NO_PRIV_RANGE | FILTER_FLAG_NO_RES_RANGE ) ) { // We don't want a fatal error if we're running on localhost e.g., dev site etc $opts['ssl']['verify_peer'] = false; $opts['ssl']['verify_peer_name'] = false; } $context = stream_context_create( $opts ); // As we don't want monitoring/debugging plugins to throw a warning or error // in the backend because the server returned a 403 error, we don't use // the WordPress's API @file_get_contents( $url, false, $context ); if ( empty( $http_response_header ) ) { return false; } $response = explode( ' ', $http_response_header[0] ); if (! empty( $response[1] ) && (int) $response[1] == 200 ) { return $url; } return false; } // --------------------------------------------------------------------- // EOF