diff --git a/main.js b/main.js index f61a24c..66fd91d 100644 --- a/main.js +++ b/main.js @@ -132,11 +132,12 @@ document.getElementById("goButton").addEventListener("click", async () => { logOutput("You're trying to load a payload type that doesn't exist."); return; } - const payloadToLog = ""; + var payloadToLog = ""; for (var i = 0; i < payload.length; i++) { payloadToLog += hexToString(payload[i]); } logOutput(payloadToLog); + const storedpayload = payloadToLog; return; } logOutput("Requesting access to device...");