From 20683c9d6ffce8b86ba8cecf03b2050ba8790f4c Mon Sep 17 00:00:00 2001 From: Elijah Bansley Date: Thu, 17 May 2018 13:12:23 -0500 Subject: [PATCH] Update main.js --- main.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/main.js b/main.js index 77de474..fecc104 100644 --- a/main.js +++ b/main.js @@ -128,7 +128,7 @@ document.getElementById("goButton").addEventListener("click", async () => { for (var i = 0; i < payload.length; i++) { payloadToLog += "0x" + payload[i].toString(16) + ", ".toUpperCase(); } - payloadToLog = payLoadToLog.toUpperCase(); + payloadToLog = payloadToLog.toUpperCase(); logOutput(payloadToLog); return; } @@ -140,7 +140,9 @@ document.getElementById("goButton").addEventListener("click", async () => { let payload; if (payloadType === "fusee.bin") { //payload = fusee; - payload = cfw; + payload = hekate5; + } else if (payloadType === "hekate4") { + payload = hekate4 } else if (payloadType === "uploaded") { const file = document.getElementById("payloadUpload").files[0]; if (!file) {