PluginProbe
Patchstack – WordPress & Plugins Security / 2.1.17
Patchstack – WordPress & Plugins Security v2.1.17
2.3.7 trunk 2.1.0 2.1.1 2.1.10 2.1.11 2.1.12 2.1.13 2.1.14 2.1.15 2.1.16 2.1.17 2.1.18 2.1.19 2.1.2 2.1.20 2.1.21 2.1.22 2.1.23 2.1.24 2.1.25 2.1.3 2.1.4 2.1.5 2.1.6 All 49 releases
patchstack / includes / views / access-denied.php

access-denied.php in Patchstack – WordPress & Plugins Security 2.1.17, at includes/views/access-denied.php

41 lines 4.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 // Do not allow the file to be called directly.
3 if ( ! defined( 'ABSPATH' ) ) {
4 exit;
5 }
6 ?>
7 <html lang="en">
8 <head>
9 <meta charset="utf-8">
10 <title><?php _e( 'Access Denied', 'patchstack' ); ?></title>
11 <meta name="robots" content="noindex, nofollow">
12 <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
13 <style type="text/css">
14 .grey{background-color:#9e9e9e!important}.grey.lighten-4{background-color:#f5f5f5!important}html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}a{background-color:transparent}a:active,a:hover{outline:0}html{-webkit-box-sizing:border-box;box-sizing:border-box}*,:after,:before{-webkit-box-sizing:inherit;box-sizing:inherit}a{color:#039be5;text-decoration:none;-webkit-tap-highlight-color:transparent}.card{-webkit-box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12),0 3px 1px -2px rgba(0,0,0,.2);box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12),0 3px 1px -2px rgba(0,0,0,.2)}.container{margin:0 auto;max-width:1280px;width:90%}@media only screen and (min-width:601px){.container{width:85%}}@media only screen and (min-width:993px){.container{width:70%}}.container .row{margin-left:-.75rem;margin-right:-.75rem}.row{margin-left:auto;margin-right:auto;margin-bottom:20px}.row:after{content:"";display:table;clear:both}.row .col{float:left;-webkit-box-sizing:border-box;box-sizing:border-box;padding:0 .75rem;min-height:1px}.row .col.s12{width:100%;margin-left:auto;left:auto;right:auto}a{text-decoration:none}html{line-height:1.5;font-family:sans-serif;font-weight:400;color:rgba(0,0,0,.87)}@media only screen and (min-width:0){html{font-size:14px}}@media only screen and (min-width:992px){html{font-size:14.5px}}@media only screen and (min-width:1200px){html{font-size:15px}}h4{font-weight:400;line-height:1.1}h4{font-size:2.28rem;line-height:110%;margin:1.14rem 0 .912rem 0}.card{position:relative;margin:.5rem 0 1rem 0;background-color:#fff;-webkit-transition:-webkit-box-shadow .25s;transition:-webkit-box-shadow .25s;transition:box-shadow .25s;transition:box-shadow .25s,-webkit-box-shadow .25s;border-radius:2px}.card .card-content{padding:24px;border-radius:0 0 2px 2px}.card .card-content p{margin:0;color:inherit}::-webkit-input-placeholder{color:#d1d1d1}::-moz-placeholder{color:#d1d1d1}:-ms-input-placeholder{color:#d1d1d1}::placeholder{color:#d1d1d1}.container{margin-top:50px;width:768px}.grey>div{font-size:18px;font-weight:400;text-shadow:0 1px 1px #fff;color:#726f6f}h4{font-size:20px}.card-content>a:last-child{margin-top:20px;display:inline-block;font-size:12px}.patchstack-logo{background-image:url("data:image/svg+xml,%3Csvg width='50' height='36' viewBox='0 0 50 36' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0 36H12.4997V27H0V36Z' fill='%23AFE614'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12.502 36H25.0017V27H12.502V36Z' fill='%236EBE00'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M25 26.9999H49.9995V0H25V26.9999Z' fill='%23AFE614'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0 18.0002H24.9995V0.000244141H0V18.0002Z' fill='%236EBE00'/%3E%3C/svg%3E");display:block;width:50px;height:36px;position:absolute;top:17px;right:10px}
15 </style>
16 </head>
17 <body>
18 <div class="container">
19 <div class="row">
20 <div class="col s12">
21 <div class="card">
22 <div class="card-content grey lighten-4">
23 <div style="overflow: hidden; white-space: nowrap; text-overflow: ellipsis; padding-right:30px;"><?php _e( 'Access Denied', 'patchstack' ); ?> - <?php echo esc_url( 'http' . ( ( $_SERVER['SERVER_PORT'] == 443 ) ? 's://' : '://' ) . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'] ); ?>
24 <div>
25 <a href="https://patchstack.com" class="patchstack-logo" target="_blank"></a>
26 </div>
27 </div>
28 </div>
29 <div class="card-content">
30 <h4><?php _e( 'Error Code', 'patchstack' ); ?> <?php echo esc_html( $fid ); ?></h4>
31 <p><?php echo sprintf( __( 'This request has been blocked by <a href="%s" target="_blank">Patchstack</a> Web Application Firewall.', 'patchstack' ), 'https://patchstack.com' ); ?></p>
32 <p><?php _e( 'If you are a legitimate user, contact the administrator of the site with above error code if this message persists.', 'patchstack' ); ?></p>
33 <a href="<?php echo esc_url( get_site_url() ); ?>"><?php _e( 'Return To Homepage', 'patchstack' ); ?></a>
34 </div>
35 </div>
36 </div>
37 </div>
38 </div>
39 </body>
40 </html>
41