-
Notifications
You must be signed in to change notification settings - Fork 115
/
payload702.html
65 lines (60 loc) · 1.54 KB
/
payload702.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
<html>
<body onload="go()">
<script>
if(document.cookie.indexOf('kex=0') >= 0)
document.location.href = 'index702.html';
</script>
<script>
function print(){}
var scriptCode = '';
function preloadScripts(lst)
{
for(var i = 0; i < lst.length; i++)
{
var xhr = new XMLHttpRequest();
xhr.open('GET', lst[i], false);
xhr.send('');
scriptCode += xhr.responseText + '\n';
}
}
function done()
{
if(main_ret == 0 || main_ret == 179)
{
alert("You're all set!");
read_ptr_at(0);
}
else
alert("Jailbreak failed! Reboot your PS4 and try again.");
}
window.midExploit = function()
{
if(document.location.hash)
{
var s = decodeURIComponent(document.location.hash.substr(3));
preloadScripts(['702.js', 'jb702/c-code.js', 'mira702/mira.js', s, 'mira702/c-code.js'], go);
}
else
preloadScripts(['702.js', 'jb702/c-code.js', 'mira702/mira.js', 'mira702/c-code.js'], go);
}
window.postExploit = function()
{
document.cookie = 'kex=0';
setTimeout(function() //update the screen one last time...
{
eval.call(window, scriptCode);
done();
}, 100);
};
</script>
<script src="webkit-7.02/external/utils.js"></script>
<script src="webkit-7.02/external/int64.js"></script>
<script src="webkit-7.02/external/ps4.js"></script>
<button id="input1" onfocus="handle2()"></button>
<button id="input2"></button>
<button id="input3" onfocus="handle2()"></button>
<select id="select1">
<option value="value1">Value1</option>
</select>
</body>
</html>