-
Notifications
You must be signed in to change notification settings - Fork 20
/
index.html
99 lines (88 loc) · 3.44 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
<!-- Created by Sem Voigtlander -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<meta content="width=device-width,initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<title>
Jailbreak Me 11
</title>
<link href="style.css" rel="stylesheet" type="text/css"/>
<script src="modular.js" type="text/javascript">
</script>
<script type="text/javascript">
/* Configuration and Initialization */
window.fuckoffwenetakidcounter = 0;
ModularJS.config.modulebase = "modules";
/* Module imports */
Import('libcrypto');
Import('libsploit')
Import('libmacho');
/* Common functions */
function strip(html){
var doc = new DOMParser().parseFromString(html, 'text/html');
return doc.body.textContent || "";
}
//counter to trigger a bug in the handling of URI schemes
function vm_wenetakid_prot() {
if(window.fuckoffwenetakidcounter == 3) {
alert('I swear, leave me alone WEN ETA kid. Next try i will crash your safari to make you fuck off if you do not fuckoff rightnow.');
}
if(window.fuckoffwenetakidcounter > 3) {
window.location.href="fuckoff.html";
}
}
function clear_callback() {
document.getElementById('go').innerText=""; //clear the callback element
}
//Overwrite document.write to write to our callback element
document.write = function(x){
document.getElementById('go').innerHTML+=x;
};
//Simple function to write formatted strings to the callback element
function puts(str) {
console.log('[WebsploitFramework][Main]: '+strip(str.toString()));
document.write(str.toString()+"<br>");
}
</script>
</meta>
</head>
<body>
<script type="text/javascript">
//This function is called when the users presses the start button
var go = function() {
clear_callback();
console.log('[WebsploitFramework][Main]: '+'Starting...');
if(!sploit_main()) vm_wenetakid_prot();
};
</script>
<header>
Jailbreak Me
<br>
<i style="font-size: 13px !important;">
7.1 - 7.1.2
</i>
<br>
<i style="font-size:13px !important;">
9.1 - 9.3.4 (32b)
</i>
<br>
<!--<i style='font-size:13px !important;'>9.3 - 9.3.x (64b)</i><br>-->
<i style="font-size:13px !important;">
11.3.1 (i8, i8+)
</i>
</br>
</br>
</br>
</header>
<main>
<a class="go" href="#busy" id="go" onclick="go();">
Go
<noscript> (Please Enable Javascript) </noscript>
</a>
</main>
<footer>
Created by Sem Voigtländer
</footer>
</body>
</html>