D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
everqlsh
/
www
/
wp-admin
/
user
/
577040
/
Filename :
dashboard.zip
back
Copy
PK ó}\"���j j global-status.phpnu �[��� <?php if (!defined('WORDFENCE_VERSION')) { exit; } /** * Presents the global status. * * Expects $firewall, $scanner, and $dashboard to be defined. * * @var wfFirewall $firewall The firewall state. * @var wfScanner $scanner The scanner state. * @var wfDashboard $dashboard Dashboard statistics. */ ?> <ul class="wf-block-list wf-block-list-horizontal"> <li id="wfStatusTourMarker"> <div class="wf-block-labeled-value wf-global-status wf-global-status-full-enabled"> <div class="wf-block-labeled-value-label"><?php esc_html_e('Wordfence Protection Activated', 'wordfence'); ?></div> </div> </li> </ul> PK ó}\�jwu�* �* option-howgetips.phpnu �[��� <?php if (!defined('WORDFENCE_VERSION')) { exit; } /** * Presents the global option howGetIPs with a value select menu and text area (hidden by default) for trusted proxies. */ $selectOptions = array( array('value' => '', 'label' => esc_html__('Let Wordfence use the most secure method to get visitor IP addresses. Prevents spoofing and works with most sites.', 'wordfence') . ' <strong>' . esc_html__('(Recommended)', 'wordfence') . '</strong>'), array('value' => 'REMOTE_ADDR', 'label' => esc_html__('Use PHP\'s built in REMOTE_ADDR and don\'t use anything else. Very secure if this is compatible with your site.', 'wordfence')), array('value' => 'HTTP_X_FORWARDED_FOR', 'label' => esc_html__('Use the X-Forwarded-For HTTP header. Only use if you have a front-end proxy or spoofing may result.', 'wordfence')), array('value' => 'HTTP_X_REAL_IP', 'label' => esc_html__('Use the X-Real-IP HTTP header. Only use if you have a front-end proxy or spoofing may result.', 'wordfence')), array('value' => 'HTTP_CF_CONNECTING_IP', 'label' => esc_html__('Use the Cloudflare "CF-Connecting-IP" HTTP header to get a visitor IP. Only use if you\'re using Cloudflare.', 'wordfence')), ); ?> <ul class="wf-flex-vertical wf-flex-full-width"> <li> <ul id="wf-option-howGetIPs" class="wf-option wf-option-howgetips" data-option="howGetIPs" data-original-value="<?php echo esc_attr(wfConfig::get('howGetIPs')); ?>" data-text-area-option="howGetIPs_trusted_proxies" data-original-text-area-value="<?php echo esc_attr(wfConfig::get('howGetIPs_trusted_proxies')); ?>"> <li class="wf-option-spacer"></li> <li class="wf-option-content"> <ul class="wf-flex-vertical wf-flex-align-left"> <li class="wf-option-title"><?php esc_html_e('How does Wordfence get IPs', 'wordfence'); ?> <a href="<?php echo wfSupportController::esc_supportURL(wfSupportController::ITEM_DASHBOARD_OPTION_HOW_GET_IPS); ?>" target="_blank" rel="noopener noreferrer" class="wf-inline-help"><i class="wf-fa wf-fa-question-circle-o" aria-hidden="true"></i><span class="screen-reader-text"> (<?php esc_html_e('opens in new tab', 'wordfence') ?>)</span></a></li> <li> <ul class="wf-flex-vertical wf-flex-align-left"> <li class="wf-padding-add-left"> <ul class="wf-flex-vertical wf-flex-align-left" role="radiogroup"> <?php foreach ($selectOptions as $o): ?> <li class="wf-padding-add-top-small"><input type="radio" class="wf-option-radio" name="wf-howgetIPs" value="<?php echo esc_attr($o['value']); ?>" id="wf-howgetIPs-<?php echo esc_attr(preg_replace('/[^a-z0-9]/i', '-', $o['value'])); ?>"<?php if ($o['value'] == wfConfig::get('howGetIPs')) { echo ' checked'; } ?>><label for="wf-howgetIPs-<?php echo esc_attr(preg_replace('/[^a-z0-9]/i', '-', $o['value'])); ?>"> </label><?php echo $o['label']; ?></li> <?php endforeach; ?> </ul> </li> <li class="wf-option-howgetips-details wf-padding-add-top-small"> <div class="wf-left"><?php esc_html_e('Detected IP(s):', 'wordfence') ?> <span id="howGetIPs-preview-all"><?php echo wfUtils::getIPPreview(); ?></span></div> <div class="wf-left"><?php esc_html_e('Your IP with this setting:', 'wordfence') ?> <span id="howGetIPs-preview-single"><?php echo wfUtils::getIP(); ?></span></div> <div class="wf-left"><a href="#" id="howGetIPs-trusted-proxies-show" role="button">+ <?php esc_html_e('Edit trusted proxies', 'wordfence') ?></a></div> </li> </ul> </li> </ul> </li> <!-- <li class="wf-option-disclosure"><svg width="12px" height="12px" viewBox="0 0 12 12"><path id="disclosure-closed" d="M 6 0 l 6 6 -6 6 0 -12" fill="#777"/></svg></li> --> </ul> </li> <li id="howGetIPs-trusted-proxies"> <ul id="wf-option-howGetIPs-trusted-proxies" class="wf-option wf-option-textarea" data-text-option="howGetIPs_trusted_proxies" data-original-text-value="<?php echo esc_attr(wfConfig::get('howGetIPs_trusted_proxies')); ?>"> <li class="wf-option-spacer"></li> <li class="wf-option-content"> <ul> <li class="wf-option-title"> <ul class="wf-flex-vertical wf-flex-align-left"> <li><?php esc_html_e('Trusted Proxies', 'wordfence'); ?></li> <li class="wf-option-subtitle"><?php esc_html_e('These IPs (or CIDR ranges) will be ignored when determining the requesting IP via the X-Forwarded-For HTTP header. Enter one IP or CIDR range per line.', 'wordfence'); ?></li> </ul> </li> <li class="wf-option-textarea"> <textarea spellcheck="false" autocapitalize="none" autocomplete="off" name="howGetIPs_trusted_proxies"><?php echo esc_html(wfConfig::get('howGetIPs_trusted_proxies')); ?></textarea> </li> </ul> </li> </ul> </li> <li id="howGetIPs-trusted-proxy-preset"> <ul id="wf-option-howGetIPs-trusted-proxy-preset" class="wf-option wf-option-select" data-text-option="howGetIPs_trusted_proxy_preset" data-original-text-value="<?php echo esc_attr(wfConfig::get('howGetIPs_trusted_proxy_preset')); ?>"> <li class="wf-option-spacer"></li> <li class="wf-option-content"> <ul> <li class="wf-option-title"> <ul class="wf-flex-vertical wf-flex-align-left"> <li><span id="wf-option-howGetIPs-trusted-proxy-preset-label"><?php esc_html_e('Trusted Proxy Preset', 'wordfence'); ?></span></li> <li class="wf-option-subtitle"><?php esc_html_e('In addition to the above list, the IPs (or CIDR ranges) in the selected preset will be ignored when determining the requesting IP via the X-Forwarded-For HTTP header.', 'wordfence'); ?></li> </ul> </li> <li class="wf-option-select"> <?php $presets = wfConfig::getJSON('ipResolutionList', array()); if (!is_array($presets)) { $presets = array(); } $keys = array_keys($presets); asort($keys); ?> <select<?php echo (!empty($presets) ? '' : ' disabled'); ?> aria-labelledby="wf-option-howGetIPs-trusted-proxy-preset-label"> <option class="wf-option-select-option" value=""<?php if (!in_array(wfConfig::get('howGetIPs_trusted_proxy_preset'), $keys)) { echo ' selected'; } ?>><?php esc_html_e('None', 'wordfence'); ?></option> <?php foreach ($keys as $k): ?> <option class="wf-option-select-option" value="<?php echo esc_attr($k); ?>"<?php if ($k == wfConfig::get('howGetIPs_trusted_proxy_preset')) { echo ' selected'; } ?>><?php echo esc_html($presets[$k]['name']); ?></option> <?php endforeach; ?> </select> </li> </ul> </li> </ul> </li> </ul> <script type="application/javascript"> (function($) { $(function() { var updateIPPreview = function() { WFAD.updateIPPreview({howGetIPs: $('input[name="wf-howgetIPs"]:checked').val(), 'howGetIPs_trusted_proxies': $('#howGetIPs-trusted-proxies textarea').val(), 'howGetIPs_trusted_proxy_preset': $('#howGetIPs-trusted-proxy-preset select').val()}, function(ret) { if (ret && ret.ok) { $('#howGetIPs-preview-all').html(ret.ipAll); $('#howGetIPs-preview-single').html(ret.ip); } else { //TODO: implementing testing whether or not this setting will lock them out and show the error saying that they'd lock themselves out } }); }; $('input[name="wf-howgetIPs"]').on('change', function() { var optionElement = $(this).closest('.wf-option.wf-option-howgetips'); var option = optionElement.data('option'); var value = $('input[name="wf-howgetIPs"]:checked').val(); var originalValue = optionElement.data('originalValue'); if (originalValue == value) { delete WFAD.pendingChanges[option]; } else { WFAD.pendingChanges[option] = value; } WFAD.updatePendingChanges(); updateIPPreview(); }); var coalescingUpdateTimer; $('#howGetIPs-trusted-proxies textarea').on('change paste keyup', function() { var e = this; setTimeout(function() { clearTimeout(coalescingUpdateTimer); coalescingUpdateTimer = setTimeout(updateIPPreview, 1000); var optionElement = $(e).closest('.wf-option.wf-option-textarea'); var option = optionElement.data('textOption'); var value = $(e).val(); var originalValue = optionElement.data('originalTextValue'); if (originalValue == value) { delete WFAD.pendingChanges[option]; } else { WFAD.pendingChanges[option] = value; } WFAD.updatePendingChanges(); }, 4); }); $('#howGetIPs-trusted-proxy-preset').on('change', function() { var e = this; setTimeout(function() { clearTimeout(coalescingUpdateTimer); coalescingUpdateTimer = setTimeout(updateIPPreview, 1000); var optionElement = $(e).find('.wf-option.wf-option-select'); var option = optionElement.data('textOption'); var value = $(e).find('select').val(); var originalValue = optionElement.data('originalTextValue'); if (originalValue == value) { delete WFAD.pendingChanges[option]; } else { WFAD.pendingChanges[option] = value; } WFAD.updatePendingChanges(); }, 4); }); $(window).on('wfOptionsReset', function() { $('input[name="wf-howgetIPs"]').each(function() { var optionElement = $(this).closest('.wf-option.wf-option-howgetips'); var option = optionElement.data('option'); var originalValue = optionElement.data('originalValue'); $(this).prop('checked', originalValue == $(this).attr('value')); }); $('#howGetIPs-trusted-proxies textarea').each(function() { var optionElement = $(this).closest('.wf-option.wf-option-textarea'); var originalValue = optionElement.data('originalTextAreaValue'); $(this).val(originalValue); }); updateIPPreview(); }); $('#howGetIPs-trusted-proxies-show').each(function() { $(this).on('keydown', function(e) { if (e.keyCode == 32) { e.preventDefault(); e.stopPropagation(); $(this).trigger('click'); } }); $(this).on('click', function(e) { e.preventDefault(); e.stopPropagation(); var isActive = $('#howGetIPs-trusted-proxies').hasClass('wf-active'); if (isActive) { $('#howGetIPs-trusted-proxies').slideUp({ always: function() { $('#howGetIPs-trusted-proxies').removeClass('wf-active'); } }); $('#howGetIPs-trusted-proxy-preset').slideUp({ always: function() { $('#howGetIPs-trusted-proxy-preset').removeClass('wf-active'); } }); } else { $(this).parent().slideUp(); $('#howGetIPs-trusted-proxies').slideDown({ always: function() { $('#howGetIPs-trusted-proxies').addClass('wf-active'); } }); $('#howGetIPs-trusted-proxy-preset').slideDown({ always: function() { $('#howGetIPs-trusted-proxy-preset').addClass('wf-active'); } }); } }); }); }); })(jQuery); </script> PK ij}\W��� options-group-alert.phpnu �[��� <?php if (!defined('WORDFENCE_VERSION')) { exit; } /** * Presents the Email Alert Preferences group. * * Expects $stateKey. * * @var string $stateKey The key under which the collapse state is stored. * @var bool $collapseable If defined, specifies whether or not this grouping can be collapsed. Defaults to true. */ if (!isset($collapseable)) { $collapseable = true; } ?> <div class="wf-row"> <div class="wf-col-xs-12"> <div class="wf-block<?php if (!$collapseable) { echo ' wf-always-active'; } else { echo (wfPersistenceController::shared()->isActive($stateKey) ? ' wf-active' : ''); } ?>" data-persistence-key="<?php echo esc_attr($stateKey); ?>"> <div class="wf-block-header"> <div class="wf-block-header-content"> <div class="wf-block-title"> <strong><?php esc_html_e('Email Alert Preferences', 'wordfence'); ?></strong> </div> <?php if ($collapseable): ?><div class="wf-block-header-action"><div class="wf-block-header-action-disclosure" role="checkbox" aria-checked="<?php echo (wfPersistenceController::shared()->isActive($stateKey) ? 'true' : 'false'); ?>" tabindex="0"></div></div><?php endif; ?> </div> </div> <div class="wf-block-content"> <ul class="wf-block-list"> <li> <?php echo wfView::create('options/option-toggled', array( 'optionName' => 'alertOn_update', 'enabledValue' => 1, 'disabledValue' => 0, 'value' => wfConfig::get('alertOn_update') ? 1 : 0, 'title' => __('Email me when Wordfence is automatically updated', 'wordfence'), 'subtitle' => __('If you have automatic updates enabled (see above), you\'ll get an email when an update occurs.', 'wordfence'), ))->render(); ?> </li> <li> <?php echo wfView::create('options/option-toggled', array( 'optionName' => 'alertOn_wordfenceDeactivated', 'enabledValue' => 1, 'disabledValue' => 0, 'value' => wfConfig::get('alertOn_wordfenceDeactivated') ? 1 : 0, 'title' => __('Email me if Wordfence is deactivated', 'wordfence'), ))->render(); ?> </li> <li> <?php echo wfView::create('options/option-toggled', array( 'optionName' => 'alertOn_wafDeactivated', 'enabledValue' => 1, 'disabledValue' => 0, 'value' => wfConfig::get('alertOn_wafDeactivated') ? 1 : 0, 'title' => __('Email me if the Wordfence Web Application Firewall is turned off', 'wordfence'), ))->render(); ?> </li> <li> <?php echo wfView::create('options/option-toggled-select', array( 'toggleOptionName' => 'alertOn_scanIssues', 'enabledToggleValue' => 1, 'disabledToggleValue' => 0, 'toggleValue' => wfConfig::get('alertOn_scanIssues') > 0 ? 1 : 0, 'selectOptionName' => 'alertOn_severityLevel', 'selectOptions' => array( array('value' => wfIssues::SEVERITY_CRITICAL, 'label' => __('Critical', 'wordfence')), array('value' => wfIssues::SEVERITY_HIGH, 'label' => __('High', 'wordfence')), array('value' => wfIssues::SEVERITY_MEDIUM, 'label' => __('Medium', 'wordfence')), array('value' => wfIssues::SEVERITY_LOW, 'label' => __('Low', 'wordfence')), ), 'selectValue' => wfConfig::get('alertOn_severityLevel'), 'title' => __('Alert me with scan results of this severity level or greater:', 'wordfence'), ))->render(); ?> </li> <li> <?php echo wfView::create('options/option-toggled', array( 'optionName' => 'alertOn_block', 'enabledValue' => 1, 'disabledValue' => 0, 'value' => wfConfig::get('alertOn_block') ? 1 : 0, 'title' => __('Alert when an IP address is blocked', 'wordfence'), ))->render(); ?> </li> <li> <?php echo wfView::create('options/option-toggled', array( 'optionName' => 'alertOn_loginLockout', 'enabledValue' => 1, 'disabledValue' => 0, 'value' => wfConfig::get('alertOn_loginLockout') ? 1 : 0, 'title' => __('Alert when someone is locked out from login', 'wordfence'), ))->render(); ?> </li> <li> <?php echo wfView::create('options/option-toggled', array( 'optionName' => 'alertOn_breachLogin', 'enabledValue' => 1, 'disabledValue' => 0, 'value' => wfConfig::get('alertOn_breachLogin') ? 1 : 0, 'title' => __('Alert when someone is blocked from logging in for using a password found in a breach', 'wordfence'), ))->render(); ?> </li> <li> <?php echo wfView::create('options/option-toggled', array( 'optionName' => 'alertOn_lostPasswdForm', 'enabledValue' => 1, 'disabledValue' => 0, 'value' => wfConfig::get('alertOn_lostPasswdForm') ? 1 : 0, 'title' => __('Alert when the "lost password" form is used for a valid user', 'wordfence'), ))->render(); ?> </li> <li> <?php echo wfView::create('options/option-toggled-sub', array( 'optionName' => 'alertOn_adminLogin', 'enabledValue' => 1, 'disabledValue' => 0, 'value' => wfConfig::get('alertOn_adminLogin') ? 1 : 0, 'title' => __('Alert me when someone with administrator access signs in', 'wordfence'), 'subOptionName' => 'alertOn_firstAdminLoginOnly', 'subEnabledValue' => 1, 'subDisabledValue' => 0, 'subValue' => wfConfig::get('alertOn_firstAdminLoginOnly') ? 1 : 0, 'subTitle' => __('Only alert me when that administrator signs in from a new device', 'wordfence'), ))->render(); ?> </li> <li> <?php echo wfView::create('options/option-toggled-sub', array( 'optionName' => 'alertOn_nonAdminLogin', 'enabledValue' => 1, 'disabledValue' => 0, 'value' => wfConfig::get('alertOn_nonAdminLogin') ? 1 : 0, 'title' => __('Alert me when a non-admin user signs in', 'wordfence'), 'subOptionName' => 'alertOn_firstNonAdminLoginOnly', 'subEnabledValue' => 1, 'subDisabledValue' => 0, 'subValue' => wfConfig::get('alertOn_firstNonAdminLoginOnly') ? 1 : 0, 'subTitle' => __('Only alert me when that user signs in from a new device', 'wordfence'), ))->render(); ?> </li> <li> <?php echo wfView::create('options/option-toggled', array( 'optionName' => 'wafAlertOnAttacks', 'enabledValue' => 1, 'disabledValue' => 0, 'value' => wfConfig::get('wafAlertOnAttacks') ? 1 : 0, 'title' => __('Alert me when there\'s a large increase in attacks detected on my site', 'wordfence'), ))->render(); ?> </li> <li> <?php echo wfView::create('options/option-text', array( 'textOptionName' => 'alert_maxHourly', 'textValue' => wfConfig::get('alert_maxHourly'), 'title' => __('Maximum email alerts to send per hour', 'wordfence'), 'subtitle' => __('0 means unlimited alerts will be sent.', 'wordfence'), ))->render(); ?> </li> </ul> </div> </div> </div> </div> <!-- end alert options --> PK ij}\�]I� � status-renewing.phpnu �[��� <?php if (!defined('WORDFENCE_VERSION')) { exit; } /** * Expects $id, $title, $subtitle, and $link, and $linkLabel to be defined. * If $linkLabel is null, the link will be hidden. * $linkNewWindow can optionally be defined and defaults to false. */ if (!isset($linkNewWindow)) { $linkNewWindow = false; } ?> <div id="<?php echo esc_attr($id); ?>" class="wf-status-detail"> <div class="wf-status-renewing"> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 608"><g><path d="M374.4,332.6l9.1,9c1.2,1.2,2.7,1.9,4.5,1.9c1.8,0,3.3-0.6,4.5-1.9l9-9l48.2-48.2c1.2-1.2,1.9-2.8,1.9-4.5c0-1.8-0.6-3.3-1.9-4.5l-9.1-9c-1.2-1.2-2.7-1.9-4.5-1.9c-1.8,0-3.3,0.6-4.5,1.9L388,310.1l-19.6-19.6c-1.2-1.2-2.8-1.9-4.5-1.9c-1.8,0-3.3,0.6-4.5,1.9l-9,9c-1.2,1.2-1.9,2.8-1.9,4.5c0,1.8,0.6,3.3,1.9,4.5L374.4,332.6z"/><path d="M767.7,304.8c-4.5-4.5-10.1-6.8-16.7-6.8l-67.6-0.3c-1-36.2-8.8-71.2-23.1-104.9c-14.4-33.7-34.2-63.2-59.7-88.7c-47.9-47.9-104.2-75.2-168.9-81.9c-64.7-6.7-126,7.6-184,43l-1.8,1.8c-2.3,2.3-3.4,5-3.4,8.4c0,3.3,1.1,6.1,3.4,8.3l52,52c3.8,3.8,8.4,4.4,13.8,1.8c24.7-10.1,39.5-15.7,44.4-16.7c32.1-7.7,63.8-7,95.3,1.8c31.5,8.9,59,25,82.3,48.3c35,35,53.5,77.3,55.4,126.9l-72.1,0c-6.6,0-12.2,2.3-16.7,6.8c-4.5,4.5-6.8,10.1-6.8,16.7c0,6.6,2.3,12.2,6.8,16.7l117,117c4.5,4.5,10.1,6.8,16.7,6.8c6.6,0,12.2-2.3,16.7-6.8l117-117c4.5-4.5,6.8-10.1,6.8-16.7C774.5,314.9,772.3,309.4,767.7,304.8z"/><path d="M502.1,473.8c-3.8-3.8-8.5-4.4-13.8-1.8c-24.7,10.1-39.5,15.7-44.4,16.7c-32,7.7-63.8,7.1-95.3-1.8c-31.5-8.9-58.9-25-82.3-48.3c-16.9-16.9-30.1-36.3-39.5-58.2c-9.4-21.9-14.5-44.8-15.4-68.7l71.5,0c6.6,0,12.2-2.3,16.7-6.8c4.5-4.5,6.8-10.1,6.8-16.7c0-6.6-2.3-12.2-6.8-16.7l-117-117c-4.5-4.5-10.1-6.8-16.7-6.8c-6.6,0-12.2,2.3-16.7,6.8l-117,117c-4.5,4.5-6.8,10.1-6.8,16.7c0,6.6,2.3,12.2,6.8,16.7c4.5,4.5,10.1,6.8,16.7,6.8l67.4,0c0.9,36.4,8.4,71.3,22.6,104.6c14.2,33.4,34,62.7,59.4,88.1c47.7,47.7,103.8,74.9,168.3,81.4c64.5,6.5,125.7-8,183.5-43.5c0.5-0.2,1.2-0.7,2.1-1.6c2.3-2.3,3.4-5.1,3.4-8.4c0-3.3-1.1-6.1-3.4-8.4L502.1,473.8z"/></g></svg> </div> <p class="wf-status-detail-title"><?php echo esc_html($title); ?></p> <p class="wf-status-detail-subtitle"><?php echo esc_html($subtitle); ?></p> <p class="wf-status-detail-link"><?php if ($linkLabel !== null): ?><a href="<?php echo esc_attr($link); ?>"<?php echo ($linkNewWindow ? ' target="_blank" rel="noopener noreferrer"' : ''); ?>><?php echo esc_html($linkLabel); ?><span class="screen-reader-text"> (<?php esc_html_e('opens in new tab', 'wordfence') ?>)</span></a><?php endif; ?></p> </div> PK ų}\�k�"