-
Notifications
You must be signed in to change notification settings - Fork 129
/
index.html
123 lines (103 loc) · 2.96 KB
/
index.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
<!DOCTYPE html>
<html>
<head>
<title>PS4Brew 5.05</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
.loader {
position: absolute;
left: 50%;
top: 50%;
margin: -75px 0 0 -75px;
border: 10px solid #f3f3f3;
border-radius: 50%;
border-top: 10px solid #044595;
border-left: 10px solid #044595;
width: 120px;
height: 120px;
-webkit-animation: spin 1s linear infinite;
}
.info {
overflow: hidden;
position: fixed;
position: absolute;
top: 50%;
left: 50%;
font-size: 45px;
font-family: sans-serif;
transform: translate(-50%, -50%);
}
.credits {
overflow: hidden;
position: fixed;
position: absolute;
top: 90%;
left: 50%;
font-size: 16px;
font-family: sans-serif;
text-align: center;
transform: translate(-50%, -90%);
}
@-webkit-keyframes spin {
0% { -webkit-transform: rotate(0deg); }
100% { -webkit-transform: rotate(360deg); }
}
</style>
</head>
<body style="margin:0;">
<script>
window.didload = 0;
window.didpost = 0;
window.onload = function () {
window.didload = 1;
if (window.didpost == 1)
setTimeout(window.stage2, 1500);
}
window.postExpl = function () {
window.didpost = 1;
if (window.didload == 1)
setTimeout(window.stage2, 1500);
}
function allset() {
document.getElementById("loader").style.display = "none";
document.getElementById("allset").style.display = "block";
}
function awaitpl() {
document.getElementById("loader").style.display = "none";
document.getElementById("awaiting").style.display = "block";
}
function fail(info) {
document.getElementById("loader").style.display = "none";
document.getElementById("fail").style.display = "block";
}
</script>
<div id="loader" class="loader"></div>
<div id="awaiting" class="info" style="display:none;">
Awaiting Payload...
</div>
<div id="allset" class="info" style="display:none;">
You're all set!
</div>
<div id="fail" class="info" style="display:none;">
Something went wrong :(
</div>
<div id="badfw" class="info" style="display:none;">
Only firmware 5.05 is supported!
</div>
<div id="footer" class="credits">
<ul style="list-style: none;padding-left:0">
<li>Bug from qwertyoruiopz</li>
<li>Homebrew thanks to flatz, xvortex</li>
<li>Implementation by specter</li>
<li><3 OpenOrbis Team</li>
</ul>
</div>
<script src="./rop.js"></script>
<script src="./syscalls.js"></script>
<script src="./expl.js"></script>
<script src="./userland.js"></script>
<script src="./homebrew.js"></script>
<script src="./mira.js"></script>
<pre id="console"></pre>
</body>
</html>