-
Notifications
You must be signed in to change notification settings - Fork 3
/
flash0.html
146 lines (144 loc) · 5.08 KB
/
flash0.html
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>CYD ESP32Marauder Installer</title>
<img src="Images/flashlogo.png" alt="Logo" class="logo">
<meta name="description" content="Easily allows users to install the ESP32-Marauder firmware on the Cheap-Yellow-Display." />
<meta name="viewport" content="width=device-width" />
<meta name="color-scheme" content="dark light" />
<style>
body {
font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, sans-serif;
padding: 0;
margin: 0;
line-height: 1.4;
}
fieldset {
margin: 20px;
padding: 14px;
border-radius: 20px;
background-color: rgba(255, 255, 255, 0.1);
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
display: inline-block;
border: none;
}
legend {
font-size: 28px;
font-weight: bold;
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(2px);
border-radius: 20px;
padding: 10px 20px;
color: white;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}
label {
font-size: 20px;
font-weight: bold;
color: #fff;
}
.invisible {
visibility: hidden;
}
.hidden {
display: none;
}
esp-web-install-button[install-unsupported] {
visibility: inherit;
}
.logo {
max-width: 400px;
display: block;
margin-left: auto;
margin-right: auto;
}
.footer {
color: #FFF;
margin-bottom: 0px;
margin-top: 8em;
border-top: 2px solid #FF1493;
padding-top: 30px;
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
}
.wrapper {
display: flex;
justify-content: center;
}
@media (prefers-color-scheme: dark) {
body {
background-color: #333;
color: #fff;
}
a {
color: #00FFFF;
}
}
</style>
<script type="module" src="https://unpkg.com/[email protected]/dist/web/install-button.js?module"></script>
</head>
<body>
<center>
<p class="wrapper" align="center">
This utility is designed to flash the ESP32-Marauder onto a CYD (Cheap Yellow Display). <br>
In the current (NoGPS) versions, the feature to detect Pwnagotchi within the WiFi sniffing menu is operational. <br>
Efforts are underway to enhance this functionality, allowing GPS to be activated while maintaining the ability to detect Pwnagotchi.
</p>
<p class="wrapper" align="center">
After flashing check out the <a href="https://github.com/ATOMNFT/CYD-ESP32Marauder/tree/master/Evil%20Portal%20Stuff">SD Evil Portal Fix</a>
</p>
<fieldset>
<legend>13.10 Marauder-Choose Your Device:</legend>
<select id="select-13.10">
<option value="" selected disabled>Choose a device</option>
<option value="cyd">13.10 CYD Micro-USB only</option>
<option value="cydnogps">13.10 CYD Micro-USB only (No GPS)</option>
<option value="cyd2usb">13.10 CYD with 2 USB</option>
<option value="cyd2usb-nogps">13.10 CYD with 2 USB (No GPS)</option>
</select>
</fieldset>
<fieldset>
<legend>1.0.0 Marauder-Choose Your Device:</legend>
<select id="select-1.0.0">
<option value="" selected disabled>Choose a device</option>
<option value="cydnogps_1.0.0">1.0.0 CYD Micro-USB only (No GPS)</option>
<option value="cyd2usb-nogps_1.0.0">1.0.0 CYD with 2 USB (No GPS)</option>
<option value="manifest_cyd-gps_1.0.0" /> 1.0.0 CYD Micro-USB only (With GPS)</option>
<option value="manifest_cyd2usb-gps_1.0.0" /> 1.0.0 CYD with 2 USB (With GPS)</option>
</select>
</fieldset>
<p class="button-row" align="center">
<esp-web-install-button class="invisible"></esp-web-install-button>
</p>
</center>
<script>
document.getElementById('select-13.10').addEventListener('change', (event) => {
const button = document.querySelector('esp-web-install-button');
button.manifest = `web/manifest_${event.target.value}.json`;
button.classList.remove('invisible');
});
document.getElementById('select-1.0.0').addEventListener('change', (event) => {
const button = document.querySelector('esp-web-install-button');
button.manifest = `web/manifest_${event.target.value}.json`;
button.classList.remove('invisible');
});
// Visitor counter
window.addEventListener('DOMContentLoaded', (event) => {
if (localStorage.getItem('page_view_count')) {
localStorage.setItem('page_view_count', Number(localStorage.getItem('page_view_count')) + 1);
} else {
localStorage.setItem('page_view_count', 1);
}
document.getElementById('visitor-counter').innerText = `Visitor count: ${localStorage.getItem('page_view_count')}`;
});
</script>
<div class="footer">
✨ <a href="https://github.com/ATOMNFT/CM-Box" style="color:#00FFFF;">CM-Box</a> —
Installer powered by — <a href="https://esphome.github.io/esp-web-tools/" style="color:#00FFFF;"> ESP Web Tools</a> 🛠️
<p id="visitor-counter"></p>
</div>
</body>
</html>