*/ /** * Do not execute this file directly. */ if (!defined('ABSPATH')) { exit; } use \blobfolio\wp\meow\ajax; use \blobfolio\wp\meow\options; use \blobfolio\wp\meow\vendor\common\format; $data = array( 'forms'=>array( 'search'=>array( 'action'=>'meow_ajax_stats', 'n'=>ajax::get_nonce(), 'errors'=>array(), 'loading'=>false ), 'download'=>array( 'action'=>'meow_ajax_activity_csv', 'n'=>ajax::get_nonce(), 'errors'=>array(), 'loading'=>false ) ), 'stats'=>array(), 'hasStats'=>false, 'searched'=>false, 'modal'=>false, 'modals'=>array( 'attempts'=>array( esc_html__('This indicates the average number of login attempts made *while banned*. This number can be high if your site is routinely attacked by stupid robots.', 'apocalypse-meow'), ), 'usernames'=>array( esc_html__('This shows the total number of unique usernames submitted during failed login attempts.', 'apocalypse-meow'), esc_html__('Note: WordPress allows users to login using either their username or email address. This plugin normalizes all entries to the username to keep things tidy.', 'apocalypse-meow'), ), 'invalid'=>array( esc_html__('This shows the percentage of failed login attempts using non-existent usernames. While such attempts are fruitless, they do still represent a waste in server resources.', 'apocalypse-meow'), ), 'valid'=>array( esc_html__('This shows the percentage of failed login attempts using *valid* usernames. Left unchecked, a robot could eventually gain access to the site.', 'apocalypse-meow'), ), ), 'download'=>'', 'downloadName'=>'' ); ?>

Apocalypse Meow:

{{error}}

{{error}}

' . esc_html__('settings', 'apocalypse-meow') . '' ); ?>

{{ stats.total }}
{{ stats.date_min }}
{{ stats.date_max }}
{{ stats.days }}
{{ Math.round(stats.total / stats.days * 100) / 100 }}
{{ stats.fails.total }}
{{ Math.round(stats.fails.total / stats.days * 100) / 100 }}
{{ stats.fails.usernames.unique }}
{{ Math.round(stats.fails.usernames.valid / (stats.fails.usernames.invalid + stats.fails.usernames.valid) * 10000) / 100 }}%
{{ Math.round(stats.fails.usernames.invalid / (stats.fails.usernames.invalid + stats.fails.usernames.valid) * 10000) / 100 }}%
{{ stats.fails.enumeration }}
{{ stats.fails.ips }}
{{ stats.fails.subnets }}

{{ stats.bans.total }}
{{ Math.round(stats.bans.total / stats.days * 100) / 100 }}
{{ stats.bans.pardons }}
{{ Math.round(stats.bans.attempts / stats.bans.total * 100) / 100 }}

Kitten