cleanup, fixes, added briccmii payload
parent
d7535c6c32
commit
26afce8f00
7
i18n.js
7
i18n.js
|
@ -35,6 +35,7 @@ function setPageLanguage(lang) {
|
||||||
document.getElementById("warningLinux").innerHTML = langObj.warningLinux;
|
document.getElementById("warningLinux").innerHTML = langObj.warningLinux;
|
||||||
document.getElementById("warningTested").innerHTML = langObj.warningTested;
|
document.getElementById("warningTested").innerHTML = langObj.warningTested;
|
||||||
document.getElementById("labelInstructions").innerHTML = langObj.labelInstructions;
|
document.getElementById("labelInstructions").innerHTML = langObj.labelInstructions;
|
||||||
|
if (langObj.labelAddPayload != null) document.getElementById("labelAddPayload").innerHTML = langObj.labelAddPayload;
|
||||||
document.getElementById("liRCM").innerHTML = langObj.liRCM;
|
document.getElementById("liRCM").innerHTML = langObj.liRCM;
|
||||||
document.getElementById("liSelect").innerHTML = langObj.liSelect;
|
document.getElementById("liSelect").innerHTML = langObj.liSelect;
|
||||||
document.getElementById("liPress").innerHTML = langObj.liPress;
|
document.getElementById("liPress").innerHTML = langObj.liPress;
|
||||||
|
@ -42,11 +43,9 @@ function setPageLanguage(lang) {
|
||||||
document.getElementById("liLaunch").innerHTML = langObj.liLaunch;
|
document.getElementById("liLaunch").innerHTML = langObj.liLaunch;
|
||||||
document.getElementById("h1SetupDelivery").innerHTML = langObj.h1SetupDelivery;
|
document.getElementById("h1SetupDelivery").innerHTML = langObj.h1SetupDelivery;
|
||||||
document.getElementById("h4SelectPayload").innerHTML = langObj.h4SelectPayload;
|
document.getElementById("h4SelectPayload").innerHTML = langObj.h4SelectPayload;
|
||||||
document.getElementById("optionInstantV5").innerHTML = langObj.optionInstantV5;
|
document.getElementById("optionHekate").innerHTML = langObj.optionHekate;
|
||||||
document.getElementById("optionInstantV4").innerHTML = langObj.optionInstantV4;
|
|
||||||
document.getElementById("optionHekateV5").innerHTML = langObj.optionHekateV5;
|
|
||||||
document.getElementById("optionHekateV4").innerHTML = langObj.optionHekateV4;
|
|
||||||
document.getElementById("optionFusee").innerHTML = langObj.optionFusee;
|
document.getElementById("optionFusee").innerHTML = langObj.optionFusee;
|
||||||
|
document.getElementById("optionBriccmii").innerHTML = langObj.optionBriccmii;
|
||||||
document.getElementById("optionUpload").innerHTML = langObj.optionUpload;
|
document.getElementById("optionUpload").innerHTML = langObj.optionUpload;
|
||||||
document.getElementById("h4GetByteArray").innerHTML = langObj.h4GetByteArray;
|
document.getElementById("h4GetByteArray").innerHTML = langObj.h4GetByteArray;
|
||||||
document.getElementById("goButton").innerHTML = langObj.goButton;
|
document.getElementById("goButton").innerHTML = langObj.goButton;
|
||||||
|
|
|
@ -15,10 +15,7 @@ let deDE = {
|
||||||
"liLaunch" :"Falls alles richtig läuft, sollte das Payload gesendet sein!",
|
"liLaunch" :"Falls alles richtig läuft, sollte das Payload gesendet sein!",
|
||||||
"h1SetupDelivery" :"Konfiguration des Payloadversandes",
|
"h1SetupDelivery" :"Konfiguration des Payloadversandes",
|
||||||
"h4SelectPayload" :"Wähle ein Payload:",
|
"h4SelectPayload" :"Wähle ein Payload:",
|
||||||
"optionInstantV5" :"Boote die CFW direkt (5.0.x)",
|
"optionHekate" :"CTCaer's Hekate Mod v3.2",
|
||||||
"optionInstantV4" :"Boote die CFW direkt (4.0.x)",
|
|
||||||
"optionHekateV5" :"Hekate für 5.0.x Switches",
|
|
||||||
"optionHekateV4" :"Hekate für 4.0.x Switches",
|
|
||||||
"optionFusee" :"(Re)Switched Test Payload (fusee)",
|
"optionFusee" :"(Re)Switched Test Payload (fusee)",
|
||||||
"optionUpload" :"Eigenes Payload hochladen",
|
"optionUpload" :"Eigenes Payload hochladen",
|
||||||
"h4GetByteArray" :"Erhalte das Payload Byte-Array (nicht senden)",
|
"h4GetByteArray" :"Erhalte das Payload Byte-Array (nicht senden)",
|
||||||
|
|
|
@ -13,12 +13,10 @@ let enUS = {
|
||||||
"liPress" :"Press 'Deliver Payload!'",
|
"liPress" :"Press 'Deliver Payload!'",
|
||||||
"liAPX" :"On the consent screen that appears, select 'APX' and hit 'Connect'.",
|
"liAPX" :"On the consent screen that appears, select 'APX' and hit 'Connect'.",
|
||||||
"liLaunch" :"If all goes well, the payload will launch!",
|
"liLaunch" :"If all goes well, the payload will launch!",
|
||||||
|
"labelAddPayload":"If you would like to add another payload to this project, use <a href='https://gist.github.com/lorek123/561e4f7b5f61618029cc70672e3d7308'>this converter</a> and do PR",
|
||||||
"h1SetupDelivery" :"Setup Payload Delivery",
|
"h1SetupDelivery" :"Setup Payload Delivery",
|
||||||
"h4SelectPayload" :"Select Payload:",
|
"h4SelectPayload" :"Select Payload:",
|
||||||
"optionInstantV5" :"Instantly boot CFW (5.0.x)",
|
"optionHekate" :"CTCaer's Hekate Mod v3.2",
|
||||||
"optionInstantV4" :"Instantly boot CFW (4.0.x)",
|
|
||||||
"optionHekateV5" :"Hekate for 5.0.x Switches",
|
|
||||||
"optionHekateV4" :"Hekate for 4.0.x Switches",
|
|
||||||
"optionFusee" :"(Re)Switched test payload (fusee)",
|
"optionFusee" :"(Re)Switched test payload (fusee)",
|
||||||
"optionUpload" :"Upload Payload",
|
"optionUpload" :"Upload Payload",
|
||||||
"h4GetByteArray" :"Get payload byte array (don't sploit)",
|
"h4GetByteArray" :"Get payload byte array (don't sploit)",
|
||||||
|
|
|
@ -15,10 +15,7 @@ let esMX = {
|
||||||
"liLaunch" :"Si todo va bien, el payload arrancará!",
|
"liLaunch" :"Si todo va bien, el payload arrancará!",
|
||||||
"h1SetupDelivery" :"Configurar Payload a Enviar",
|
"h1SetupDelivery" :"Configurar Payload a Enviar",
|
||||||
"h4SelectPayload" :"Seleccionar Payload:",
|
"h4SelectPayload" :"Seleccionar Payload:",
|
||||||
"optionInstantV5" :"Arrancar CFW instantáneamente (5.0.x)",
|
"optionHekate" :"CTCaer's Hekate Mod v3.2",
|
||||||
"optionInstantV4" :"Arrancar CFW instantáneamente (4.0.x)",
|
|
||||||
"optionHekateV5" :"Hekate para Switch 5.0.x",
|
|
||||||
"optionHekateV4" :"Hekate para Switch 4.0.x",
|
|
||||||
"optionFusee" :"Payload de prueba de (Re)Switched (fusee)",
|
"optionFusee" :"Payload de prueba de (Re)Switched (fusee)",
|
||||||
"optionUpload" :"Subir Payload",
|
"optionUpload" :"Subir Payload",
|
||||||
"h4GetByteArray" :"Obtener matriz de bytes del payload (sin exploit)",
|
"h4GetByteArray" :"Obtener matriz de bytes del payload (sin exploit)",
|
||||||
|
|
|
@ -15,10 +15,7 @@ let frFR = {
|
||||||
"liLaunch" :"Si tout est bon le Payload va démarrer!",
|
"liLaunch" :"Si tout est bon le Payload va démarrer!",
|
||||||
"h1SetupDelivery" :"Configuration envoi Payloads",
|
"h1SetupDelivery" :"Configuration envoi Payloads",
|
||||||
"h4SelectPayload" :"Selectionner Payload:",
|
"h4SelectPayload" :"Selectionner Payload:",
|
||||||
"optionInstantV5" :"Demarrage instantanée CFW (5.0.x)",
|
"optionHekate" :"CTCaer's Hekate Mod v3.2",
|
||||||
"optionInstantV4" :"Demarrage instantanée CFW (4.0.x)",
|
|
||||||
"optionHekateV5" :"Hekate pour 5.0.x Switches",
|
|
||||||
"optionHekateV4" :"Hekate pour 4.0.x Switches",
|
|
||||||
"optionFusee" :"(Re)Switched test payload (fusee)",
|
"optionFusee" :"(Re)Switched test payload (fusee)",
|
||||||
"optionUpload" :"Upload Payload",
|
"optionUpload" :"Upload Payload",
|
||||||
"h4GetByteArray" :"Get payload byte array (don't sploit)",
|
"h4GetByteArray" :"Get payload byte array (don't sploit)",
|
||||||
|
|
|
@ -15,10 +15,7 @@ let itIT = {
|
||||||
"liLaunch" :"Se tutto funziona il payload si avvierà!",
|
"liLaunch" :"Se tutto funziona il payload si avvierà!",
|
||||||
"h1SetupDelivery" :"Setup Payload Delivery",
|
"h1SetupDelivery" :"Setup Payload Delivery",
|
||||||
"h4SelectPayload" :"Select Payload:",
|
"h4SelectPayload" :"Select Payload:",
|
||||||
"optionInstantV5" :"Avvia istantaneamente CFW (5.0.x)",
|
"optionHekate" :"CTCaer's Hekate Mod v3.2",
|
||||||
"optionInstantV4" :"Avvia istantaneamente CFW (4.0.x)",
|
|
||||||
"optionHekateV5" :"Hekate per Switch su 5.0.X",
|
|
||||||
"optionHekateV4" :"Hekate per Switch su 4.0.X",
|
|
||||||
"optionFusee" :"(Re)Switched payload di test (fusee)",
|
"optionFusee" :"(Re)Switched payload di test (fusee)",
|
||||||
"optionUpload" :"Carica payload",
|
"optionUpload" :"Carica payload",
|
||||||
"h4GetByteArray" :"Ottieni byte array del payload (no exploit)",
|
"h4GetByteArray" :"Ottieni byte array del payload (no exploit)",
|
||||||
|
|
|
@ -6,21 +6,20 @@ let plPL = {
|
||||||
"dangerDanger" :"Aplikacja została w miarę przetestowana. Nikt nie zgłosił żadnych błędów, ale nie jestem odpowiedzialny za cokolwiek, jeżeli coś pójdzie nie tak!",
|
"dangerDanger" :"Aplikacja została w miarę przetestowana. Nikt nie zgłosił żadnych błędów, ale nie jestem odpowiedzialny za cokolwiek, jeżeli coś pójdzie nie tak!",
|
||||||
"warningWindows" :"Aplikacja nie działa na Windowsie, ze względu na ograniczenia w implementacji WebUSB w Chrome (pewnie z innych powodów też!)",
|
"warningWindows" :"Aplikacja nie działa na Windowsie, ze względu na ograniczenia w implementacji WebUSB w Chrome (pewnie z innych powodów też!)",
|
||||||
"warningBrowser" :"Aplikacja działa tylko w Chrome, ponieważ inne przeglądarki nie implementują WebUSB.",
|
"warningBrowser" :"Aplikacja działa tylko w Chrome, ponieważ inne przeglądarki nie implementują WebUSB.",
|
||||||
"warningLinux" :"Na Linuksie, możesz dostać błąd 'Access Denied' lub 'No Compatible Device' po kliknięciu Połącz! W takiej sytuacji stwórz plik <code>/etc/udev/rules.d/50-switch.rules</code> z zawartością<br><code>SUBSYSTEM==\"usb\", ATTR{idVendor}==\"0955\", MODE=\"0664\", GROUP=\"plugdev\"</code>",
|
"warningLinux" :"Na Linuksie, możesz dostać błąd 'Access Denied' lub 'No Compatible Device' po kliknięciu Połącz! W takiej sytuacji stwórz plik <code>/etc/udev/rules.d/50-switch.rules</code> z zawartością<br><code>SUBSYSTEM==\"usb\", ATTR{idVendor}==\"0955\", MODE=\"0664\", GROUP=\"plugdev\"</code>.",
|
||||||
"warningTested" :"Aplikacja została przetestowana na Linuksie, OSX, Androidzie (bez roota) i Chromebookach. Ale u Ciebie nie musi",
|
"warningTested" :"Aplikacja została przetestowana na Linuksie, OSX, Androidzie (bez roota) i Chromebookach. Ale u Ciebie nie musi działać.",
|
||||||
"labelInstructions" :"Instrukcja",
|
"labelInstructions" :"Instrukcja",
|
||||||
"liRCM" :"Przełącz Switcha w tryb RCM i podłącz do swojego urządzenia",
|
"liRCM" :"Przełącz Switcha w tryb RCM i podłącz do swojego urządzenia",
|
||||||
"liSelect" :"Wybierz gotowy payload, lub załaduj własny",
|
"liSelect" :"Wybierz gotowy payload, lub załaduj własny",
|
||||||
"liPress" :"Wybierz 'Dostarcz Payload!'",
|
"liPress" :"Wybierz 'Dostarcz Payload!'",
|
||||||
"liAPX" :"Następnie wybierz 'APX' i 'Połącz'.",
|
"liAPX" :"Następnie wybierz 'APX' i 'Połącz'.",
|
||||||
"liLaunch" :"Jeżeli się udało, to payload zostanie uruchomiony!",
|
"liLaunch" :"Jeżeli się udało, to payload zostanie uruchomiony!",
|
||||||
|
"labelAddPayload" :'Jeżeli chciałbyś dodać swój payload do projektu to możesz skorzystać z <a href="https://gist.github.com/lorek123/561e4f7b5f61618029cc70672e3d7308">tego konwertera</a> i wysłać PR.',
|
||||||
"h1SetupDelivery" :"Wybierz konfigurację payloadu",
|
"h1SetupDelivery" :"Wybierz konfigurację payloadu",
|
||||||
"h4SelectPayload" :"Wybierz Payload",
|
"h4SelectPayload" :"Wybierz Payload",
|
||||||
"optionInstantV5" :"Uruchom CFW (5.0.x)",
|
"optionHekate" :"CTCaer's Hekate Mod v3.2",
|
||||||
"optionInstantV4" :"Uruchom CFW (4.0.x)",
|
|
||||||
"optionHekateV5" :"Hekate dla 5.0.x Switchy",
|
|
||||||
"optionHekateV4" :"Hekate dla 4.0.x Switchy",
|
|
||||||
"optionFusee" :"(Re)Switched testowy payload (fusee)",
|
"optionFusee" :"(Re)Switched testowy payload (fusee)",
|
||||||
|
"optionBriccmii" :"briccmii",
|
||||||
"optionUpload" :"Załaduj payload",
|
"optionUpload" :"Załaduj payload",
|
||||||
"h4GetByteArray" :"Uzyskaj ciąg bajtów payloadu (nie uruchamiaj)",
|
"h4GetByteArray" :"Uzyskaj ciąg bajtów payloadu (nie uruchamiaj)",
|
||||||
"goButton" :"Dostarcz payload",
|
"goButton" :"Dostarcz payload",
|
||||||
|
@ -28,5 +27,5 @@ let plPL = {
|
||||||
"disclaimer1" :'Źródła możesz znaleźć na <a href="https://github.com/ElijahZAwesome/web-cfw-loader/">GitHub</a> (Albo przeglądając źródła strony, Aplikacja nie wykorzystuje backendu!).',
|
"disclaimer1" :'Źródła możesz znaleźć na <a href="https://github.com/ElijahZAwesome/web-cfw-loader/">GitHub</a> (Albo przeglądając źródła strony, Aplikacja nie wykorzystuje backendu!).',
|
||||||
"disclaimer2" :'Przeportowano <a href="https://github.com/reswitched/fusee-launcher">fusee-launcher</a>.',
|
"disclaimer2" :'Przeportowano <a href="https://github.com/reswitched/fusee-launcher">fusee-launcher</a>.',
|
||||||
"disclaimer3" :'Podziękowania należą się ktemkin i ReSwitched, oraz <br><a href="https://atlas44.s3-us-west-2.amazonaws.com/web-fusee-launcher/index.html">Atlas44 i jego stronie</a> jako punkt startu dla tej aplikacji',
|
"disclaimer3" :'Podziękowania należą się ktemkin i ReSwitched, oraz <br><a href="https://atlas44.s3-us-west-2.amazonaws.com/web-fusee-launcher/index.html">Atlas44 i jego stronie</a> jako punkt startu dla tej aplikacji',
|
||||||
"disclaimer4" :'Na końću, podziękowania należą się <a href="https://github.com/falquinho">falquinho</a> Dla nowego układu strony w bootstrapie i portugalskiego tłumaczenia, <a href="https://github.com/Filo97">Filo97</a> za włoskie tłumaczenie, <a href="https://github.com/tumGER">tumGER</a> za niemieckie tłumaczenie i dla <a href="https://github.com/lordfriky">Lord_Friky</a> za hiszpańskie tłumaczenie.'
|
"disclaimer4" :'Na końcu, podziękowania należą się <a href="https://github.com/falquinho">falquinho</a> Dla nowego układu strony w bootstrapie i portugalskiego tłumaczenia, <a href="https://github.com/Filo97">Filo97</a> za włoskie tłumaczenie, <a href="https://github.com/tumGER">tumGER</a> za niemieckie tłumaczenie i dla <a href="https://github.com/lordfriky">Lord_Friky</a> za hiszpańskie tłumaczenie.'
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,10 +15,7 @@ let ptBR = {
|
||||||
"liLaunch" :"Se tudo der certo, o payload executará!",
|
"liLaunch" :"Se tudo der certo, o payload executará!",
|
||||||
"h1SetupDelivery" :"Configurar Entrega de Payload",
|
"h1SetupDelivery" :"Configurar Entrega de Payload",
|
||||||
"h4SelectPayload" :"Payload:",
|
"h4SelectPayload" :"Payload:",
|
||||||
"optionInstantV5" :"Inicialização Instantânea CFW (5.0.x)",
|
"optionHekate" :"CTCaer's Hekate Mod v3.2",
|
||||||
"optionInstantV4" :"Inicialização Instantânea CFW (4.0.x)",
|
|
||||||
"optionHekateV5" :"Hekate para Switch ver. 5.0.X",
|
|
||||||
"optionHekateV4" :"Hekate para Switch ver. 4.0.X",
|
|
||||||
"optionFusee" :"Payload de teste (Re)Switched (fusee)",
|
"optionFusee" :"Payload de teste (Re)Switched (fusee)",
|
||||||
"optionUpload" :"Carregar Payload",
|
"optionUpload" :"Carregar Payload",
|
||||||
"h4GetByteArray" :"Recuperar array de bytes do payload (favor não exploitar)",
|
"h4GetByteArray" :"Recuperar array de bytes do payload (favor não exploitar)",
|
||||||
|
|
15
index.html
15
index.html
|
@ -87,7 +87,9 @@
|
||||||
<li id="liLaunch">If all goes well, the payload will launch!</li>
|
<li id="liLaunch">If all goes well, the payload will launch!</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="alert alert-info" role="alert">
|
||||||
|
<p id="labelAddPayload">If you would like to add another payload to this project, use <a href="https://gist.github.com/lorek123/561e4f7b5f61618029cc70672e3d7308">this converter</a> and do PR</p>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -102,11 +104,12 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-xs-6">
|
<div class="col-xs-6">
|
||||||
<select class="pull-right" id="payloadSelect" onchange="onSelectChange()">
|
<select class="pull-right" id="payloadSelect" onchange="onSelectChange()">
|
||||||
<option value="CTCaer_Hekate" id="optionHekateV4" >CTCaer's Hekate Mod v3.0 (All Firmwares)</option>
|
<option value="CTCaer_Hekate" id="optionHekate" >CTCaer's Hekate Mod v3.2 (All Firmwares)</option>
|
||||||
<option value="fusee" id="optionFusee" >(Re)Switched test payload (fusee)</option>
|
<option value="fusee" id="optionFusee" >(Re)Switched test payload (fusee)</option>
|
||||||
<option value="sx os" id="optionSXOS" >SX OS (All Firmwares)</option>
|
<option value="sx os" id="optionSXOS" >SX OS (All Firmwares)</option>
|
||||||
<option value="uploaded" id="optionUpload" >Upload payload</option>
|
<option value="briccmii" id="optionBriccmii" >briccmii</option>
|
||||||
|
<option value="uploaded" id="optionUpload" >Upload payload</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
11
main.js
11
main.js
|
@ -154,7 +154,10 @@ document.getElementById("goButton").addEventListener("click", async () => {
|
||||||
|
|
||||||
} else if (payloadType === "sx os") {
|
} else if (payloadType === "sx os") {
|
||||||
payload = sx;
|
payload = sx;
|
||||||
} else if (payloadType === "uploaded") {
|
} else if (payloadType === "briccmii") {
|
||||||
|
payload = briccmii;
|
||||||
|
}
|
||||||
|
else if (payloadType === "uploaded") {
|
||||||
const file = document.getElementById("payloadUpload").files[0];
|
const file = document.getElementById("payloadUpload").files[0];
|
||||||
if (!file) {
|
if (!file) {
|
||||||
alert("You need to upload a file, to use an uploaded file.");
|
alert("You need to upload a file, to use an uploaded file.");
|
||||||
|
@ -208,3 +211,9 @@ function openInstructions() {
|
||||||
document.getElementById("infodiv").innerHTML = "";
|
document.getElementById("infodiv").innerHTML = "";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function openConverter() {
|
||||||
|
if(document.getElementById("labelAddPayload").innerHTML != "") {
|
||||||
|
document.getElementById("labelAddPayload").innerHTML = "";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue