PluginProbe ʕ •ᴥ•ʔ
Wordfence Security – Firewall, Malware Scan, and Login Security / 7.3.2
Wordfence Security – Firewall, Malware Scan, and Login Security v7.3.2
8.2.2 8.2.1 8.2.0 3.7.1 3.7.2 3.8.1 3.8.2 3.8.3 3.8.4 3.8.5 3.8.6 3.8.7 3.8.8 3.8.9 3.9.1 4.0.1 4.0.2 4.0.3 5.0.1 5.0.2 5.0.3 5.0.4 5.0.5 5.0.6 5.0.7 5.0.8 5.0.9 5.1.1 5.1.2 5.1.4 5.1.5 5.1.6 5.1.7 5.1.8 5.1.9 5.2.1 5.2.2 5.2.3 5.2.4 5.2.5 5.2.6 5.2.7 5.2.8 5.2.9 5.3.1 5.3.10 5.3.11 5.3.12 5.3.2 5.3.3 5.3.4 5.3.5 5.3.6 5.3.7 5.3.8 5.3.9 6.0.1 6.0.10 6.0.11 6.0.12 6.0.14 6.0.15 6.0.16 6.0.17 6.0.18 6.0.19 6.0.2 6.0.20 6.0.21 6.0.22 6.0.23 6.0.24 6.0.25 6.0.3 6.0.4 6.0.5 6.0.6 6.0.7 6.0.8 6.0.9 6.1.1 6.1.10 6.1.11 6.1.12 6.1.14 6.1.15 6.1.16 6.1.17 6.1.2 6.1.3 6.1.4 6.1.5 6.1.6 6.1.7 6.1.8 6.1.9 6.2.0 6.2.1 6.2.10 6.2.2 6.2.3 6.2.4 6.2.5 6.2.6 6.2.7 6.2.8 6.2.9 6.3.0 6.3.1 6.3.10 6.3.11 6.3.12 6.3.14 6.3.15 6.3.16 6.3.17 6.3.18 6.3.19 6.3.2 6.3.20 6.3.21 6.3.22 6.3.3 6.3.4 6.3.5 6.3.6 6.3.7 6.3.8 6.3.9 7.0.1 7.0.2 7.0.3 7.0.4 7.0.5 7.1.0 7.1.1 7.1.10 7.1.11 7.1.12 7.1.14 7.1.15 7.1.16 7.1.17 7.1.18 7.1.19 7.1.2 7.1.20 7.1.3 7.1.4 7.1.5 7.1.6 7.1.7 7.1.8 7.1.9 7.10.0 7.10.1 7.10.2 7.10.3 7.10.4 7.10.5 7.10.6 7.10.7 7.11.0 7.11.1 7.11.2 7.11.3 7.11.4 7.11.5 7.11.6 7.11.7 7.2.1 7.2.2 7.2.3 7.2.4 7.2.5 7.3.1 7.3.2 7.3.3 7.3.4 7.3.5 7.3.6 7.4.0 7.4.1 7.4.10 7.4.11 7.4.12 7.4.14 7.4.2 7.4.3 trunk 7.4.4 1.1 7.4.5 1.2 7.4.6 1.3 7.4.7 1.3.1 7.4.8 1.3.2 7.4.9 1.3.3 7.5.0 1.4.2 7.5.1 1.4.3 7.5.10 1.4.4 7.5.11 1.4.5 7.5.2 1.4.6 7.5.3 1.4.7 7.5.4 1.4.8 7.5.5 1.5.1 7.5.6 1.5.2 7.5.7 1.5.3 7.5.8 1.5.4 7.5.9 1.5.5 7.6.0 1.5.6 7.6.1 2.0.1 7.6.2 2.0.2 7.7.0 2.0.3 7.7.1 2.0.5 7.8.0 2.0.6 7.8.1 2.0.7 7.8.2 2.1.0 7.9.0 2.1.1 7.9.1 2.1.2 7.9.2 2.1.3 7.9.3 2.1.4 8.0.0 2.1.5 8.0.1 3.0.2 8.0.2 3.0.3 8.0.3 3.0.4 8.0.4 3.0.5 8.0.5 3.0.6 8.1.0 3.0.7 8.1.1 3.0.8 8.1.2 3.0.9 8.1.3 3.1.0 8.1.4 3.1.1 v1.4.1 3.1.2 3.1.4 3.1.6 3.2.1 3.2.3 3.2.4 3.2.5 3.2.6 3.2.7 3.3.2 3.3.3 3.3.4 3.3.5 3.3.6 3.3.7 3.4.1 3.4.4 3.4.5 3.5.1 3.5.2 3.6.1 3.6.3 3.6.4 3.6.5 3.6.6 3.6.7 3.6.8 3.6.9
wordfence / lib / menu_firewall_blocking.php
wordfence / lib Last commit date
Diff 8 years ago dashboard 7 years ago rest-api 7 years ago .htaccess 7 years ago Diff.php 14 years ago GeoLite2-Country.mmdb 7 years ago IPTraf.php 8 years ago IPTrafList.php 7 years ago WFLSPHP52Compatability.php 7 years ago compat.php 8 years ago conntest.php 7 years ago cronview.php 8 years ago dbview.php 8 years ago diffResult.php 8 years ago email_genericAlert.php 7 years ago email_newIssues.php 7 years ago email_unlockRequest.php 8 years ago email_unsubscribeRequest.php 7 years ago flags.php 7 years ago live_activity.php 8 years ago menu_dashboard.php 7 years ago menu_dashboard_options.php 7 years ago menu_firewall.php 7 years ago menu_firewall_blocking.php 7 years ago menu_firewall_blocking_options.php 8 years ago menu_firewall_waf.php 7 years ago menu_firewall_waf_options.php 7 years ago menu_options.php 7 years ago menu_scanner.php 7 years ago menu_scanner_credentials.php 8 years ago menu_scanner_options.php 8 years ago menu_support.php 7 years ago menu_tools.php 7 years ago menu_tools_diagnostic.php 7 years ago menu_tools_importExport.php 7 years ago menu_tools_livetraffic.php 7 years ago menu_tools_twoFactor.php 7 years ago menu_tools_whois.php 8 years ago menu_wordfence_central.php 7 years ago noc1.key 7 years ago sysinfo.php 8 years ago unknownFiles.php 8 years ago viewFullActivityLog.php 8 years ago wf503.php 7 years ago wfAPI.php 7 years ago wfActivityReport.php 7 years ago wfAdminNoticeQueue.php 8 years ago wfArray.php 7 years ago wfBrowscap.php 8 years ago wfBrowscapCache.php 7 years ago wfBulkCountries.php 7 years ago wfCache.php 9 years ago wfCentralAPI.php 7 years ago wfConfig.php 7 years ago wfCrawl.php 8 years ago wfCredentialsController.php 7 years ago wfCrypt.php 7 years ago wfDB.php 7 years ago wfDashboard.php 7 years ago wfDateLocalization.php 8 years ago wfDiagnostic.php 7 years ago wfDict.php 8 years ago wfDirectoryIterator.php 7 years ago wfHelperBin.php 11 years ago wfHelperString.php 11 years ago wfIPWhitelist.php 7 years ago wfImportExportController.php 7 years ago wfIssues.php 7 years ago wfJWT.php 7 years ago wfLockedOut.php 7 years ago wfLog.php 7 years ago wfMD5BloomFilter.php 8 years ago wfModuleController.php 7 years ago wfNotification.php 8 years ago wfOnboardingController.php 7 years ago wfPersistenceController.php 8 years ago wfRESTAPI.php 7 years ago wfScan.php 7 years ago wfScanEngine.php 7 years ago wfSchema.php 7 years ago wfStyle.php 7 years ago wfSupportController.php 7 years ago wfUnlockMsg.php 7 years ago wfUpdateCheck.php 8 years ago wfUtils.php 7 years ago wfVersionCheckController.php 8 years ago wfView.php 10 years ago wfViewResult.php 8 years ago wordfenceClass.php 7 years ago wordfenceConstants.php 7 years ago wordfenceHash.php 7 years ago wordfenceScanner.php 7 years ago wordfenceURLHoover.php 7 years ago
menu_firewall_blocking.php
230 lines
1 <?php
2 if (!defined('WORDFENCE_VERSION')) { exit; }
3 ?>
4 <div class="wf-row">
5 <div class="wf-col-xs-12">
6 <div class="wf-block wf-block-no-header wf-active">
7 <div class="wf-block-content">
8 <ul class="wf-block-list">
9 <li>
10 <?php
11 echo wfView::create('blocking/blocking-status', array(
12 ))->render();
13 ?>
14 </li>
15 </ul>
16 </div>
17 </div>
18 </div>
19 </div>
20 <div class="wf-row">
21 <div class="wf-col-xs-12">
22 <div class="wf-block wf-always-active">
23 <?php if (!wfConfig::get('firewallEnabled')): ?>
24 <ul class="wf-block-banner">
25 <li><?php _e('<strong>Note:</strong> Blocking is disabled when the option "Enable Rate Limiting and Advanced Blocking" is off.', 'wordfence'); ?></li>
26 <li><a href="#" class="wf-btn wf-btn-default" id="wf-blocking-enable"><?php _e('Turn On', 'wordfence'); ?></a></li>
27 </ul>
28 <?php endif; ?>
29 <?php if (version_compare(phpversion(), '5.4') < 0 && wfConfig::get('isPaid') && wfBlock::hasCountryBlock()): ?>
30 <ul class="wf-block-banner">
31 <li><?php printf(__('<strong>Note:</strong> The GeoIP database that is required for country blocking has been updated to a new format. This new format requires sites to run PHP 5.4 or newer, and this site is on PHP %s. To ensure country blocking continues functioning, please update PHP.', 'wordfence'), wfUtils::cleanPHPVersion()); ?></li>
32 <li><a href="<?php echo wfSupportController::esc_supportURL(wfSupportController::ITEM_SCAN_RESULT_GEOIP_UPDATE); ?>" class="wf-btn wf-btn-default" target="_blank" rel="noopener noreferrer"><?php _e('More Information', 'wordfence'); ?></a></li>
33 </ul>
34 <?php endif; ?>
35 <div class="wf-block-header">
36 <div class="wf-block-header-content">
37 <div class="wf-block-title">
38 <strong id="wf-block-parameters-title" data-new-title="<?php esc_attr_e('Create a Blocking Rule', 'wordfence'); ?>" data-edit-title="<?php esc_attr_e('Edit Blocking Rule', 'wordfence'); ?>"><?php _e('Create a Blocking Rule', 'wordfence'); ?></strong>
39 </div>
40 </div>
41 </div>
42 <div class="wf-block-content">
43 <?php
44 echo wfView::create('blocking/blocking-create', array(
45 ))->render();
46 ?>
47 </div>
48 </div>
49 </div>
50 </div> <!-- end firewall status -->
51 <?php
52 echo wfView::create('blocking/block-list', array(
53 ))->render();
54 ?>
55 <div id="wf-overlay-wrapper" style="display: none">
56 <div class="wf-overlay">
57 <div class="wf-overlay-header"></div>
58 <div class="wf-overlay-body"></div>
59 <span class="wf-overlay-close wf-ion-android-close"></span>
60 </div>
61 </div>
62 <script type="application/javascript">
63 (function($) {
64 $(function() {
65 $('#wf-blocking-enable').on('click', function(e) {
66 e.preventDefault();
67 e.stopPropagation();
68
69 WFAD.setOption('firewallEnabled', 1, function() {
70 window.location.reload(true);
71 });
72 });
73 });
74 })(jQuery);
75 </script>
76 <?php if (wfOnboardingController::willShowNewTour(wfOnboardingController::TOUR_BLOCKING)): ?>
77 <script type="application/javascript">
78 (function($) {
79 $(function() {
80 WFAD.setUpBlockingTour = function() {
81 WFAD.tour1 = function () {
82 WFAD.tour('wfBlockingNewTour1', 'wf-section-blocking', 'top', 'left', null, WFAD.tour2);
83 };
84 WFAD.tour2 = function () {
85 WFAD.tour('wfBlockingNewTour2', 'wf-create-block', 'top', 'top', WFAD.tour1, WFAD.tour3);
86 };
87 WFAD.tour3 = function () {
88 WFAD.tour('wfBlockingNewTour3', 'wf-blocks-wrapper', 'bottom', 'bottom', WFAD.tour2, WFAD.tourComplete);
89 };
90 WFAD.tourComplete = function () {
91 WFAD.tourFinish('<?php echo esc_attr(wfOnboardingController::TOUR_BLOCKING); ?>');
92 };
93 }
94
95 WFAD.blockingTourShown = false;
96 <?php if (wfOnboardingController::shouldShowNewTour(wfOnboardingController::TOUR_BLOCKING)): ?>
97 $(window).on('wfTabChange', function(e, tab) {
98 if (tab == 'blocking' && !WFAD.blockingTourShown) {
99 WFAD.blockingTourShown = true;
100 WFAD.setUpBlockingTour();
101 if (!WFAD.isSmallScreen) { WFAD.tour1(); }
102 }
103 });
104
105 if ($('#blocking').hasClass('wf-active')) {
106 WFAD.blockingTourShown = true;
107 WFAD.setUpBlockingTour();
108 if (!WFAD.isSmallScreen) { WFAD.tour1(); }
109 }
110 <?php endif; ?>
111 });
112 })(jQuery);
113 </script>
114
115 <script type="text/x-jquery-template" id="wfBlockingNewTour1">
116 <div>
117 <h3><?php _e('Blocking', 'wordfence'); ?></h3>
118 <p><?php _e('Wordfence lets you take control of protecting your site with powerful blocking features. Block traffic based on IP, IP range, hostname, browser, or referrer. Country blocking is available for Premium customers.', 'wordfence'); ?></p>
119 <div class="wf-pointer-footer">
120 <ul class="wf-tour-pagination">
121 <li class="wf-active">&bullet;</li>
122 <li>&bullet;</li>
123 <li>&bullet;</li>
124 </ul>
125 <div id="wf-tour-continue"><a href="#" class="wf-onboarding-btn wf-onboarding-btn-primary"><?php _e('Next', 'wordfence'); ?></a></div>
126 </div>
127 <div id="wf-tour-close"><a href="#"><i class="wf-fa wf-fa-times-circle" aria-hidden="true"></i></a></div>
128 </div>
129 </script>
130 <script type="text/x-jquery-template" id="wfBlockingNewTour2">
131 <div>
132 <h3><?php _e('Blocking Builder', 'wordfence'); ?></h3>
133 <p><?php _e('All of your blocking rules are in one central location. Choose the Block Type, then enter the details for the rule. Once it has been added, you\'ll see it saved as a rule for your site.', 'wordfence'); ?></p>
134 <div class="wf-pointer-footer">
135 <ul class="wf-tour-pagination">
136 <li>&bullet;</li>
137 <li class="wf-active">&bullet;</li>
138 <li>&bullet;</li>
139 </ul>
140 <div id="wf-tour-previous"><a href="#" class="wf-onboarding-btn wf-onboarding-btn-default"><?php _e('Previous', 'wordfence'); ?></a></div>
141 <div id="wf-tour-continue"><a href="#" class="wf-onboarding-btn wf-onboarding-btn-primary"><?php _e('Next', 'wordfence'); ?></a></div>
142 </div>
143 <div id="wf-tour-close"><a href="#"><i class="wf-fa wf-fa-times-circle" aria-hidden="true"></i></a></div>
144 </div>
145 </script>
146 <script type="text/x-jquery-template" id="wfBlockingNewTour3">
147 <div>
148 <h3><?php _e('Manage Blocking Rules', 'wordfence'); ?></h3>
149 <p><?php _e('Here\'s where you\'ll see all the blocking rules you\'ve created. You can also manage them as well as remove or modify them from this table.', 'wordfence'); ?></p>
150 <div class="wf-pointer-footer">
151 <ul class="wf-tour-pagination">
152 <li>&bullet;</li>
153 <li>&bullet;</li>
154 <li class="wf-active">&bullet;</li>
155 </ul>
156 <div id="wf-tour-previous"><a href="#" class="wf-onboarding-btn wf-onboarding-btn-default"><?php _e('Previous', 'wordfence'); ?></a></div>
157 <div id="wf-tour-continue"><a href="#" class="wf-onboarding-btn wf-onboarding-btn-primary"><?php _e('Got it', 'wordfence'); ?></a></div>
158 </div>
159 <div id="wf-tour-close"><a href="#"><i class="wf-fa wf-fa-times-circle" aria-hidden="true"></i></a></div>
160 </div>
161 </script>
162 <?php endif; ?>
163
164 <?php if (wfOnboardingController::willShowUpgradeTour(wfOnboardingController::TOUR_BLOCKING)): ?>
165 <script type="application/javascript">
166 (function($) {
167 $(function() {
168 WFAD.setUpBlockingTour = function() {
169 WFAD.tour1 = function () {
170 WFAD.tour('wfBlockingUpgradeTour1', 'wf-create-block', 'top', 'top', null, WFAD.tour2);
171 };
172 WFAD.tour2 = function () {
173 WFAD.tour('wfBlockingUpgradeTour2', 'wf-blocks-wrapper', 'bottom', 'bottom', WFAD.tour1, WFAD.tourComplete);
174 };
175 WFAD.tourComplete = function () {
176 WFAD.tourFinish('<?php echo esc_attr(wfOnboardingController::TOUR_BLOCKING); ?>');
177 };
178 };
179
180 WFAD.blockingTourShown = false;
181 <?php if (wfOnboardingController::shouldShowUpgradeTour(wfOnboardingController::TOUR_BLOCKING)): ?>
182 $(window).on('wfTabChange', function(e, tab) {
183 if (tab == 'blocking' && !WFAD.blockingTourShown) {
184 WFAD.blockingTourShown = true;
185 WFAD.setUpBlockingTour();
186 if (!WFAD.isSmallScreen) { WFAD.tour1(); }
187 }
188 });
189
190 if ($('#blocking').hasClass('wf-active')) {
191 WFAD.blockingTourShown = true;
192 WFAD.setUpBlockingTour();
193 if (!WFAD.isSmallScreen) { WFAD.tour1(); }
194 }
195 <?php endif; ?>
196 });
197 })(jQuery);
198 </script>
199
200 <script type="text/x-jquery-template" id="wfBlockingUpgradeTour1">
201 <div>
202 <h3><?php _e('Blocking Builder', 'wordfence'); ?></h3>
203 <p><?php _e('All of the blocking rules you create are now in one central location. Simply choose the block type and enter the details for the rule you want to create. Premium users have access to advanced country blocking options, found via the <strong>Options</strong> link.', 'wordfence'); ?></p>
204 <div class="wf-pointer-footer">
205 <ul class="wf-tour-pagination">
206 <li class="wf-active">&bullet;</li>
207 <li>&bullet;</li>
208 </ul>
209 <div id="wf-tour-continue"><a href="#" class="wf-onboarding-btn wf-onboarding-btn-primary"><?php _e('Next', 'wordfence'); ?></a></div>
210 </div>
211 <div id="wf-tour-close"><a href="#"><i class="wf-fa wf-fa-times-circle" aria-hidden="true"></i></a></div>
212 </div>
213 </script>
214 <script type="text/x-jquery-template" id="wfBlockingUpgradeTour2">
215 <div>
216 <h3><?php _e('Manage Blocking Rules', 'wordfence'); ?></h3>
217 <p><?php _e('All blocking rules you create will show here. You can manage them as well as remove or modify them from the same location.', 'wordfence'); ?></p>
218 <div class="wf-pointer-footer">
219 <ul class="wf-tour-pagination">
220 <li>&bullet;</li>
221 <li class="wf-active">&bullet;</li>
222 </ul>
223 <div id="wf-tour-previous"><a href="#" class="wf-onboarding-btn wf-onboarding-btn-default"><?php _e('Previous', 'wordfence'); ?></a></div>
224 <div id="wf-tour-continue"><a href="#" class="wf-onboarding-btn wf-onboarding-btn-primary"><?php _e('Got it', 'wordfence'); ?></a></div>
225 </div>
226 <div id="wf-tour-close"><a href="#"><i class="wf-fa wf-fa-times-circle" aria-hidden="true"></i></a></div>
227 </div>
228 </script>
229 <?php endif; ?>
230