forked from DarkModderVC/PS4JB
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfunctions.js
247 lines (236 loc) · 12.9 KB
/
functions.js
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
var confirmJailbreak = true;
function jb_finished()
{
if(main_ret == 179 || main_ret == 0)
{
alert("Jailbreak Complete!");
}
else if(confirmJailbreak)
alert("Jailbreak failed! Reboot your PS4 and try again.");
else
alert("Jailbreak Skipped!! Start running Payloads !!");
}
function mira_finished()
{
setTimeout(function(){alert("Stabilizing your PS4.. Please Wait this might take few seconds!!\nNote: Wait till Success message appears !! "); }, 5000);
setTimeout(function(){alert("Load Successful!!");}, 20000);
}
function payload_finished()
{
alert("Load Successful!!");
}
function SC(x)
{
return '<script src="'+x+'.js"></scr'+'ipt>';
}
function MIRA(x)
{
return SC('mira/'+x);
}
function JB(x)
{
return SC('jb/'+x);
}
function PAYLOAD(x)
{
return SC('payloads/'+x);
}
function load_mira()
{
document.write(MIRA('mira')+MIRA('mira2')+MIRA('c-code')+'<script>mira_finished();</scr'+'ipt>');
if(document.getElementById('table') == null){
document.write('<table id="table" align="center" style="width:500px;margin-top:150px;">'+
'<tr>'+
'<td colspan="2" align="center"><h1>PS4 Jailbreak 6.72</h1></td>'+
'</tr>'+
'<tr>'+
'<td align="center" colspan="2"><a href="#" onclick="load_mira(); return false">MIRA + HEN</a>'+
'<a href="#" onclick="load_mira_nohb(); return false" style="padding-left:50px;padding-right:50px">MIRA No HB</a>'+
'<a href="#" onclick="load_netcat(); return false">Bin Loader</a></td>'+
'</tr>'+
'<tr><td><br/></td></tr>'+
'<tr>'+
'<td colspan="2" align="center"><h1>Payloads</h1></td>'+
'</tr>'+
'<tr>'+
'<td align="center" width="50%"><a href="#" onclick="load_payload(\'app2usb\'); return false">App2USB</a></td>'+
'<td align="center" width="50%"><a href="#" onclick="load_payload(\'backup\'); return false">BackUp</a></td>'+
'</tr><tr><td><br/></td></tr>'+
'<tr>'+
'<td align="center" width="50%"><a href="#" onclick="load_payload(\'disableupdates\'); return false">Disable Updates</a></td>'+
'<td align="center" width="50%"><a href="#" onclick="load_payload(\'enableupdates\'); return false">Enable Updates</a></td>'+
'</tr><tr><td><br/></td></tr>'+
'<tr>'+
'<td align="center" width="50%"><a href="#" onclick="load_payload(\'dumper\'); return false">Dumper</a></td>'+
'<td align="center" width="50%"><a href="#" onclick="load_payload(\'kerneldumper\'); return false">Kernel Dumper</a></td>'+
'</tr><tr><td><br/></td></tr>'+
'<tr>'+
'<td align="center" width="50%"><a href="#" onclick="load_payload(\'enablebrowser\'); return false">Enable Browser</a></td>'+
'<td align="center" width="50%"><a href="#" onclick="load_payload(\'fanthreshold\'); return false">Fan Threshold</a></td>'+
'</tr><tr><td><br/></td></tr>'+
'<tr>'+
'<td align="center" width="50%"><a href="#" onclick="load_payload(\'ftp\'); return false">FTP</a></td>'+
'<td align="center" width="50%"><a href="#" onclick="load_payload(\'historyblocker\'); return false">History Blocker</a></td>'+
'</tr><tr><td><br/></td></tr>'+
'<tr>'+
'<td align="center" width="50%"><a href="#" onclick="load_payload(\'kernelclock\'); return false">Kernel Clock</a></td>'+
'<td align="center" width="50%"><a href="#" onclick="load_payload(\'linuxloader\'); return false">Linux Loader</a></td>'+
'</tr><tr><td><br/></td></tr>'+
'<tr>'+
'<td align="center" width="50%"><a href="#" onclick="load_payload(\'restore\'); return false">Restore</a></td>'+
'<td align="center" width="50%"><a href="#" onclick="load_payload(\'rifrenamer\'); return false">RIF Renamer</a></td>'+
'</tr>'+
'</table>');
}
}
function load_mira_nohb()
{
document.write(MIRA('mira')+MIRA('mira3')+MIRA('c-code')+'<script>mira_finished();</scr'+'ipt>');
if(document.getElementById('table') == null){
document.write('<table id="table" align="center" style="width:500px;margin-top:150px;">'+
'<tr>'+
'<td colspan="2" align="center"><h1>PS4 Jailbreak 6.72</h1></td>'+
'</tr>'+
'<tr>'+
'<td align="center" colspan="2"><a href="#" onclick="load_mira(); return false">MIRA + HEN</a>'+
'<a href="#" onclick="load_mira_nohb(); return false" style="padding-left:50px;padding-right:50px">MIRA No HB</a>'+
'<a href="#" onclick="load_netcat(); return false">Bin Loader</a></td>'+
'</tr>'+
'<tr><td><br/></td></tr>'+
'<tr>'+
'<td colspan="2" align="center"><h1>Payloads</h1></td>'+
'</tr>'+
'<tr>'+
'<td align="center" width="50%"><a href="#" onclick="load_payload(\'app2usb\'); return false">App2USB</a></td>'+
'<td align="center" width="50%"><a href="#" onclick="load_payload(\'backup\'); return false">BackUp</a></td>'+
'</tr><tr><td><br/></td></tr>'+
'<tr>'+
'<td align="center" width="50%"><a href="#" onclick="load_payload(\'disableupdates\'); return false">Disable Updates</a></td>'+
'<td align="center" width="50%"><a href="#" onclick="load_payload(\'enableupdates\'); return false">Enable Updates</a></td>'+
'</tr><tr><td><br/></td></tr>'+
'<tr>'+
'<td align="center" width="50%"><a href="#" onclick="load_payload(\'dumper\'); return false">Dumper</a></td>'+
'<td align="center" width="50%"><a href="#" onclick="load_payload(\'kerneldumper\'); return false">Kernel Dumper</a></td>'+
'</tr><tr><td><br/></td></tr>'+
'<tr>'+
'<td align="center" width="50%"><a href="#" onclick="load_payload(\'enablebrowser\'); return false">Enable Browser</a></td>'+
'<td align="center" width="50%"><a href="#" onclick="load_payload(\'fanthreshold\'); return false">Fan Threshold</a></td>'+
'</tr><tr><td><br/></td></tr>'+
'<tr>'+
'<td align="center" width="50%"><a href="#" onclick="load_payload(\'ftp\'); return false">FTP</a></td>'+
'<td align="center" width="50%"><a href="#" onclick="load_payload(\'historyblocker\'); return false">History Blocker</a></td>'+
'</tr><tr><td><br/></td></tr>'+
'<tr>'+
'<td align="center" width="50%"><a href="#" onclick="load_payload(\'kernelclock\'); return false">Kernel Clock</a></td>'+
'<td align="center" width="50%"><a href="#" onclick="load_payload(\'linuxloader\'); return false">Linux Loader</a></td>'+
'</tr><tr><td><br/></td></tr>'+
'<tr>'+
'<td align="center" width="50%"><a href="#" onclick="load_payload(\'restore\'); return false">Restore</a></td>'+
'<td align="center" width="50%"><a href="#" onclick="load_payload(\'rifrenamer\'); return false">RIF Renamer</a></td>'+
'</tr>'+
'</table>');
}
}
function load_JB()
{
confirmJailbreak = confirm("Shall We Start with PS4 Jailbreak 6.72?\nNote: Click 'Cancel' if Jailbreak is already Complete after Starting your PS4!!")
if(confirmJailbreak){
document.write(JB('c-code')+'<script>jb_finished();</scr'+'ipt>');
}
}
function load_netcat()
{
document.write(MIRA('mira')+MIRA('c-code')+'<script>alert("Awaiting Payload !!");</scr'+'ipt>');
if(document.getElementById('table') == null){
document.write('<table id="table" align="center" style="width:500px;margin-top:150px;">'+
'<tr>'+
'<td colspan="2" align="center"><h1>PS4 Jailbreak 6.72</h1></td>'+
'</tr>'+
'<tr>'+
'<td align="center" colspan="2"><a href="#" onclick="load_mira(); return false">MIRA + HEN</a>'+
'<a href="#" onclick="load_mira_nohb(); return false" style="padding-left:50px;padding-right:50px">MIRA No HB</a>'+
'<a href="#" onclick="load_netcat(); return false">Bin Loader</a></td>'+
'</tr>'+
'<tr><td><br/></td></tr>'+
'<tr>'+
'<td colspan="2" align="center"><h1>Payloads</h1></td>'+
'</tr>'+
'<tr>'+
'<td align="center" width="50%"><a href="#" onclick="load_payload(\'app2usb\'); return false">App2USB</a></td>'+
'<td align="center" width="50%"><a href="#" onclick="load_payload(\'backup\'); return false">BackUp</a></td>'+
'</tr><tr><td><br/></td></tr>'+
'<tr>'+
'<td align="center" width="50%"><a href="#" onclick="load_payload(\'disableupdates\'); return false">Disable Updates</a></td>'+
'<td align="center" width="50%"><a href="#" onclick="load_payload(\'enableupdates\'); return false">Enable Updates</a></td>'+
'</tr><tr><td><br/></td></tr>'+
'<tr>'+
'<td align="center" width="50%"><a href="#" onclick="load_payload(\'dumper\'); return false">Dumper</a></td>'+
'<td align="center" width="50%"><a href="#" onclick="load_payload(\'kerneldumper\'); return false">Kernel Dumper</a></td>'+
'</tr><tr><td><br/></td></tr>'+
'<tr>'+
'<td align="center" width="50%"><a href="#" onclick="load_payload(\'enablebrowser\'); return false">Enable Browser</a></td>'+
'<td align="center" width="50%"><a href="#" onclick="load_payload(\'fanthreshold\'); return false">Fan Threshold</a></td>'+
'</tr><tr><td><br/></td></tr>'+
'<tr>'+
'<td align="center" width="50%"><a href="#" onclick="load_payload(\'ftp\'); return false">FTP</a></td>'+
'<td align="center" width="50%"><a href="#" onclick="load_payload(\'historyblocker\'); return false">History Blocker</a></td>'+
'</tr><tr><td><br/></td></tr>'+
'<tr>'+
'<td align="center" width="50%"><a href="#" onclick="load_payload(\'kernelclock\'); return false">Kernel Clock</a></td>'+
'<td align="center" width="50%"><a href="#" onclick="load_payload(\'linuxloader\'); return false">Linux Loader</a></td>'+
'</tr><tr><td><br/></td></tr>'+
'<tr>'+
'<td align="center" width="50%"><a href="#" onclick="load_payload(\'restore\'); return false">Restore</a></td>'+
'<td align="center" width="50%"><a href="#" onclick="load_payload(\'rifrenamer\'); return false">RIF Renamer</a></td>'+
'</tr>'+
'</table>');
}
}
function load_payload(payload)
{
document.write(PAYLOAD('mira')+PAYLOAD(payload)+PAYLOAD('c-code')+'<script>payload_finished();</scr'+'ipt>');
if(document.getElementById('table') == null){
document.write('<table id="table" align="center" style="width:500px;margin-top:150px;">'+
'<tr>'+
'<td colspan="2" align="center"><h1>PS4 Jailbreak 6.72</h1></td>'+
'</tr>'+
'<tr>'+
'<td align="center" colspan="2"><a href="#" onclick="load_mira(); return false">MIRA + HEN</a>'+
'<a href="#" onclick="load_mira_nohb(); return false" style="padding-left:50px;padding-right:50px">MIRA No HB</a>'+
'<a href="#" onclick="load_netcat(); return false">Bin Loader</a></td>'+
'</tr>'+
'<tr><td><br/></td></tr>'+
'<tr>'+
'<td colspan="2" align="center"><h1>Payloads</h1></td>'+
'</tr>'+
'<tr>'+
'<td align="center" width="50%"><a href="#" onclick="load_payload(\'app2usb\'); return false">App2USB</a></td>'+
'<td align="center" width="50%"><a href="#" onclick="load_payload(\'backup\'); return false">BackUp</a></td>'+
'</tr><tr><td><br/></td></tr>'+
'<tr>'+
'<td align="center" width="50%"><a href="#" onclick="load_payload(\'disableupdates\'); return false">Disable Updates</a></td>'+
'<td align="center" width="50%"><a href="#" onclick="load_payload(\'enableupdates\'); return false">Enable Updates</a></td>'+
'</tr><tr><td><br/></td></tr>'+
'<tr>'+
'<td align="center" width="50%"><a href="#" onclick="load_payload(\'dumper\'); return false">Dumper</a></td>'+
'<td align="center" width="50%"><a href="#" onclick="load_payload(\'kerneldumper\'); return false">Kernel Dumper</a></td>'+
'</tr><tr><td><br/></td></tr>'+
'<tr>'+
'<td align="center" width="50%"><a href="#" onclick="load_payload(\'enablebrowser\'); return false">Enable Browser</a></td>'+
'<td align="center" width="50%"><a href="#" onclick="load_payload(\'fanthreshold\'); return false">Fan Threshold</a></td>'+
'</tr><tr><td><br/></td></tr>'+
'<tr>'+
'<td align="center" width="50%"><a href="#" onclick="load_payload(\'ftp\'); return false">FTP</a></td>'+
'<td align="center" width="50%"><a href="#" onclick="load_payload(\'historyblocker\'); return false">History Blocker</a></td>'+
'</tr><tr><td><br/></td></tr>'+
'<tr>'+
'<td align="center" width="50%"><a href="#" onclick="load_payload(\'kernelclock\'); return false">Kernel Clock</a></td>'+
'<td align="center" width="50%"><a href="#" onclick="load_payload(\'linuxloader\'); return false">Linux Loader</a></td>'+
'</tr><tr><td><br/></td></tr>'+
'<tr>'+
'<td align="center" width="50%"><a href="#" onclick="load_payload(\'restore\'); return false">Restore</a></td>'+
'<td align="center" width="50%"><a href="#" onclick="load_payload(\'rifrenamer\'); return false">RIF Renamer</a></td>'+
'</tr>'+
'</table>');
}
}