aboutsummaryrefslogtreecommitdiffhomepage
path: root/File-decryption/webapp/index.html
blob: c522c083bdf52e1d1167222d2a162e6cd80364e4 (plain)
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<!doctype html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <title>OpenCortex</title>
    <meta name="description" content="OpenCortex decrypt and decode.">
    <meta name="authors" content="Simone Margaritelli / Thomas Van Iseghem">

    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap" rel="stylesheet">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/all.min.css" integrity="sha512-SzlrxWUlpfuzQ+pcUCosxcglQRNAq/DZjVsC0lE40xsADsfeQoEypE+enwcOiGjk/bSuGGKHEyjSoQ1zVisanQ==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    
    <link rel="stylesheet" href="assets/css/style.css"/>
    <script src="assets/js/protobuf.min.js"></script>
    <script src="assets/js/sha1.js"></script>
    <script src="assets/js/json-viewer.js"></script>
    <script src="assets/js/file-processing.js"></script>
    <script src="assets/js/main.js"></script>
    
</head>

<body>
    <header>
        <img src="images/OpenCortex-logo.png" alt="OpenCortex-logo" class="header-logo">
        <h1 class="header-title">OpenCortex file decryption</h1>
    </header>
    
    <div class="content">
        <div class="content-container">
            <section class="decryption-form">
                <div class="enable-decryption">
                    <h2 class="section-title">Decrypt file</h2>
                    <label class="switch">
                        <input type="checkbox" id="decrypt-toggle">
                        <span class="slider round"></span>
                    </label>
                </div>
                <div class="serial-input" id="serial-form">
                    <h3>Enter your Quad Cortex serial number</h3>
                    <p>(leave blank for global encrypted file)</p>
                    <input type="text" id="serial-input" />
                </div>
            </section>

            <hr/>

            <section class="file-btns">
                <label class="btn-cta file-input-label file-upload" id="file-input-label" for="file-upload">
                    <i class="fa-solid fa-cloud-arrow-up pr-5"></i> 
                    <p>Choose File</p> 
                </label>
                <input class="file-upload-input" id="file-upload" type="file">

                <button class="btn-cta file-download" id="file-download">
                    <i class="fa-solid fa-cloud-arrow-down pr-5"></i> 
                    <p>Download File</p>
                </button>
            </section>
                
            <hr/>

            <section class="file-decode">
                <div class="section-title">
                    <h3 class="title">Live decoding</h3>
                </div>
                <select id="protobuf-list">
                    <option value="">None</option>
                </select>
                <div>
                    <div id="decrypt-output" class="target"></div>
                </div>
            </section>
        </div>
    </div>
</body>

</html>