This repository has been archived by the owner on May 28, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
old.html
187 lines (177 loc) · 8.06 KB
/
old.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
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
<!--This is the old page before the pull request for bootstrap styling.-->
<!DOCTYPE html>
<html>
<head>
<link rel="apple-touch-icon" sizes="180x180" href="https://switchcfw.karthik99999.cf/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="https://switchcfw.karthik99999.cf/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="https://switchcfw.karthik99999.cf/favicon/favicon-16x16.png">
<link rel="manifest" href="https://switchcfw.karthik99999.cf/favicon/site.webmanifest">
<link rel="mask-icon" href="https://switchcfw.karthik99999.cf/favicon/safari-pinned-tab.svg" color="#5bbad5">
<link rel="shortcut icon" href="https://switchcfw.karthik99999.cf/favicon/favicon.ico">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="msapplication-config" content="https://switchcfw.karthik99999.cf/favicon/browserconfig.xml">
<meta name="theme-color" content="#ffffff">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="google-site-verification" content="Dm8Ye5ulApS7WNlrmnLoT18C-1DI74zuRYR4MAn2A-I" />
<title>Fusee Gelee CFW Web Loader</title>
<style>
body {font-family: Arial;}
.tab {
overflow: hidden;
border: 1px solid #ccc;
background-color: #00c3e3;
}
.tab button {
background-color: inherit;
float: left;
border: none;
outline: none;
cursor: pointer;
padding: 14px 16px;
transition: 0.3s;
font-size: 17px;
}
.tab button:hover {
background-color: #00c3e3;
}
.tab button.active {
background-color: #ff4554;
}
.tabcontent {
display: none;
padding: 6px 12px;
border: 1px solid #ccc;
border-top: none;
background: linear-gradient(90deg, #F02D7D 50%, #19D719 50%);
}
.btnActivate {
background-color: dodgerblue;
border: none;
color: white;
padding: 15px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
}
.btnLog {
background-color: orange;
border: none;
color: white;
padding: 12px 25px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
}
</style>
</head>
<body>
<div class="tab">
<button class="tablinks" onclick="openTab(event, 'Welcome')" id="defaultOpen">Welcome</button>
<button class="tablinks" onclick="openTab(event, 'Windows')">Windows</button>
<button class="tablinks" onclick="openTab(event, 'Linux')">Linux</button>
<button class="tablinks" onclick="openTab(event, 'macOS/ChromeOS/Android')">macOS/ChromeOS/Android</button>
<button class="tablinks" onclick="openTab(event, 'FuseeGelee')">Fusée Gelée Launcher</button>
<button class="tablinks" onclick="openTab(event, 'Homebrew')">Homebrew</button>
</div>
<div id="Welcome" class="tabcontent">
<h2>Welcome to my version of the Fusee Gelee Web Launcher!</h2>
<p>Here, you can find instructions for your OS to hack your switch.</p>
<p>The source code for this site can be found <a href="https://github.com/Karthik99999/switch-cfw-web-loader">here</a></p>
<p>This is isn't tested that much. Be careful!</p>
<p>Huge thanks to the <a href="https://reswitched.tech">ReSwitched</a> team and <a href="https://www.ktemkin.com">ktemkin</a>. Also thanks to <a href="https://fusee-gelee.firebaseapp.com">atlas44</a> and <a href="https://elijahzawesome.github.io/web-cfw-loader">ElijahZAwesome</a> for their javascript code.</p>
<p>This is the old/alternate version of the site. Go <a href="https://switchcfw.karthik99999.cf">here</a> for the bootstrap design of this. (This website still functions)</p>
<p>Also, thank you for using my tool.</p>
</div>
<div id="Windows" class="tabcontent">
<p>The web launcher does NOT work in Windows. There is a really noob friendly tool now called SHAIO, so we'll be using that.</p>
<h3>How to use SHAIO</h3>
<p>Honestly, the program practically teaches itself, but I'll give instructions anyway.</p>
<p>1. Get the latest release of SHAIO <a href="https://github.com/getraid/SHAIO/releases/latest">here</a></p>
<p>2. Install it if you got the exe, or unzip the file if you got the portable zipped file.</p>
<p>3. Open SHAIO, then click "Payload Tool", and press ok on the popup (first use only).</p>
<p>4. Select "Install Drivers" in the bottom left corner. Allow the app to make changes (needs admin access), then complete the wizard.</p>
<p>5. Put your switch into RCM mode and plug it into your computer.</p>
<p>6. Click the text box at the top and select a paylod, or upload one with the "+" button, then click "Launch", and it should be done!</p>
</div>
<div id="Linux" class="tabcontent">
<p>The Web Launcher will work on Linux, however, I suggest you do this first so we don't have errors later on:</p>
<p>Make a file at <code>/etc/udev/rules.d/50-switch.rules</code> With the following contents:<br><code>SUBSYSTEM=="usb", ATTR{idVendor}=="0955", MODE="0664", GROUP="plugdev"</code></p>
</div>
<div id="macOS/ChromeOS/Android" class="tabcontent">
<p>These Operating Systems will work as is. Move on to the hacking!</p>
</div>
<div id="FuseeGelee" class="tabcontent">
<h3>Now it's time to hack your Switch!</h3>
<h4>NOTE: Again, this does NOT work in Windows. Go to the "Windows" tab above for intructions.</h4>
<h5>Also, I'm not responsible for anything that happens to your switch when you use this tool!</h5>
<h3>Steps:</h3>
<p>You must use <a href="https://www.google.com/chrome/">Chrome</a> for this to work!</p>
<p>Also make sure Chrome isn't sandboxed (one user had an issue with this).</p>
<p>1. Put your switch in RCM mode</p>
<p>2. Connect your switch to your computer</p>
<p>3. Select your payload or upload one</p>
<p>4. Click "Activate"</p>
<p>5. Select "APX" in the prompt, then "Connect", and the payload should've been sent!</p>
<div>
<form id="mainForm">
<p>
<input type="radio" name="payload" id="fusee.bin" value="fusee.bin" checked>
<label for="fusee.bin">Example payload (fusee.bin)</label>
</p>
<p>
<input type="radio" name="payload" id="labelCTCaer" value="CTCaer">
<label for="labelCTCaer">CTCaer's Hekate Mod v4.2 (All firmwares)</label>
</p>
<p>
<input type="radio" name="payload" id="labelReiNX" value="ReiNX">
<label for="labelReiNX">ReiNX (All Firmwares)</label>
</p>
<p>
<input type="radio" name="payload" id="labelSXOS" value="SXOS">
<label for="labelSXOS">SX OS (All firmwares)</label>
</p>
<p>
<input type="radio" name="payload" id="uploaded" value="uploaded">
<label for="uploaded">Upload payload:</label>
<input type="file" accept=".bin" id="payloadUpload">
</p>
</form>
<button id="goButton"; class=btnActivate>Activate</button>
</div>
<h3>Log: <button onclick=copyLog(); class=btnActivate>Copy Log</button></h3>
<textarea cols="80" rows="12" id="output" color="white"></textarea>
</div>
<div id="Homebrew" class="tabcontent">
<p>An iframe of the <a href="https://switchbru.com/appstore/#/">switchbru appstore</a>.</p>
<iframe height="720px" width="100%" src="https://switchbru.com/appstore" name="iframe_a"></iframe>
</div>
<script src="./js/fusee.bin.js"></script>
<script src="./js/CTCaer_Hekate.js"></script>
<script src="./js/SX_OS.js"></script>
<script src="./js/main.js"></script>
<script src="./js/ReiNX.js"></script>
<script>
function openTab(evt, tabName) {
var i, tabcontent, tablinks;
tabcontent = document.getElementsByClassName("tabcontent");
for (i = 0; i < tabcontent.length; i++) {
tabcontent[i].style.display = "none";
}
tablinks = document.getElementsByClassName("tablinks");
for (i = 0; i < tablinks.length; i++) {
tablinks[i].className = tablinks[i].className.replace(" active", "");
}
document.getElementById(tabName).style.display = "block";
evt.currentTarget.className += " active";
}
document.getElementById("defaultOpen").click();
function copyLog() {
var copyText = document.getElementById("output");
copyText.select();
document.execCommand("copy");
}
</script>
</body>
</html>