Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redesign of the HTML #13

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,5 @@ These modules can be divided into the following stages:
- Jonathan Levin (For the jailbreak toolkit)
- Lokihardt (For being able to pwn browsers within a wink)
- Sem Voigtländer (just a techie)
- J0113 (Redesign html)
- (@wwwtyro) https://github.com/wwwtyro/cryptico
8 changes: 0 additions & 8 deletions fuckoff.html

This file was deleted.

185 changes: 86 additions & 99 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,99 +1,86 @@
<!-- 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>
<!-- This Design was made by @J0113, nothing has been done to the JB code, I'm just a WEB dev, not iOS <3 -->
<html>

<head>
<title>Jailbreak Me 11</title>
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<link href="https://fonts.googleapis.com/css?family=Fredoka+One|Quicksand:300|Roboto+Mono" rel="stylesheet">
<link rel="stylesheet" href="styled.css">
<meta charset="utf-8"/>
<meta content="width=device-width,initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<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() {
// console.log("GET OUT OF HERE ETA KID!");
}

function clear_callback() {
document.getElementById('logbox').innerText=""; //clear the callback element
}
//Overwrite document.write to write to our callback element
document.write = function(x){
document.getElementById('logbox').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>
</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>
</head>

<body>
<!-- Maybe consider a name change, JailBreak ME is kinda "old". "UnJailed" "BreakOUT" ect. <3 (But JailbreakME also brings back good memories so yeah) -->
<div class="w3-center">
<div class="w3-display-container" style="height:35vw;">
<p class="animation quicksand" style="font-size: 14.5vw;">JailBreak Me</p>
<p class="w3-text-blue-grey roboto w3-display-bottomright w3-padding-large" style="font-size: 4.5vw;">By Sem Voigtländer</p>
</div>
<p class="w3-text-blue-grey roboto">64Bit: 8.4.1 ~ 9.3.3 & 11.3.1<br>32Bit: 8.4.1 & 9.1 ~ 9.3.4</p>
</div>
<div class="w3-center w3-display-container" style="padding-top: 10vw;">
<a onclick="go();">
<div class="w3-padding">
<p class="magicbtn">Do Magic</p>
</div>
</a>
<p class="w3-text-blue-grey roboto w3-display-bottommiddle" style="font-size: 3.5vw;">Press with caution.</p>
</div>
<div class="w3-center">
<div class="w3-padding">
<textarea rows="4" id="logbox" readonly></textarea>
</div>
</div>
<div class="w3-display-bottommiddle w3-padding">
<p class="w3-text-blue-grey roboto" style="font-size: 4vw;">Design by @J0113</p>
</div>
</body>

</html>
73 changes: 0 additions & 73 deletions style.css

This file was deleted.

102 changes: 102 additions & 0 deletions styled.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
body{
height: 100vh;
background-image: linear-gradient(#000032, #000015);
background-color: #00001a;
}

#logbox{
background: transparent;
color: white;
resize: none;
border: 1px solid transparent;
-moz-border-image: -moz-linear-gradient(top, #B700FF 0%, #4000FF 100%);
-webkit-border-image: -webkit-linear-gradient(top, #B700FF 0%, #4000FF 100%);
border-image: linear-gradient(to bottom, #B700FF 0%, #4000FF 100%);
border-image-slice: 1;
width: 100%;
}


/* ------ */
/* Fonts */
/* ------ */
.quicksand {
font-family: 'Quicksand', sans-serif;
}
.roboto {
font-family: 'Roboto Mono', monospace;
}
.fredoka {
font-family: 'Fredoka One', cursive;
}

/* The Magic Button :) */
.magicbtn{
font-size: 10vw;
font-family: 'Fredoka One', cursive;
background: -webkit-linear-gradient(#ff00ff, #1000ff);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
border: 1px solid transparent;
-moz-border-image: -moz-linear-gradient(top, #ff00ff 0%, #1000ff 100%);
-webkit-border-image: -webkit-linear-gradient(top, #ff00ff 0%, #1000ff 100%);
border-image: linear-gradient(to bottom, #ff00ff 0%, #1000ff 100%);
border-image-slice: 1;
}

/* ------------ */
/* Animation 1! */
/* ------------ */
.animation {
-webkit-animation: rainbow 20s infinite;
-ms-animation: rainbow 20s infinite;
animation: rainbow 20s infinite;
}

@-webkit-keyframes rainbow{
0%{color: #ff0000;}
8%{color: #ff8000;}
17%{color: #ffff00;}
25%{color: #80ff00;}
33%{color: #40ff00;}
42%{color: #00ff40;}
50%{color: #00ffbf;}
58%{color: #00bfff;}
67%{color: #0040ff;}
75%{color: #4000ff;}
83%{color: #bf00ff;}
92%{color: #ff00bf;}
100%{color: #ff0040;}
}

@-ms-keyframes rainbow{
0%{color: #ff0000;}
8%{color: #ff8000;}
17%{color: #ffff00;}
25%{color: #80ff00;}
33%{color: #40ff00;}
42%{color: #00ff40;}
50%{color: #00ffbf;}
58%{color: #00bfff;}
67%{color: #0040ff;}
75%{color: #4000ff;}
83%{color: #bf00ff;}
92%{color: #ff00bf;}
100%{color: #ff0040;}
}

@keyframes rainbow{
0%{color: #ff0000;}
8%{color: #ff8000;}
17%{color: #ffff00;}
25%{color: #80ff00;}
33%{color: #40ff00;}
42%{color: #00ff40;}
50%{color: #00ffbf;}
58%{color: #00bfff;}
67%{color: #0040ff;}
75%{color: #4000ff;}
83%{color: #bf00ff;}
92%{color: #ff00bf;}
100%{color: #ff0040;}
}