forked from nameistaken666/Bunker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlauncher.html
251 lines (245 loc) · 7.05 KB
/
launcher.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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
<!DOCTYPE html>
<html>
<head>
<title>Classes</title>
<link rel="icon" href="https://ssl.gstatic.com/classroom/favicon.png">
<style>
body{
background-color: #000;
}
*{
color: #fff;
}
button{
background-color: transparent;
border: 2px solid red;
display: block;
margin-bottom: 3em;
cursor: pointer;
}
span{
font-family: monospace;
}
select, select *{
background-color: rgb(20,20,20);
color: #FFF !important;
font-size: 1em;
border-radius: 5px;
}
.bigg{
width: 99%;
height: 50%;
}
.emph{
color:red;
font-size: 2em;
font-family: arial;
}
.column {
float: left;
width: 33%;
border: 1px solid white;
height: 90vh;
text-align: center;
}
.row:after {
content: "";
display: table;
clear: both;
}
div h4{
margin: 0px;
font-size:2em;
font-family: monospace;
}
div p{
font-family: arial;
padding-left: 2.5vw;
padding-right: 2.5vw;
}
@media screen and (max-width: 600px) {
.column {
width: 100%;
}
iframe{
width: 99%;
}
}
.c_off{
margin: 2em;
display: flex;
justify-content: center;
}
.spb button{
font-size: 1.5em;
}
/*stolen off internet*/
.glow-on-hover {
width: 220px;
height: 50px;
border: none;
outline: none;
color: #fff;
background: #111;
cursor: pointer;
position: relative;
z-index: 0;
border-radius: 10px;
}
.glow-on-hover:before {
content: '';
/*background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);*/
background: linear-gradient(45deg, rgba(0,0,0,1) 0%, rgba(36,36,36,1) 11%, rgba(55,55,55,1) 27%, rgba(77,77,77,1) 43%, rgba(119,119,119,1) 56%, rgba(93,93,93,1) 72%, rgba(62,62,62,1) 90%, rgba(0,0,0,1) 100%);
position: absolute;
top: -2px;
left:-2px;
background-size: 400%;
z-index: -1;
filter: blur(5px);
width: calc(100% + 4px);
height: calc(100% + 4px);
animation: glowing 20s linear infinite;
opacity: 0;
transition: opacity .3s ease-in-out;
border-radius: 10px;
}
.glow-on-hover:active {
color: #000
}
.glow-on-hover:active:after {
background: transparent;
}
.glow-on-hover:hover:before {
opacity: 1;
}
.glow-on-hover:after {
z-index: -1;
content: '';
position: absolute;
width: 100%;
height: 100%;
background: #111;
left: 0;
top: 0;
border-radius: 10px;
}
@keyframes glowing {
0% { background-position: 0 0; }
50% { background-position: 400% 0; }
100% { background-position: 0 0; }
}
</style>
</head>
<body>
<div class="row">
<div class="column" id="ifhst">
<h4>INFORMATION</h4>
<p>Bünker launch page</p>
<p>This work is licensed under the MIT license<br>Features may be broken or missing<br>Subject to change</p>
<p>This work follows the forward linking security policy</p>
<p id="closew"></p>
</div>
<div class="column" id="upd_clm">
<h4>UPDATES</h4>
<p>Current version: <span id="auto-vs">detecting</span></p>
<p id="aut">Checking for updates...</p>
</div>
<div class="column">
<h4>LAUNCH</h4>
<p>Bunker launches in an about:blank page, which makes it invisible to both history and extensions that monitor your screen</p>
<p>files: <span id="cload">loading...</span></p>
<p>select opening provider: </p><select style="color:black;" id="provi">
<option value="https://javascythe.github.io/provider">*.github.io</option>
<option value="https://provider.4sure.ml">*.4sure.ml</option>
<option value="https://provider-nu.vercel.app/">*.vercel.app</option>
<option value="https://provider.i10.repl.co">*.repl.co</option>
<option value="http://uv-provider.surge.sh/">*.surge.sh</option>
<option value="https://twisty-ruddy-snickerdoodle.glitch.me">*.glitch.me</option>
</select>
<select style="color:black;" id="killsw">
<option value="1">Remove this page from history after launch</option>
<option value="0">Keep this page after launch</option>
</select>
<div class="c_off spb" style="margin-top: 3em;">
<button onclick="initB();" class="glow-on-hover" type="button">LAUNCH BÜNKER</button>
</div>
<div class="c_off">
<button onclick="kill();">Remove this tab now (without opening bunker)</button>
</div>
</div>
</div>
<div style="display:none">
<script>
const ver = "v7-beta";
document.getElementById("auto-vs").textContent = "bunker-"+ver;
function dlnew(dl){
var ifr = document.createElement("iframe");
ifr.setAttribute("src", dl);
ifr.setAttribute("class", "bigg");
document.getElementById("upd_clm").appendChild(ifr);
}
async function update(){
const links = [
"https://instafreeze.github.io"
];
for(var i in links){
try{
var d = await fetch(links[i]+"/latest/manifest.json", {cache: "no-store"});
d = await d.json();
console.log(d);
if(ver != d["version"]){
var dl = links[i]+`/index.html?intent=update&target=${d["version"]}&source=${ver}`
document.getElementById("aut").innerHTML = `<span class="emph">New update: ${d["title"]}</span><br>Severity: ${d["severity"]}<br>Download: <a href="javascript:dlnew('${dl}');">here</a>`
}else{
document.getElementById("aut").innerHTML="Bunker is up-to-date";
}
break;
}catch(e){
continue;
}
}
}
update();
function phase(code){
var x = window.open("");
x.document.write(code);
return x;
}
function pm(code,t){
document.getElementsByTagName("iframe")[0].contentWindow.postMessage({
"type": t,
"code": code
}, "*");
}
function kill(){
if(document.getElementById("killsw").value == "1"){
window.location.replace('https://classroom.google.com/u/0/h');
}
}
function initB(){
document.getElementById("closew").innerHTML = "THIS PAGE WILL REDIRECT TO GOOGLE CLASSROOM RIGHT AFTER BUNKER OPENS, SUCCESSFULLY OR NOT<br>Got an error? Make sure you have allowed popup (chrome: to the right of the address bar)";
var ir = document.createElement("iframe");
ir.setAttribute("src", document.getElementById("provi").value);
document.getElementById("ifhst").appendChild(ir);
setTimeout(function(){
//pm(`var x = window.open("");x.document.write(`);
var e = (function(){
if(window.__files == undefined){
document.getElementById("closew").textContent = "Failed to initialize bunker: compiled.js missing (reload the page and make sure you have extracted bunker-vX-beta.zip first)";
} else {
var d = window.__files["files"]["/root.html"];
return d;
}
})();
pm(`window.__files=${JSON.stringify(window.__files)}`, "exec");
pm(e, "load");
setTimeout(kill, 2000);
}, 2000);
}
</script>
<script src="compiled.js"></script>
<script>document.getElementById("cload").textContent = "loaded"</script>
<button onclick="kill();">Remove this tab now (without opening bunker)</button>
</div>
</body>
</html>