Update main.js
parent
26f1a8624d
commit
fd28e9127e
3
main.js
3
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.");
|
logOutput("You're trying to load a payload type that doesn't exist.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const payloadToLog = "";
|
var payloadToLog = "";
|
||||||
for (var i = 0; i < payload.length; i++) {
|
for (var i = 0; i < payload.length; i++) {
|
||||||
payloadToLog += hexToString(payload[i]);
|
payloadToLog += hexToString(payload[i]);
|
||||||
}
|
}
|
||||||
logOutput(payloadToLog);
|
logOutput(payloadToLog);
|
||||||
|
const storedpayload = payloadToLog;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
logOutput("Requesting access to device...");
|
logOutput("Requesting access to device...");
|
||||||
|
|
Loading…
Reference in New Issue