perimeter_x 1.4.0 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,196 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="utf-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1">
6
- <title>Access to this page has been denied.</title>
7
- <link href="https://fonts.googleapis.com/css?family=Open+Sans:300" rel="stylesheet">
8
- <style>
9
- html,body{
10
- margin: 0;
11
- padding: 0;
12
- font-family: 'Open Sans', sans-serif;
13
- color: #000;
14
- }
15
-
16
- a{
17
- color: #c5c5c5;
18
- text-decoration: none;
19
- }
20
-
21
- .container{
22
- align-items: center;
23
- display: flex;
24
- flex: 1;
25
- justify-content: space-between;
26
- flex-direction: column;
27
- height: 100%;
28
- }
29
-
30
- .container > div {
31
- width: 100%;
32
- display: flex;
33
- justify-content:center;
34
- }
35
-
36
- .container > div > div {
37
- display: flex;
38
- width: 80%;
39
- }
40
-
41
- .customer-logo-wrapper{
42
- padding-top: 2rem;
43
- flex-grow: 0;
44
- background-color: #fff;
45
- visibility: {{logoVisibility}};
46
- }
47
-
48
- .customer-logo{
49
- border-bottom: 1px solid #000;
50
- }
51
-
52
- .customer-logo > img{
53
- padding-bottom: 1rem;
54
- max-height: 50px;
55
- max-width: auto;
56
- }
57
-
58
- .page-title-wrapper{
59
- flex-grow: 2;
60
- }
61
- .page-title {
62
- flex-direction: column-reverse;
63
- }
64
-
65
- .content-wrapper{
66
- flex-grow: 5;
67
- }
68
- .content{
69
- flex-direction: column;
70
- }
71
-
72
- .page-footer-wrapper{
73
- align-items: center;
74
- flex-grow: 0.2;
75
- background-color: #000;
76
- color: #c5c5c5;
77
- font-size: 70%;
78
- }
79
-
80
- @media (min-width:768px){
81
- html,body{
82
- height: 100%;
83
- }
84
- }
85
- </style>
86
- <!-- Custom CSS -->
87
- {{#cssRef}}
88
- <link rel="stylesheet" type="text/css" href="{{cssRef}}" />
89
- {{/cssRef}}
90
- <script src="https://www.google.com/recaptcha/api.js" async defer></script>
91
- </head>
92
-
93
- <body>
94
- <section class="container">
95
- <div class="customer-logo-wrapper">
96
- <div class="customer-logo">
97
- <img src="{{customLogo}}" alt="Logo"/>
98
- </div>
99
- </div>
100
- <div class="page-title-wrapper">
101
- <div class="page-title">
102
- <h1>Please verify you are a human</h1>
103
- </div>
104
- </div>
105
- <div class="content-wrapper">
106
- <div class="content">
107
- <p>
108
- Please click "I am not a robot" to continue
109
- </p>
110
- <div class="g-recaptcha" data-sitekey="6Lcj-R8TAAAAABs3FrRPuQhLMbp5QrHsHufzLf7b" data-callback="handleCaptcha" data-theme="dark">
111
- </div>
112
- <p>
113
- Access to this page has been denied because we believe you are using automation tools to browse the website.
114
- </p>
115
- <p>
116
- This may happen as a result of the following:
117
- </p>
118
- <ul>
119
- <li>
120
- Javascript is disabled or blocked by an extension (ad blockers for example)
121
- </li>
122
- <li>
123
- Your browser does not support cookies
124
- </li>
125
- </ul>
126
- <p>
127
- Please make sure that Javascript and cookies are enabled on your browser and that you are not blocking them from loading.
128
- </p>
129
- <p>
130
- Reference ID: #{{refId}}
131
- </p>
132
- </div>
133
- </div>
134
- <div class="page-footer-wrapper">
135
- <div class="page-footer">
136
- <p>
137
- Powered by
138
- <a href="https://www.perimeterx.com/whywasiblocked">PerimeterX</a>
139
- , Inc.
140
- </p>
141
- </div>
142
- </div>
143
- </section>
144
- <!-- Captcha -->
145
- <script>
146
- function captchaSolved(res) {
147
- window.location.href = '/px/captcha_callback?status=' + res.status;
148
- }
149
-
150
- function handleCaptcha(response) {
151
- var appId = '{{appId}}';
152
- var vid = '{{vid}}';
153
- var uuid = '{{uuid}}';
154
- var collectorUrl = '{{{hostUrl}}}';
155
- var req = new XMLHttpRequest();
156
- req.open('POST', collectorUrl + '/api/v1/collector/captcha');
157
- req.setRequestHeader('Content-Type', 'application/json');
158
- req.addEventListener('error', function() {
159
- captchaSolved({
160
- status: 1
161
- });
162
- });
163
- req.addEventListener('cancel', function() {
164
- captchaSolved({
165
- status: 2
166
- });
167
- });
168
- req.addEventListener('load', function() {
169
- if (req.status == 200) {
170
- try {
171
- var responseJSON = JSON.parse(req.responseText);
172
- return captchaSolved(responseJSON);
173
- } catch (ex) {}
174
- }
175
- captchaSolved({
176
- status: 3
177
- });
178
- });
179
- req.send(JSON.stringify({
180
- appId: appId,
181
- uuid: uuid,
182
- vid: vid,
183
- pxCaptcha: response,
184
- hostname: window.location.hostname,
185
- request: {
186
- url: window.location.href
187
- }
188
- }));
189
- }
190
- </script>
191
- <!-- Custom Script -->
192
- {{#jsRef}}
193
- <script src="{{jsRef}}"></script>
194
- {{/jsRef}}
195
- </body>
196
- </html>
@@ -1,176 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="utf-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1">
6
- <title>Access to this page has been denied.</title>
7
- <link href="https://fonts.googleapis.com/css?family=Open+Sans:300" rel="stylesheet">
8
- <style>
9
- html, body {
10
- margin: 0;
11
- padding: 0;
12
- font-family: 'Open Sans', sans-serif;
13
- color: #000;
14
- }
15
- a {
16
- color: #c5c5c5;
17
- text-decoration: none;
18
- }
19
- .container {
20
- align-items: center;
21
- display: flex;
22
- flex: 1;
23
- justify-content: space-between;
24
- flex-direction: column;
25
- height: 100%;
26
- }
27
- .container > div {
28
- width: 100%;
29
- display: flex;
30
- justify-content: center;
31
- }
32
- .container > div > div {
33
- display: flex;
34
- width: 80%;
35
- }
36
- .customer-logo-wrapper {
37
- padding-top: 2rem;
38
- flex-grow: 0;
39
- background-color: #fff;
40
- visibility: {{logoVisibility}};
41
- }
42
- .customer-logo {
43
- border-bottom: 1px solid #000;
44
- }
45
- .customer-logo > img {
46
- padding-bottom: 1rem;
47
- max-height: 50px;
48
- max-width: 100%;
49
- }
50
- .page-title-wrapper {
51
- flex-grow: 2;
52
- }
53
- .page-title {
54
- flex-direction: column-reverse;
55
- }
56
- .content-wrapper {
57
- flex-grow: 5;
58
- }
59
- .content {
60
- flex-direction: column;
61
- }
62
- .page-footer-wrapper {
63
- align-items: center;
64
- flex-grow: 0.2;
65
- background-color: #000;
66
- color: #c5c5c5;
67
- font-size: 70%;
68
- }
69
- @media (min-width: 768px) {
70
- html, body {
71
- height: 100%;
72
- }
73
- }
74
- </style>
75
- <!-- Custom CSS -->
76
- {{#cssRef}}
77
- <link rel="stylesheet" type="text/css" href="{{cssRef}}" />
78
- {{/cssRef}}
79
- <script src="https://www.google.com/recaptcha/api.js" async defer></script>
80
- </head>
81
-
82
- <body>
83
- <section class="container">
84
- <div class="customer-logo-wrapper">
85
- <div class="customer-logo">
86
- <img src="{{customLogo}}" alt="Logo"/>
87
- </div>
88
- </div>
89
- <div class="page-title-wrapper">
90
- <div class="page-title">
91
- <h1>Please verify you are a human</h1>
92
- </div>
93
- </div>
94
- <div class="content-wrapper">
95
- <div class="content">
96
- <p>
97
- Please click "I am not a robot" to continue
98
- </p>
99
- <div class="g-recaptcha" data-sitekey="6Lcj-R8TAAAAABs3FrRPuQhLMbp5QrHsHufzLf7b"
100
- data-callback="handleCaptcha" data-theme="dark">
101
- </div>
102
- <p>
103
- Access to this page has been denied because we believe you are using automation tools to browse the
104
- website.
105
- </p>
106
- <p>
107
- This may happen as a result of the following:
108
- </p>
109
- <ul>
110
- <li>
111
- Javascript is disabled or blocked by an extension (ad blockers for example)
112
- </li>
113
- <li>
114
- Your browser does not support cookies
115
- </li>
116
- </ul>
117
- <p>
118
- Please make sure that Javascript and cookies are enabled on your browser and that you are not blocking
119
- them from loading.
120
- </p>
121
- <p>
122
- Reference ID: #{{refId}}
123
- </p>
124
- </div>
125
- </div>
126
- <div class="page-footer-wrapper">
127
- <div class="page-footer">
128
- <p>
129
- Powered by
130
- <a href="https://www.perimeterx.com/whywasiblocked">PerimeterX</a>
131
- , Inc.
132
- </p>
133
- </div>
134
- </div>
135
- </section>
136
- <!-- Px -->
137
- <script>
138
- (
139
- function () {
140
- window._pxAppId = '{{appId}}';
141
- var p = document.getElementsByTagName("script")[0], s = document.createElement("script");
142
- s.async = 1;
143
- s.src = '//client.perimeterx.net/{{appId}}/main.min.js';
144
- p.parentNode.insertBefore(s, p);
145
- }()
146
- );
147
- </script>
148
- <!-- Captcha -->
149
- <script>
150
- window.px_vid = '{{vid}}';
151
- function handleCaptcha(response){
152
- var vid = '{{vid}}';
153
- var uuid = '{{uuid}}';
154
- var name = "_pxCaptcha";
155
-
156
- var expiryUtc = new Date(Date.now() + 1000 * 10).toUTCString();
157
-
158
- var cookieParts = [
159
- name,
160
- "=",
161
- btoa(JSON.stringify({r: response, v: vid, u: uuid})),
162
- "; expires=",
163
- expiryUtc,
164
- "; path=/"
165
- ];
166
-
167
- document.cookie = cookieParts.join("");
168
- location.reload();
169
- }
170
- </script>
171
- <!-- Custom Script -->
172
- {{#jsRef}}
173
- <script src="{{jsRef}}"></script>
174
- {{/jsRef}}
175
- </body>
176
- </html>