Update main.js

This commit is contained in:
Elijah Bansley 2018-05-17 13:05:21 -05:00 committed by GitHub
parent cd6272a628
commit 31affb9888
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -123,6 +123,10 @@ document.getElementById("goButton").addEventListener("click", async () => {
} else {
logOutput("You're trying to load a payload type that doesn't exist.");
return;
}
var payloadToLog = "";
for (var i = 0; i < payload.length; i++) {
payloadToLog += "0x" + payload[i].toString(16) + ", ".toUpperCase();
}
payloadToLog = payLoadToLog.toUpperCase();
logOutput(payloadToLog);