CDRM-Project/templates/index.html

56 lines
2.0 KiB
HTML
Raw Normal View History

2024-09-09 00:13:39 +00:00
<!-- Extend the base HTML template -->
{% extends "base.html" %}
<!-- Extend CSS to add CSS for particular page -->
{% block css %}
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='css/index.css') }}">
{% endblock %}
<!-- Extend JS to add JS for particular page -->
{% block js %}
<script src="{{ url_for('static', filename='js/index.js') }}"></script>
{% endblock %}
<!-- Main body block -->
{% block main_body %}
<!-- Main -->
<main>
<!-- Heading -->
<h1>Send Widevine license request</h1>
<!-- Forms for entering widevine license request information -->
<div id="decrypt_form">
<label for="index_pssh">PSSH:</label>
<textarea id="index_pssh" onclick="this.placeholder =''" rows="1" cols="1" placeholder="AAAAW3Bzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAADsIARIQ62dqu8s0Xpa7z2FmMPGj2hoNd2lkZXZpbmVfdGVzdCIQZmtqM2xqYVNkZmFsa3IzaioCSEQyAA=="></textarea>
<label for="license_url">License URL:</label>
<textarea id="license_url" onclick="this.placeholder =''" rows="1" cols="1" placeholder="https://cwip-shaka-proxy.appspot.com/no_auth"></textarea>
<label for="proxy">Proxy:</label>
<textarea id="proxy" rows="1" cols="1"></textarea>
<label for="headers">Headers:</label>
<textarea id="headers" onclick="this.placeholder =''" rows="5" cols="1" placeholder="{'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:126.0) Gecko/20100101 Firefox/126.0'}"></textarea>
<label for="json">JSON:</label>
<textarea id="json" rows="5" cols="1"></textarea>
<label for="cookies">Cookies:</label>
<textarea id="cookies" rows="5" cols="1"></textarea>
<label for="data">Data:</label>
<textarea id="data" rows="2" cols="1"></textarea>
<button onclick="sendDecryption()" id="decrypt_button" type="button"><span class="lock-icon"></span>Decrypt!</button>
</div>
<div id="results">
<p id="keys_paragraph">RESULTS</p>
<p id="decrypt_results"></p>
</div>
</main>
{% endblock %}