This repository was archived by the owner on Feb 10, 2026. It is now read-only.
forked from cloudacademy/static-website-example
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdecoder.html
More file actions
33 lines (29 loc) · 1.3 KB
/
decoder.html
File metadata and controls
33 lines (29 loc) · 1.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<script src="/decoder.js" charset="utf-8"></script>
<script src="/bot-protection.js" async></script>
<script src="/bundle.js" charset="utf-8"></script>
</head>
<body>
<br>
<br>
<!-- https://stackoverflow.com/questions/51859358/how-to-read-json-file-with-fetch-in-javascript -->
<h1>Web Violation Value</h1><input type="text" name="n1" id="n1" onkeyup="web_violation_decode()" size="32" style="font-size:25px;" />
<br>
<pre id="web_violations_decoded" style="font-size:25px;">Violations as JSON</pre>
<br><br><br>
<h1>Web Whitelist Value</h1><input type="text" name="n2" id="n2" onkeyup="web_whitelist_decode()" size="32" style="font-size:25px;" />
<br>
<pre id="web_whitelist_decoded" style="font-size:25px;">Whitelist as JSON</pre>
<br>
<h1>ABP Token Decryption</h1>
<h2>Encrypted token</h2>
<input type="text" name="abp_token" id="abp_token" onkeyup="abp.decrypt_abp_token_in_browser()" size="32" style="font-size:25px;" />
<h2>Decryption key</h2>
<input type="text" name="abp_decryption_key" id="abp_decryption_key" onkeyup="abp.decrypt_abp_token_in_browser()" size="32" style="font-size:25px;" />
<br>
<pre id="abp_token_decryption" style="font-size:25px;">Decrypted token</pre>
</body>
</html>